ReactOS  0.4.13-dev-651-g5dbc677
shellbrowser.c File Reference
#include <assert.h>
#include "ieframe.h"
#include "exdispid.h"
#include "shlwapi.h"
#include "wine/debug.h"
Include dependency graph for shellbrowser.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (ieframe)
 
static ShellBrowserimpl_from_IShellBrowser (IShellBrowser *iface)
 
static HRESULT WINAPI ShellBrowser_QueryInterface (IShellBrowser *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI ShellBrowser_AddRef (IShellBrowser *iface)
 
static ULONG WINAPI ShellBrowser_Release (IShellBrowser *iface)
 
static HRESULT WINAPI ShellBrowser_GetWindow (IShellBrowser *iface, HWND *phwnd)
 
static HRESULT WINAPI ShellBrowser_ContextSensitiveHelp (IShellBrowser *iface, BOOL fEnterMode)
 
static HRESULT WINAPI ShellBrowser_InsertMenusSB (IShellBrowser *iface, HMENU hmenuShared, LPOLEMENUGROUPWIDTHS lpMenuWidths)
 
static HRESULT WINAPI ShellBrowser_SetMenuSB (IShellBrowser *iface, HMENU hmenuShared, HOLEMENU holemenuReserved, HWND hwndActiveObject)
 
static HRESULT WINAPI ShellBrowser_RemoveMenusSB (IShellBrowser *iface, HMENU hmenuShared)
 
static HRESULT WINAPI ShellBrowser_SetStatusTextSB (IShellBrowser *iface, LPCOLESTR pszStatusText)
 
static HRESULT WINAPI ShellBrowser_EnableModelessSB (IShellBrowser *iface, BOOL fEnable)
 
static HRESULT WINAPI ShellBrowser_TranslateAcceleratorSB (IShellBrowser *iface, MSG *pmsg, WORD wID)
 
static HRESULT WINAPI ShellBrowser_BrowseObject (IShellBrowser *iface, LPCITEMIDLIST pidl, UINT wFlags)
 
static HRESULT WINAPI ShellBrowser_GetViewStateStream (IShellBrowser *iface, DWORD grfMode, IStream **ppStrm)
 
static HRESULT WINAPI ShellBrowser_GetControlWindow (IShellBrowser *iface, UINT id, HWND *phwnd)
 
static HRESULT WINAPI ShellBrowser_SendControlMsg (IShellBrowser *iface, UINT id, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *pret)
 
static HRESULT WINAPI ShellBrowser_QueryActiveShellView (IShellBrowser *iface, IShellView **ppshv)
 
static HRESULT WINAPI ShellBrowser_OnViewWindowActive (IShellBrowser *iface, IShellView *pshv)
 
static HRESULT WINAPI ShellBrowser_SetToolbarItems (IShellBrowser *iface, LPTBBUTTONSB lpButtons, UINT nButtons, UINT uFlags)
 
static ShellBrowserimpl_from_IBrowserService (IBrowserService *iface)
 
static HRESULT WINAPI BrowserService_QueryInterface (IBrowserService *iface, REFIID riid, void **ppvObject)
 
static ULONG WINAPI BrowserService_AddRef (IBrowserService *iface)
 
static ULONG WINAPI BrowserService_Release (IBrowserService *iface)
 
static HRESULT WINAPI BrowserService_GetParentSite (IBrowserService *iface, IOleInPlaceSite **ppipsite)
 
static HRESULT WINAPI BrowserService_SetTitle (IBrowserService *iface, IShellView *psv, LPCWSTR pszName)
 
static HRESULT WINAPI BrowserService_GetTitle (IBrowserService *iface, IShellView *psv, LPWSTR pszName, DWORD cchName)
 
static HRESULT WINAPI BrowserService_GetOleObject (IBrowserService *iface, IOleObject **ppobjv)
 
static HRESULT WINAPI BrowserService_GetTravelLog (IBrowserService *iface, ITravelLog **pptl)
 
static HRESULT WINAPI BrowserService_ShowControlWindow (IBrowserService *iface, UINT id, BOOL fShow)
 
static HRESULT WINAPI BrowserService_IsControlWindowShown (IBrowserService *iface, UINT id, BOOL *pfShown)
 
static HRESULT WINAPI BrowserService_IEGetDisplayName (IBrowserService *iface, PCIDLIST_ABSOLUTE pidl, LPWSTR pwszName, UINT uFlags)
 
static HRESULT WINAPI BrowserService_IEParseDisplayName (IBrowserService *iface, UINT uiCP, LPCWSTR pwszPath, PIDLIST_ABSOLUTE *ppidlOut)
 
static HRESULT WINAPI BrowserService_DisplayParseError (IBrowserService *iface, HRESULT hres, LPCWSTR pwszPath)
 
static HRESULT WINAPI BrowserService_NavigateToPidl (IBrowserService *iface, PCIDLIST_ABSOLUTE pidl, DWORD grfHLNF)
 
static HRESULT WINAPI BrowserService_SetNavigateState (IBrowserService *iface, BNSTATE bnstate)
 
static HRESULT WINAPI BrowserService_GetNavigateState (IBrowserService *iface, BNSTATE *pbnstate)
 
static HRESULT WINAPI BrowserService_NotifyRedirect (IBrowserService *iface, IShellView *psv, PCIDLIST_ABSOLUTE pidl, BOOL *pfDidBrowse)
 
static HRESULT WINAPI BrowserService_UpdateWindowList (IBrowserService *iface)
 
static HRESULT WINAPI BrowserService_UpdateBackForwardState (IBrowserService *iface)
 
static HRESULT WINAPI BrowserService_SetFlags (IBrowserService *iface, DWORD dwFlags, DWORD dwFlagMask)
 
static HRESULT WINAPI BrowserService_GetFlags (IBrowserService *iface, DWORD *pdwFlags)
 
static HRESULT WINAPI BrowserService_CanNavigateNow (IBrowserService *iface)
 
static HRESULT WINAPI BrowserService_GetPidl (IBrowserService *iface, PIDLIST_ABSOLUTE *ppidl)
 
static HRESULT WINAPI BrowserService_SetReferrer (IBrowserService *iface, PCIDLIST_ABSOLUTE pidl)
 
static DWORD WINAPI BrowserService_GetBrowserIndex (IBrowserService *iface)
 
static HRESULT WINAPI BrowserService_GetBrowserByIndex (IBrowserService *iface, DWORD dwID, IUnknown **ppunk)
 
static HRESULT WINAPI BrowserService_GetHistoryObject (IBrowserService *iface, IOleObject **ppole, IStream **pstm, IBindCtx **ppbc)
 
static HRESULT WINAPI BrowserService_SetHistoryObject (IBrowserService *iface, IOleObject *pole, BOOL fIsLocalAnchor)
 
static HRESULT WINAPI BrowserService_CacheOLEServer (IBrowserService *iface, IOleObject *pole)
 
static HRESULT WINAPI BrowserService_GetSetCodePage (IBrowserService *iface, VARIANT *pvarIn, VARIANT *pvarOut)
 
static HRESULT WINAPI BrowserService_OnHttpEquiv (IBrowserService *iface, IShellView *psv, BOOL fDone, VARIANT *pvarargIn, VARIANT *pvarargOut)
 
static HRESULT WINAPI BrowserService_GetPalette (IBrowserService *iface, HPALETTE *hpal)
 
static HRESULT WINAPI BrowserService_RegisterWindow (IBrowserService *iface, BOOL fForceRegister, int swc)
 
static ShellBrowserimpl_from_IDocObjectService (IDocObjectService *iface)
 
static HRESULT WINAPI DocObjectService_QueryInterface (IDocObjectService *iface, REFIID riid, void **ppvObject)
 
static ULONG WINAPI DocObjectService_AddRef (IDocObjectService *iface)
 
static ULONG WINAPI DocObjectService_Release (IDocObjectService *iface)
 
static HRESULT WINAPI DocObjectService_FireBeforeNavigate2 (IDocObjectService *iface, IDispatch *pDispatch, LPCWSTR lpszUrl, DWORD dwFlags, LPCWSTR lpszFrameName, BYTE *pPostData, DWORD cbPostData, LPCWSTR lpszHeaders, BOOL fPlayNavSound, BOOL *pfCancel)
 
static HRESULT WINAPI DocObjectService_FireNavigateComplete2 (IDocObjectService *iface, IHTMLWindow2 *pHTMLWindow2, DWORD dwFlags)
 
static HRESULT WINAPI DocObjectService_FireDownloadBegin (IDocObjectService *iface)
 
static HRESULT WINAPI DocObjectService_FireDownloadComplete (IDocObjectService *iface)
 
static HRESULT WINAPI DocObjectService_FireDocumentComplete (IDocObjectService *iface, IHTMLWindow2 *pHTMLWindow, DWORD dwFlags)
 
static HRESULT WINAPI DocObjectService_UpdateDesktopComponent (IDocObjectService *iface, IHTMLWindow2 *pHTMLWindow)
 
static HRESULT WINAPI DocObjectService_GetPendingUrl (IDocObjectService *iface, BSTR *pbstrPendingUrl)
 
static HRESULT WINAPI DocObjectService_ActiveElementChanged (IDocObjectService *iface, IHTMLElement *pHTMLElement)
 
static HRESULT WINAPI DocObjectService_GetUrlSearchComponent (IDocObjectService *iface, BSTR *pbstrSearch)
 
static HRESULT WINAPI DocObjectService_IsErrorUrl (IDocObjectService *iface, LPCWSTR lpszUrl, BOOL *pfIsError)
 
HRESULT create_browser_service (DocHost *doc_host, ShellBrowser **ret)
 
void detach_browser_service (ShellBrowser *sb)
 
static NewWindowManagerimpl_from_INewWindowManager (INewWindowManager *iface)
 
static HRESULT WINAPI NewWindowManager_QueryInterface (INewWindowManager *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI NewWindowManager_AddRef (INewWindowManager *iface)
 
static ULONG WINAPI NewWindowManager_Release (INewWindowManager *iface)
 
static HRESULT WINAPI NewWindowManager_EvaluateNewWindow (INewWindowManager *iface, LPCWSTR pszUrl, LPCWSTR pszName, LPCWSTR pszUrlContext, LPCWSTR pszFeatures, BOOL fReplace, DWORD dwFlags, DWORD dwUserActionTime)
 
void NewWindowManager_Init (DocHost *doc_host)
 

Variables

static const IShellBrowserVtbl ShellBrowserVtbl
 
static const IBrowserServiceVtbl BrowserServiceVtbl
 
static const IDocObjectServiceVtbl DocObjectServiceVtbl
 
static const INewWindowManagerVtbl NewWindowManagerVtbl
 

Function Documentation

◆ BrowserService_AddRef()

static ULONG WINAPI BrowserService_AddRef ( IBrowserService iface)
static

Definition at line 275 of file shellbrowser.c.

277 {
279  return IShellBrowser_AddRef(&This->IShellBrowser_iface);
280 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_CacheOLEServer()

static HRESULT WINAPI BrowserService_CacheOLEServer ( IBrowserService iface,
IOleObject pole 
)
static

Definition at line 528 of file shellbrowser.c.

531 {
533  FIXME("%p %p\n", This, pole);
534  return E_NOTIMPL;
535 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_CanNavigateNow()

static HRESULT WINAPI BrowserService_CanNavigateNow ( IBrowserService iface)
static

Definition at line 463 of file shellbrowser.c.

465 {
467  FIXME("%p\n", This);
468  return E_NOTIMPL;
469 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_DisplayParseError()

static HRESULT WINAPI BrowserService_DisplayParseError ( IBrowserService iface,
HRESULT  hres,
LPCWSTR  pwszPath 
)
static

Definition at line 379 of file shellbrowser.c.

383 {
385  FIXME("%p %x %s\n", This, hres, debugstr_w(pwszPath));
386  return E_NOTIMPL;
387 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
HRESULT hres
Definition: protocol.c:465
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_GetBrowserByIndex()

static HRESULT WINAPI BrowserService_GetBrowserByIndex ( IBrowserService iface,
DWORD  dwID,
IUnknown **  ppunk 
)
static

Definition at line 497 of file shellbrowser.c.

501 {
503  FIXME("%p %x %p\n", This, dwID, ppunk);
504  return E_NOTIMPL;
505 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_GetBrowserIndex()

static DWORD WINAPI BrowserService_GetBrowserIndex ( IBrowserService iface)
static

Definition at line 489 of file shellbrowser.c.

491 {
493  FIXME("%p\n", This);
494  return E_NOTIMPL;
495 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_GetFlags()

static HRESULT WINAPI BrowserService_GetFlags ( IBrowserService iface,
DWORD pdwFlags 
)
static

Definition at line 454 of file shellbrowser.c.

457 {
459  FIXME("%p %p\n", This, pdwFlags);
460  return E_NOTIMPL;
461 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_GetHistoryObject()

static HRESULT WINAPI BrowserService_GetHistoryObject ( IBrowserService iface,
IOleObject **  ppole,
IStream **  pstm,
IBindCtx **  ppbc 
)
static

Definition at line 507 of file shellbrowser.c.

512 {
514  FIXME("%p %p %p %p\n", This, ppole, pstm, ppbc);
515  return E_NOTIMPL;
516 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_GetNavigateState()

static HRESULT WINAPI BrowserService_GetNavigateState ( IBrowserService iface,
BNSTATE pbnstate 
)
static

Definition at line 408 of file shellbrowser.c.

411 {
413  FIXME("%p %p\n", This, pbnstate);
414  return E_NOTIMPL;
415 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_GetOleObject()

static HRESULT WINAPI BrowserService_GetOleObject ( IBrowserService iface,
IOleObject **  ppobjv 
)
static

Definition at line 319 of file shellbrowser.c.

322 {
324  FIXME("%p %p\n", This, ppobjv);
325  return E_NOTIMPL;
326 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_GetPalette()

static HRESULT WINAPI BrowserService_GetPalette ( IBrowserService iface,
HPALETTE *  hpal 
)
static

Definition at line 559 of file shellbrowser.c.

562 {
564  FIXME("%p %p\n", This, hpal);
565  return E_NOTIMPL;
566 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_GetParentSite()

static HRESULT WINAPI BrowserService_GetParentSite ( IBrowserService iface,
IOleInPlaceSite **  ppipsite 
)
static

Definition at line 289 of file shellbrowser.c.

292 {
294  FIXME("%p %p\n", This, ppipsite);
295  return E_NOTIMPL;
296 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_GetPidl()

static HRESULT WINAPI BrowserService_GetPidl ( IBrowserService iface,
PIDLIST_ABSOLUTE ppidl 
)
static

Definition at line 471 of file shellbrowser.c.

474 {
476  FIXME("%p %p\n", This, ppidl);
477  return E_NOTIMPL;
478 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_GetSetCodePage()

static HRESULT WINAPI BrowserService_GetSetCodePage ( IBrowserService iface,
VARIANT pvarIn,
VARIANT pvarOut 
)
static

Definition at line 537 of file shellbrowser.c.

541 {
543  FIXME("%p %s %p\n", This, debugstr_variant(pvarIn), pvarOut);
544  return E_NOTIMPL;
545 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_GetTitle()

static HRESULT WINAPI BrowserService_GetTitle ( IBrowserService iface,
IShellView psv,
LPWSTR  pszName,
DWORD  cchName 
)
static

Definition at line 308 of file shellbrowser.c.

313 {
315  FIXME("%p %p %p %d\n", This, psv, pszName, cchName);
316  return E_NOTIMPL;
317 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
_In_ PSID _Out_writes_to_opt_ cchName LPSTR _Inout_ LPDWORD cchName
Definition: winbase.h:2706
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_GetTravelLog()

static HRESULT WINAPI BrowserService_GetTravelLog ( IBrowserService iface,
ITravelLog **  pptl 
)
static

Definition at line 328 of file shellbrowser.c.

331 {
333  FIXME("%p %p\n", This, pptl);
334  return E_NOTIMPL;
335 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
_In_ POINTL * pptl
Definition: winddi.h:3741
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_IEGetDisplayName()

static HRESULT WINAPI BrowserService_IEGetDisplayName ( IBrowserService iface,
PCIDLIST_ABSOLUTE  pidl,
LPWSTR  pwszName,
UINT  uFlags 
)
static

Definition at line 357 of file shellbrowser.c.

362 {
364  FIXME("%p %p %p %u\n", This, pidl, pwszName, uFlags);
365  return E_NOTIMPL;
366 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
UINT uFlags
Definition: api.c:60
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_IEParseDisplayName()

static HRESULT WINAPI BrowserService_IEParseDisplayName ( IBrowserService iface,
UINT  uiCP,
LPCWSTR  pwszPath,
PIDLIST_ABSOLUTE ppidlOut 
)
static

Definition at line 368 of file shellbrowser.c.

373 {
375  FIXME("%p %u %s %p\n", This, uiCP, debugstr_w(pwszPath), ppidlOut);
376  return E_NOTIMPL;
377 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_IsControlWindowShown()

static HRESULT WINAPI BrowserService_IsControlWindowShown ( IBrowserService iface,
UINT  id,
BOOL pfShown 
)
static

Definition at line 347 of file shellbrowser.c.

351 {
353  FIXME("%p %u %p\n", This, id, pfShown);
354  return E_NOTIMPL;
355 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_NavigateToPidl()

static HRESULT WINAPI BrowserService_NavigateToPidl ( IBrowserService iface,
PCIDLIST_ABSOLUTE  pidl,
DWORD  grfHLNF 
)
static

Definition at line 389 of file shellbrowser.c.

393 {
395  FIXME("%p %p %d\n", This, pidl, grfHLNF);
396  return E_NOTIMPL;
397 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_NotifyRedirect()

static HRESULT WINAPI BrowserService_NotifyRedirect ( IBrowserService iface,
IShellView psv,
PCIDLIST_ABSOLUTE  pidl,
BOOL pfDidBrowse 
)
static

Definition at line 417 of file shellbrowser.c.

422 {
424  FIXME("%p %p %p %p\n", This, psv, pidl, pfDidBrowse);
425  return E_NOTIMPL;
426 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_OnHttpEquiv()

static HRESULT WINAPI BrowserService_OnHttpEquiv ( IBrowserService iface,
IShellView psv,
BOOL  fDone,
VARIANT pvarargIn,
VARIANT pvarargOut 
)
static

Definition at line 547 of file shellbrowser.c.

553 {
555  FIXME("%p %p %d %s %p\n", This, psv, fDone, debugstr_variant(pvarargIn), pvarargOut);
556  return E_NOTIMPL;
557 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_QueryInterface()

static HRESULT WINAPI BrowserService_QueryInterface ( IBrowserService iface,
REFIID  riid,
void **  ppvObject 
)
static

Definition at line 266 of file shellbrowser.c.

270 {
272  return IShellBrowser_QueryInterface(&This->IShellBrowser_iface, riid, ppvObject);
273 }
REFIID riid
Definition: precomp.h:44
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
REFIID LPVOID * ppvObject
Definition: precomp.h:44
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_RegisterWindow()

static HRESULT WINAPI BrowserService_RegisterWindow ( IBrowserService iface,
BOOL  fForceRegister,
int  swc 
)
static

Definition at line 568 of file shellbrowser.c.

572 {
574  FIXME("%p %d %d\n", This, fForceRegister, swc);
575  return E_NOTIMPL;
576 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_Release()

static ULONG WINAPI BrowserService_Release ( IBrowserService iface)
static

Definition at line 282 of file shellbrowser.c.

284 {
286  return IShellBrowser_Release(&This->IShellBrowser_iface);
287 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_SetFlags()

static HRESULT WINAPI BrowserService_SetFlags ( IBrowserService iface,
DWORD  dwFlags,
DWORD  dwFlagMask 
)
static

Definition at line 444 of file shellbrowser.c.

448 {
450  FIXME("%p %x %x\n", This, dwFlags, dwFlagMask);
451  return E_NOTIMPL;
452 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_SetHistoryObject()

static HRESULT WINAPI BrowserService_SetHistoryObject ( IBrowserService iface,
IOleObject pole,
BOOL  fIsLocalAnchor 
)
static

Definition at line 518 of file shellbrowser.c.

522 {
524  FIXME("%p %p %d\n", This, pole, fIsLocalAnchor);
525  return E_NOTIMPL;
526 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_SetNavigateState()

static HRESULT WINAPI BrowserService_SetNavigateState ( IBrowserService iface,
BNSTATE  bnstate 
)
static

Definition at line 399 of file shellbrowser.c.

402 {
404  FIXME("%p %d\n", This, bnstate);
405  return E_NOTIMPL;
406 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_SetReferrer()

static HRESULT WINAPI BrowserService_SetReferrer ( IBrowserService iface,
PCIDLIST_ABSOLUTE  pidl 
)
static

Definition at line 480 of file shellbrowser.c.

483 {
485  FIXME("%p %p\n", This, pidl);
486  return E_NOTIMPL;
487 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_SetTitle()

static HRESULT WINAPI BrowserService_SetTitle ( IBrowserService iface,
IShellView psv,
LPCWSTR  pszName 
)
static

Definition at line 298 of file shellbrowser.c.

302 {
304  FIXME("%p %p %s\n", This, psv, debugstr_w(pszName));
305  return E_NOTIMPL;
306 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_ShowControlWindow()

static HRESULT WINAPI BrowserService_ShowControlWindow ( IBrowserService iface,
UINT  id,
BOOL  fShow 
)
static

Definition at line 337 of file shellbrowser.c.

341 {
343  FIXME("%p %u %d\n", This, id, fShow);
344  return E_NOTIMPL;
345 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_UpdateBackForwardState()

static HRESULT WINAPI BrowserService_UpdateBackForwardState ( IBrowserService iface)
static

Definition at line 436 of file shellbrowser.c.

438 {
440  FIXME("%p\n", This);
441  return E_NOTIMPL;
442 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ BrowserService_UpdateWindowList()

static HRESULT WINAPI BrowserService_UpdateWindowList ( IBrowserService iface)
static

Definition at line 428 of file shellbrowser.c.

430 {
432  FIXME("%p\n", This);
433  return E_NOTIMPL;
434 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IBrowserService(IBrowserService *iface)
Definition: shellbrowser.c:261

◆ create_browser_service()

HRESULT create_browser_service ( DocHost doc_host,
ShellBrowser **  ret 
)

Definition at line 924 of file shellbrowser.c.

925 {
926  ShellBrowser *sb;
927 
928  sb = heap_alloc(sizeof(ShellBrowser));
929  if(!sb)
930  return E_OUTOFMEMORY;
931 
932  sb->IShellBrowser_iface.lpVtbl = &ShellBrowserVtbl;
933  sb->IBrowserService_iface.lpVtbl = &BrowserServiceVtbl;
934  sb->IDocObjectService_iface.lpVtbl = &DocObjectServiceVtbl;
935 
936  sb->ref = 1;
937  sb->doc_host = doc_host;
938 
939  *ret = sb;
940  return S_OK;
941 }
superblock * sb
Definition: btrfs.c:3952
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static void * heap_alloc(size_t len)
Definition: appwiz.h:65
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
static const IDocObjectServiceVtbl DocObjectServiceVtbl
Definition: shellbrowser.c:908
static const IShellBrowserVtbl ShellBrowserVtbl
Definition: shellbrowser.c:240
int ret
static const IBrowserServiceVtbl BrowserServiceVtbl
Definition: shellbrowser.c:578
#define S_OK
Definition: intsafe.h:59

Referenced by ClServiceProvider_QueryService().

◆ detach_browser_service()

void detach_browser_service ( ShellBrowser sb)

Definition at line 943 of file shellbrowser.c.

944 {
945  sb->doc_host = NULL;
946  IShellBrowser_Release(&sb->IShellBrowser_iface);
947 }
superblock * sb
Definition: btrfs.c:3952
smooth NULL
Definition: ftsmooth.c:416

Referenced by DocHost_ClientSite_Release().

◆ DocObjectService_ActiveElementChanged()

static HRESULT WINAPI DocObjectService_ActiveElementChanged ( IDocObjectService iface,
IHTMLElement *  pHTMLElement 
)
static

Definition at line 878 of file shellbrowser.c.

881 {
883  FIXME("%p %p\n", This, pHTMLElement);
884  return E_NOTIMPL;
885 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IDocObjectService(IDocObjectService *iface)
Definition: shellbrowser.c:614

◆ DocObjectService_AddRef()

static ULONG WINAPI DocObjectService_AddRef ( IDocObjectService iface)
static

Definition at line 628 of file shellbrowser.c.

630 {
632  return IShellBrowser_AddRef(&This->IShellBrowser_iface);
633 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IDocObjectService(IDocObjectService *iface)
Definition: shellbrowser.c:614

◆ DocObjectService_FireBeforeNavigate2()

static HRESULT WINAPI DocObjectService_FireBeforeNavigate2 ( IDocObjectService iface,
IDispatch pDispatch,
LPCWSTR  lpszUrl,
DWORD  dwFlags,
LPCWSTR  lpszFrameName,
BYTE pPostData,
DWORD  cbPostData,
LPCWSTR  lpszHeaders,
BOOL  fPlayNavSound,
BOOL pfCancel 
)
static

Definition at line 642 of file shellbrowser.c.

653 {
655  VARIANT var_url, var_flags, var_frame_name, var_post_data, var_post_data2, var_headers;
656  VARIANTARG params[7];
657  DISPPARAMS dp = {params, NULL, 7, 0};
658  VARIANT_BOOL cancel = VARIANT_FALSE;
661  DWORD file_path_len = ARRAY_SIZE(file_path);
662 
663  TRACE("%p %p %s %x %s %p %d %s %d %p\n", This, pDispatch, debugstr_w(lpszUrl),
664  dwFlags, debugstr_w(lpszFrameName), pPostData, cbPostData,
665  debugstr_w(lpszHeaders), fPlayNavSound, pfCancel);
666 
667  if(cbPostData) {
668  post_data = SafeArrayCreateVector(VT_UI1, 0, cbPostData);
669  if(!post_data)
670  return E_OUTOFMEMORY;
671  memcpy(post_data->pvData, pPostData, cbPostData);
672  }else {
673  post_data = NULL;
674  }
675 
677  V_BOOLREF(params) = &cancel;
678 
680  V_VARIANTREF(params+1) = &var_headers;
681  V_VT(&var_headers) = VT_BSTR;
682  V_BSTR(&var_headers) = lpszHeaders ? SysAllocString(lpszHeaders) : NULL;
683 
685  V_VARIANTREF(params+2) = &var_post_data2;
686  V_VT(&var_post_data2) = (VT_BYREF|VT_VARIANT);
687  V_VARIANTREF(&var_post_data2) = &var_post_data;
688 
689  if(post_data) {
690  V_VT(&var_post_data) = VT_UI1|VT_ARRAY;
691  V_ARRAY(&var_post_data) = post_data;
692  }else {
693  V_VT(&var_post_data) = VT_EMPTY;
694  }
695 
697  V_VARIANTREF(params+3) = &var_frame_name;
698  V_VT(&var_frame_name) = VT_BSTR;
699  V_BSTR(&var_frame_name) = lpszFrameName ? SysAllocString(lpszFrameName) : NULL;
700 
702  V_VARIANTREF(params+4) = &var_flags;
703  V_VT(&var_flags) = VT_I4;
704  V_I4(&var_flags) = 0;
705 
707  V_VARIANTREF(params+5) = &var_url;
708  V_VT(&var_url) = VT_BSTR;
709  if(PathCreateFromUrlW(lpszUrl, file_path, &file_path_len, 0) == S_OK)
710  V_BSTR(&var_url) = SysAllocString(file_path);
711  else
712  V_BSTR(&var_url) = SysAllocString(lpszUrl);
713 
714  V_VT(params+6) = (VT_DISPATCH);
715  V_DISPATCH(params+6) = (IDispatch*)This->doc_host->wb;
716 
717  /* Keep reference to This. It may be released in event handler. */
718  IShellBrowser_AddRef(&This->IShellBrowser_iface);
719 
720  TRACE(">>>\n");
721  call_sink(This->doc_host->cps.wbe2, DISPID_BEFORENAVIGATE2, &dp);
722  TRACE("<<<\n");
723 
724  IShellBrowser_Release(&This->IShellBrowser_iface);
725 
726  SysFreeString(V_BSTR(&var_url));
727  SysFreeString(V_BSTR(&var_headers));
728  SysFreeString(V_BSTR(&var_frame_name));
730 
731  *pfCancel = !!cancel;
732  return S_OK;
733 }
#define DISPID_BEFORENAVIGATE2
Definition: exdispid.h:43
HRESULT WINAPI PathCreateFromUrlW(LPCWSTR pszUrl, LPWSTR pszPath, LPDWORD pcchPath, DWORD dwReserved)
Definition: path.c:3334
Definition: compat.h:1939
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define V_ARRAY(A)
Definition: oleauto.h:222
short VARIANT_BOOL
Definition: compat.h:1931
#define V_I4(A)
Definition: oleauto.h:247
#define V_DISPATCH(A)
Definition: oleauto.h:239
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
GLenum const GLfloat * params
Definition: glext.h:5645
void call_sink(ConnectionPoint *This, DISPID dispid, DISPPARAMS *dispparams)
Definition: events.c:391
#define debugstr_w
Definition: kernel32.h:32
#define V_BOOLREF(A)
Definition: oleauto.h:225
smooth NULL
Definition: ftsmooth.c:416
BSTR WINAPI SysAllocString(LPCOLESTR str)
Definition: oleaut.c:241
#define TRACE(s)
Definition: solgame.cpp:4
__wchar_t WCHAR
Definition: xmlstorage.h:180
#define MAX_PATH
Definition: compat.h:26
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT WINAPI SafeArrayDestroy(SAFEARRAY *psa)
Definition: safearray.c:1349
SAFEARRAY *WINAPI SafeArrayCreateVector(VARTYPE vt, LONG lLbound, ULONG cElements)
Definition: safearray.c:679
static const CHAR post_data[]
Definition: protocol.c:215
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
#define V_VT(A)
Definition: oleauto.h:211
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
#define V_BSTR(A)
Definition: oleauto.h:226
#define S_OK
Definition: intsafe.h:59
#define ARRAY_SIZE(a)
Definition: main.h:24
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
Definition: oleaut.c:274
struct stdole::DISPPARAMS DISPPARAMS
static ShellBrowser * impl_from_IDocObjectService(IDocObjectService *iface)
Definition: shellbrowser.c:614
#define V_VARIANTREF(A)
Definition: oleauto.h:283
TCHAR file_path[MAX_PATH]
Definition: sndrec32.cpp:57

◆ DocObjectService_FireDocumentComplete()

static HRESULT WINAPI DocObjectService_FireDocumentComplete ( IDocObjectService iface,
IHTMLWindow2 pHTMLWindow,
DWORD  dwFlags 
)
static

Definition at line 810 of file shellbrowser.c.

814 {
816  IHTMLPrivateWindow *priv_window;
817  VARIANTARG params[2];
818  DISPPARAMS dp = {params, NULL, 2, 0};
819  VARIANT url_var;
820  BSTR url;
821  HRESULT hres;
822 
823  TRACE("%p %p %x\n", This, pHTMLWindow, dwFlags);
824 
825  hres = IHTMLWindow2_QueryInterface(pHTMLWindow, &IID_IHTMLPrivateWindow, (void**)&priv_window);
826  if(FAILED(hres))
827  return hres;
828 
829  hres = IHTMLPrivateWindow_GetAddressBarUrl(priv_window, &url);
830  IHTMLPrivateWindow_Release(priv_window);
831  if(FAILED(hres))
832  return hres;
833 
834  TRACE("got URL %s\n", debugstr_w(url));
835 
837  V_VARIANTREF(params) = &url_var;
838 
839  V_VT(params+1) = VT_DISPATCH;
840  V_DISPATCH(params+1) = (IDispatch*)This->doc_host->wb;
841 
842  V_VT(&url_var) = VT_BSTR;
843  V_BSTR(&url_var) = url;
844 
845  /* Keep reference to This. It may be released in event handler. */
846  IShellBrowser_AddRef(&This->IShellBrowser_iface);
847 
848  TRACE(">>>\n");
849  call_sink(This->doc_host->cps.wbe2, DISPID_DOCUMENTCOMPLETE, &dp);
850  TRACE("<<<\n");
851 
853  if(This->doc_host)
854  This->doc_host->busy = VARIANT_FALSE;
855 
856  IShellBrowser_Release(&This->IShellBrowser_iface);
857  return S_OK;
858 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define DISPID_DOCUMENTCOMPLETE
Definition: webchild.h:61
OLECHAR * BSTR
Definition: compat.h:1934
#define V_DISPATCH(A)
Definition: oleauto.h:239
GLenum const GLfloat * params
Definition: glext.h:5645
void call_sink(ConnectionPoint *This, DISPID dispid, DISPPARAMS *dispparams)
Definition: events.c:391
#define debugstr_w
Definition: kernel32.h:32
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
static const WCHAR url[]
Definition: encode.c:1432
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
#define V_VT(A)
Definition: oleauto.h:211
#define V_BSTR(A)
Definition: oleauto.h:226
#define S_OK
Definition: intsafe.h:59
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
Definition: oleaut.c:274
struct stdole::DISPPARAMS DISPPARAMS
static ShellBrowser * impl_from_IDocObjectService(IDocObjectService *iface)
Definition: shellbrowser.c:614
#define V_VARIANTREF(A)
Definition: oleauto.h:283

◆ DocObjectService_FireDownloadBegin()

static HRESULT WINAPI DocObjectService_FireDownloadBegin ( IDocObjectService iface)
static

Definition at line 794 of file shellbrowser.c.

796 {
798  FIXME("%p\n", This);
799  return E_NOTIMPL;
800 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IDocObjectService(IDocObjectService *iface)
Definition: shellbrowser.c:614

◆ DocObjectService_FireDownloadComplete()

static HRESULT WINAPI DocObjectService_FireDownloadComplete ( IDocObjectService iface)
static

Definition at line 802 of file shellbrowser.c.

804 {
806  FIXME("%p\n", This);
807  return E_NOTIMPL;
808 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IDocObjectService(IDocObjectService *iface)
Definition: shellbrowser.c:614

◆ DocObjectService_FireNavigateComplete2()

static HRESULT WINAPI DocObjectService_FireNavigateComplete2 ( IDocObjectService iface,
IHTMLWindow2 pHTMLWindow2,
DWORD  dwFlags 
)
static

Definition at line 735 of file shellbrowser.c.

739 {
741  DocHost *doc_host = This->doc_host;
742  IHTMLPrivateWindow *priv_window;
743  VARIANTARG params[2];
744  DISPPARAMS dp = {params, NULL, 2, 0};
745  VARIANT url_var;
746  BSTR url;
747  HRESULT hres;
748 
749  TRACE("%p %p %x\n", This, pHTMLWindow2, dwFlags);
750 
751  update_navigation_commands(This->doc_host);
752 
753  if(doc_host->travellog.loading_pos != -1) {
754  WARN("histupdate not notified\n");
755  doc_host->travellog.position = doc_host->travellog.loading_pos;
756  doc_host->travellog.loading_pos = -1;
757  }
758 
759  hres = IHTMLWindow2_QueryInterface(pHTMLWindow2, &IID_IHTMLPrivateWindow, (void**)&priv_window);
760  if(FAILED(hres))
761  return hres;
762 
763  hres = IHTMLPrivateWindow_GetAddressBarUrl(priv_window, &url);
764  IHTMLPrivateWindow_Release(priv_window);
765  if(FAILED(hres))
766  return hres;
767 
768  TRACE("got URL %s\n", debugstr_w(url));
769  set_dochost_url(This->doc_host, url);
770 
772  V_VARIANTREF(params) = &url_var;
773 
774  V_VT(params+1) = VT_DISPATCH;
775  V_DISPATCH(params+1) = (IDispatch*)doc_host->wb;
776 
777  V_VT(&url_var) = VT_BSTR;
778  V_BSTR(&url_var) = url;
779 
780  /* Keep reference to This. It may be released in event handler. */
781  IShellBrowser_AddRef(&This->IShellBrowser_iface);
782 
783  TRACE(">>>\n");
784  call_sink(This->doc_host->cps.wbe2, DISPID_NAVIGATECOMPLETE2, &dp);
785  TRACE("<<<\n");
786 
788 
789  This->doc_host->busy = VARIANT_FALSE;
790  IShellBrowser_Release(&This->IShellBrowser_iface);
791  return S_OK;
792 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define WARN(fmt,...)
Definition: debug.h:111
OLECHAR * BSTR
Definition: compat.h:1934
void update_navigation_commands(DocHost *dochost)
Definition: dochost.c:106
#define V_DISPATCH(A)
Definition: oleauto.h:239
IWebBrowser2 * wb
Definition: ieframe.h:133
GLenum const GLfloat * params
Definition: glext.h:5645
void call_sink(ConnectionPoint *This, DISPID dispid, DISPPARAMS *dispparams)
Definition: events.c:391
#define debugstr_w
Definition: kernel32.h:32
#define DISPID_NAVIGATECOMPLETE2
Definition: webchild.h:54
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
static const WCHAR url[]
Definition: encode.c:1432
HRESULT set_dochost_url(DocHost *, const WCHAR *) DECLSPEC_HIDDEN
Definition: navigate.c:130
struct DocHost::@406 travellog
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
#define V_VT(A)
Definition: oleauto.h:211
#define V_BSTR(A)
Definition: oleauto.h:226
#define S_OK
Definition: intsafe.h:59
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
Definition: oleaut.c:274
struct stdole::DISPPARAMS DISPPARAMS
static ShellBrowser * impl_from_IDocObjectService(IDocObjectService *iface)
Definition: shellbrowser.c:614
#define V_VARIANTREF(A)
Definition: oleauto.h:283

◆ DocObjectService_GetPendingUrl()

static HRESULT WINAPI DocObjectService_GetPendingUrl ( IDocObjectService iface,
BSTR pbstrPendingUrl 
)
static

Definition at line 869 of file shellbrowser.c.

872 {
874  FIXME("%p %p\n", This, pbstrPendingUrl);
875  return E_NOTIMPL;
876 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IDocObjectService(IDocObjectService *iface)
Definition: shellbrowser.c:614

◆ DocObjectService_GetUrlSearchComponent()

static HRESULT WINAPI DocObjectService_GetUrlSearchComponent ( IDocObjectService iface,
BSTR pbstrSearch 
)
static

Definition at line 887 of file shellbrowser.c.

890 {
892  FIXME("%p %p\n", This, pbstrSearch);
893  return E_NOTIMPL;
894 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IDocObjectService(IDocObjectService *iface)
Definition: shellbrowser.c:614

◆ DocObjectService_IsErrorUrl()

static HRESULT WINAPI DocObjectService_IsErrorUrl ( IDocObjectService iface,
LPCWSTR  lpszUrl,
BOOL pfIsError 
)
static

Definition at line 896 of file shellbrowser.c.

900 {
902  FIXME("%p %s %p\n", This, debugstr_w(lpszUrl), pfIsError);
903 
904  *pfIsError = FALSE;
905  return S_OK;
906 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define S_OK
Definition: intsafe.h:59
static ShellBrowser * impl_from_IDocObjectService(IDocObjectService *iface)
Definition: shellbrowser.c:614

◆ DocObjectService_QueryInterface()

static HRESULT WINAPI DocObjectService_QueryInterface ( IDocObjectService iface,
REFIID  riid,
void **  ppvObject 
)
static

Definition at line 619 of file shellbrowser.c.

623 {
625  return IShellBrowser_QueryInterface(&This->IShellBrowser_iface, riid, ppvObject);
626 }
REFIID riid
Definition: precomp.h:44
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
REFIID LPVOID * ppvObject
Definition: precomp.h:44
static ShellBrowser * impl_from_IDocObjectService(IDocObjectService *iface)
Definition: shellbrowser.c:614

◆ DocObjectService_Release()

static ULONG WINAPI DocObjectService_Release ( IDocObjectService iface)
static

Definition at line 635 of file shellbrowser.c.

637 {
639  return IShellBrowser_Release(&This->IShellBrowser_iface);
640 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IDocObjectService(IDocObjectService *iface)
Definition: shellbrowser.c:614

◆ DocObjectService_UpdateDesktopComponent()

static HRESULT WINAPI DocObjectService_UpdateDesktopComponent ( IDocObjectService iface,
IHTMLWindow2 pHTMLWindow 
)
static

Definition at line 860 of file shellbrowser.c.

863 {
865  FIXME("%p %p\n", This, pHTMLWindow);
866  return E_NOTIMPL;
867 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static ShellBrowser * impl_from_IDocObjectService(IDocObjectService *iface)
Definition: shellbrowser.c:614

◆ impl_from_IBrowserService()

static ShellBrowser* impl_from_IBrowserService ( IBrowserService iface)
inlinestatic

Definition at line 261 of file shellbrowser.c.

262 {
263  return CONTAINING_RECORD(iface, ShellBrowser, IBrowserService_iface);
264 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560

Referenced by BrowserService_AddRef(), BrowserService_CacheOLEServer(), BrowserService_CanNavigateNow(), BrowserService_DisplayParseError(), BrowserService_GetBrowserByIndex(), BrowserService_GetBrowserIndex(), BrowserService_GetFlags(), BrowserService_GetHistoryObject(), BrowserService_GetNavigateState(), BrowserService_GetOleObject(), BrowserService_GetPalette(), BrowserService_GetParentSite(), BrowserService_GetPidl(), BrowserService_GetSetCodePage(), BrowserService_GetTitle(), BrowserService_GetTravelLog(), BrowserService_IEGetDisplayName(), BrowserService_IEParseDisplayName(), BrowserService_IsControlWindowShown(), BrowserService_NavigateToPidl(), BrowserService_NotifyRedirect(), BrowserService_OnHttpEquiv(), BrowserService_QueryInterface(), BrowserService_RegisterWindow(), BrowserService_Release(), BrowserService_SetFlags(), BrowserService_SetHistoryObject(), BrowserService_SetNavigateState(), BrowserService_SetReferrer(), BrowserService_SetTitle(), BrowserService_ShowControlWindow(), BrowserService_UpdateBackForwardState(), and BrowserService_UpdateWindowList().

◆ impl_from_IDocObjectService()

static ShellBrowser* impl_from_IDocObjectService ( IDocObjectService iface)
inlinestatic

Definition at line 614 of file shellbrowser.c.

615 {
616  return CONTAINING_RECORD(iface, ShellBrowser, IDocObjectService_iface);
617 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560

Referenced by DocObjectService_ActiveElementChanged(), DocObjectService_AddRef(), DocObjectService_FireBeforeNavigate2(), DocObjectService_FireDocumentComplete(), DocObjectService_FireDownloadBegin(), DocObjectService_FireDownloadComplete(), DocObjectService_FireNavigateComplete2(), DocObjectService_GetPendingUrl(), DocObjectService_GetUrlSearchComponent(), DocObjectService_IsErrorUrl(), DocObjectService_QueryInterface(), DocObjectService_Release(), and DocObjectService_UpdateDesktopComponent().

◆ impl_from_INewWindowManager()

static NewWindowManager* impl_from_INewWindowManager ( INewWindowManager iface)
inlinestatic

Definition at line 949 of file shellbrowser.c.

950 {
951  return CONTAINING_RECORD(iface, NewWindowManager, INewWindowManager_iface);
952 }
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560

Referenced by NewWindowManager_AddRef(), NewWindowManager_EvaluateNewWindow(), NewWindowManager_QueryInterface(), and NewWindowManager_Release().

◆ impl_from_IShellBrowser()

static ShellBrowser* impl_from_IShellBrowser ( IShellBrowser iface)
inlinestatic

Definition at line 32 of file shellbrowser.c.

33 {
34  return CONTAINING_RECORD(iface, ShellBrowser, IShellBrowser_iface);
35 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560

Referenced by ShellBrowser_AddRef(), ShellBrowser_BrowseObject(), ShellBrowser_ContextSensitiveHelp(), ShellBrowser_EnableModelessSB(), ShellBrowser_GetControlWindow(), ShellBrowser_GetViewStateStream(), ShellBrowser_GetWindow(), ShellBrowser_InsertMenusSB(), ShellBrowser_OnViewWindowActive(), ShellBrowser_QueryActiveShellView(), ShellBrowser_QueryInterface(), ShellBrowser_Release(), ShellBrowser_RemoveMenusSB(), ShellBrowser_SendControlMsg(), ShellBrowser_SetMenuSB(), ShellBrowser_SetStatusTextSB(), ShellBrowser_SetToolbarItems(), and ShellBrowser_TranslateAcceleratorSB().

◆ NewWindowManager_AddRef()

static ULONG WINAPI NewWindowManager_AddRef ( INewWindowManager iface)
static

Definition at line 974 of file shellbrowser.c.

975 {
977 
978  TRACE("(%p)\n", This);
979 
980  return IOleClientSite_AddRef(&This->doc_host->IOleClientSite_iface);
981 }
static NewWindowManager * impl_from_INewWindowManager(INewWindowManager *iface)
Definition: shellbrowser.c:949
#define TRACE(s)
Definition: solgame.cpp:4

◆ NewWindowManager_EvaluateNewWindow()

static HRESULT WINAPI NewWindowManager_EvaluateNewWindow ( INewWindowManager iface,
LPCWSTR  pszUrl,
LPCWSTR  pszName,
LPCWSTR  pszUrlContext,
LPCWSTR  pszFeatures,
BOOL  fReplace,
DWORD  dwFlags,
DWORD  dwUserActionTime 
)
static

Definition at line 992 of file shellbrowser.c.

995 {
997  FIXME("(%p)->(%s %s %s %s %x %x %d)\n", This, debugstr_w(pszUrl), debugstr_w(pszName), debugstr_w(pszUrlContext),
998  debugstr_w(pszFeatures), fReplace, dwFlags, dwUserActionTime);
999  return S_OK;
1000 }
static NewWindowManager * impl_from_INewWindowManager(INewWindowManager *iface)
Definition: shellbrowser.c:949
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
#define S_OK
Definition: intsafe.h:59

◆ NewWindowManager_Init()

void NewWindowManager_Init ( DocHost doc_host)

Definition at line 1009 of file shellbrowser.c.

1010 {
1011  doc_host->nwm.INewWindowManager_iface.lpVtbl = &NewWindowManagerVtbl;
1012  doc_host->nwm.doc_host = doc_host;
1013 }
static const INewWindowManagerVtbl NewWindowManagerVtbl
INewWindowManager INewWindowManager_iface
Definition: ieframe.h:100
DocHost * doc_host
Definition: ieframe.h:101
NewWindowManager nwm
Definition: ieframe.h:175

Referenced by DocHost_Init().

◆ NewWindowManager_QueryInterface()

static HRESULT WINAPI NewWindowManager_QueryInterface ( INewWindowManager iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 954 of file shellbrowser.c.

955 {
957 
958  if(IsEqualGUID(&IID_IUnknown, riid)) {
959  TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
960  *ppv = &This->INewWindowManager_iface;
961  }else if(IsEqualGUID(&IID_INewWindowManager, riid)) {
962  TRACE("(%p)->(IID_INewWindowManager %p)\n", This, ppv);
963  *ppv = &This->INewWindowManager_iface;
964  }else {
965  WARN("(%p)->(%s %p)\n", This, debugstr_guid(riid), ppv);
966  *ppv = NULL;
967  return E_NOINTERFACE;
968  }
969 
970  IUnknown_AddRef((IUnknown*)*ppv);
971  return S_OK;
972 }
#define E_NOINTERFACE
Definition: winerror.h:2364
static NewWindowManager * impl_from_INewWindowManager(INewWindowManager *iface)
Definition: shellbrowser.c:949
REFIID riid
Definition: precomp.h:44
#define WARN(fmt,...)
Definition: debug.h:111
REFIID LPVOID * ppv
Definition: atlbase.h:39
smooth NULL
Definition: ftsmooth.c:416
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
const GUID IID_IUnknown
#define S_OK
Definition: intsafe.h:59
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4021

◆ NewWindowManager_Release()

static ULONG WINAPI NewWindowManager_Release ( INewWindowManager iface)
static

Definition at line 983 of file shellbrowser.c.

984 {
986 
987  TRACE("(%p)\n", This);
988 
989  return IOleClientSite_Release(&This->doc_host->IOleClientSite_iface);
990 }
static NewWindowManager * impl_from_INewWindowManager(INewWindowManager *iface)
Definition: shellbrowser.c:949
#define TRACE(s)
Definition: solgame.cpp:4

◆ ShellBrowser_AddRef()

static ULONG WINAPI ShellBrowser_AddRef ( IShellBrowser iface)
static

Definition at line 66 of file shellbrowser.c.

68 {
71 
72  TRACE("(%p) ref=%d\n", This, ref);
73 
74  return ref;
75 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
Definition: send.c:47
long LONG
Definition: pedump.c:60
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
GLenum GLint ref
Definition: glext.h:6028
#define TRACE(s)
Definition: solgame.cpp:4
#define InterlockedIncrement
Definition: armddk.h:53

◆ ShellBrowser_BrowseObject()

static HRESULT WINAPI ShellBrowser_BrowseObject ( IShellBrowser iface,
LPCITEMIDLIST  pidl,
UINT  wFlags 
)
static

Definition at line 168 of file shellbrowser.c.

172 {
174  FIXME("%p %p %u\n", This, pidl, wFlags);
175  return E_NOTIMPL;
176 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
#define FIXME(fmt,...)
Definition: debug.h:110
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:519
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ShellBrowser_ContextSensitiveHelp()

static HRESULT WINAPI ShellBrowser_ContextSensitiveHelp ( IShellBrowser iface,
BOOL  fEnterMode 
)
static

Definition at line 101 of file shellbrowser.c.

104 {
106  FIXME("%p %d\n", This, fEnterMode);
107  return E_NOTIMPL;
108 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ShellBrowser_EnableModelessSB()

static HRESULT WINAPI ShellBrowser_EnableModelessSB ( IShellBrowser iface,
BOOL  fEnable 
)
static

Definition at line 149 of file shellbrowser.c.

152 {
154  FIXME("%p %d\n", This, fEnable);
155  return E_NOTIMPL;
156 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ShellBrowser_GetControlWindow()

static HRESULT WINAPI ShellBrowser_GetControlWindow ( IShellBrowser iface,
UINT  id,
HWND phwnd 
)
static

Definition at line 188 of file shellbrowser.c.

192 {
194  FIXME("%p %u %p\n", This, id, phwnd);
195  return E_NOTIMPL;
196 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ShellBrowser_GetViewStateStream()

static HRESULT WINAPI ShellBrowser_GetViewStateStream ( IShellBrowser iface,
DWORD  grfMode,
IStream **  ppStrm 
)
static

Definition at line 178 of file shellbrowser.c.

182 {
184  FIXME("%p %x %p\n", This, grfMode, ppStrm);
185  return E_NOTIMPL;
186 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ShellBrowser_GetWindow()

static HRESULT WINAPI ShellBrowser_GetWindow ( IShellBrowser iface,
HWND phwnd 
)
static

Definition at line 92 of file shellbrowser.c.

95 {
97  FIXME("%p %p\n", This, phwnd);
98  return E_NOTIMPL;
99 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ShellBrowser_InsertMenusSB()

static HRESULT WINAPI ShellBrowser_InsertMenusSB ( IShellBrowser iface,
HMENU  hmenuShared,
LPOLEMENUGROUPWIDTHS  lpMenuWidths 
)
static

Definition at line 110 of file shellbrowser.c.

114 {
116  FIXME("%p %p %p\n", This, hmenuShared, lpMenuWidths);
117  return E_NOTIMPL;
118 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ShellBrowser_OnViewWindowActive()

static HRESULT WINAPI ShellBrowser_OnViewWindowActive ( IShellBrowser iface,
IShellView pshv 
)
static

Definition at line 220 of file shellbrowser.c.

223 {
225  FIXME("%p %p\n", This, pshv);
226  return E_NOTIMPL;
227 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ShellBrowser_QueryActiveShellView()

static HRESULT WINAPI ShellBrowser_QueryActiveShellView ( IShellBrowser iface,
IShellView **  ppshv 
)
static

Definition at line 211 of file shellbrowser.c.

214 {
216  FIXME("%p %p\n", This, ppshv);
217  return E_NOTIMPL;
218 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ShellBrowser_QueryInterface()

static HRESULT WINAPI ShellBrowser_QueryInterface ( IShellBrowser iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 37 of file shellbrowser.c.

38 {
40 
42  TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
43  *ppv = &This->IShellBrowser_iface;
44  }else if(IsEqualGUID(&IID_IOleWindow, riid)) {
45  TRACE("(%p)->(IID_IOleWindow %p)\n", This, ppv);
46  *ppv = &This->IShellBrowser_iface;
47  }else if(IsEqualGUID(&IID_IShellBrowser, riid)) {
48  TRACE("(%p)->(IID_IShellBrowser %p)\n", This, ppv);
49  *ppv = &This->IShellBrowser_iface;
50  }else if(IsEqualGUID(&IID_IBrowserService, riid)) {
51  TRACE("(%p)->(IID_IBrowserService %p)\n", This, ppv);
52  *ppv = &This->IBrowserService_iface;
53  }else if(IsEqualGUID(&IID_IDocObjectService, riid)) {
54  TRACE("(%p)->(IID_IDocObjectService %p)\n", This, ppv);
55  *ppv = &This->IDocObjectService_iface;
56  }else {
57  FIXME("%p %s %p\n", This, debugstr_guid(riid), ppv);
58  *ppv = NULL;
59  return E_NOINTERFACE;
60  }
61 
62  IUnknown_AddRef((IUnknown*)*ppv);
63  return S_OK;
64 }
#define E_NOINTERFACE
Definition: winerror.h:2364
REFIID riid
Definition: precomp.h:44
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
REFIID LPVOID * ppv
Definition: atlbase.h:39
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
#define FIXME(fmt,...)
Definition: debug.h:110
smooth NULL
Definition: ftsmooth.c:416
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
const GUID IID_IUnknown
#define S_OK
Definition: intsafe.h:59
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4021
const GUID IID_IOleWindow

◆ ShellBrowser_Release()

static ULONG WINAPI ShellBrowser_Release ( IShellBrowser iface)
static

Definition at line 77 of file shellbrowser.c.

78 {
81 
82  TRACE("(%p) ref=%d\n", This, ref);
83 
84  if(!ref) {
85  assert(!This->doc_host);
86  heap_free(This);
87  }
88 
89  return ref;
90 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
#define assert(x)
Definition: debug.h:53
Definition: send.c:47
long LONG
Definition: pedump.c:60
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
GLenum GLint ref
Definition: glext.h:6028
#define TRACE(s)
Definition: solgame.cpp:4
#define InterlockedDecrement
Definition: armddk.h:52
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

◆ ShellBrowser_RemoveMenusSB()

static HRESULT WINAPI ShellBrowser_RemoveMenusSB ( IShellBrowser iface,
HMENU  hmenuShared 
)
static

Definition at line 131 of file shellbrowser.c.

134 {
136  FIXME("%p %p\n", This, hmenuShared);
137  return E_NOTIMPL;
138 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ShellBrowser_SendControlMsg()

static HRESULT WINAPI ShellBrowser_SendControlMsg ( IShellBrowser iface,
UINT  id,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
LRESULT pret 
)
static

Definition at line 198 of file shellbrowser.c.

205 {
207  FIXME("%p %u %u %p\n", This, id, uMsg, pret);
208  return E_NOTIMPL;
209 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ShellBrowser_SetMenuSB()

static HRESULT WINAPI ShellBrowser_SetMenuSB ( IShellBrowser iface,
HMENU  hmenuShared,
HOLEMENU  holemenuReserved,
HWND  hwndActiveObject 
)
static

Definition at line 120 of file shellbrowser.c.

125 {
127  FIXME("%p %p %p %p\n", This, hmenuShared, holemenuReserved, hwndActiveObject);
128  return E_NOTIMPL;
129 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ShellBrowser_SetStatusTextSB()

static HRESULT WINAPI ShellBrowser_SetStatusTextSB ( IShellBrowser iface,
LPCOLESTR  pszStatusText 
)
static

Definition at line 140 of file shellbrowser.c.

143 {
145  FIXME("%p %s\n", This, debugstr_w(pszStatusText));
146  return E_NOTIMPL;
147 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ShellBrowser_SetToolbarItems()

static HRESULT WINAPI ShellBrowser_SetToolbarItems ( IShellBrowser iface,
LPTBBUTTONSB  lpButtons,
UINT  nButtons,
UINT  uFlags 
)
static

Definition at line 229 of file shellbrowser.c.

234 {
236  FIXME("%p %p %u %u\n", This, lpButtons, nButtons, uFlags);
237  return E_NOTIMPL;
238 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
UINT uFlags
Definition: api.c:60
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ShellBrowser_TranslateAcceleratorSB()

static HRESULT WINAPI ShellBrowser_TranslateAcceleratorSB ( IShellBrowser iface,
MSG pmsg,
WORD  wID 
)
static

Definition at line 158 of file shellbrowser.c.

162 {
164  FIXME("%p %p %d\n", This, pmsg, (int)wID);
165  return E_NOTIMPL;
166 }
Implementation of IShellBrowserImpl interface in explorer child windows.
Definition: ieframe.h:84
static ShellBrowser * impl_from_IShellBrowser(IShellBrowser *iface)
Definition: shellbrowser.c:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( ieframe  )

Variable Documentation

◆ BrowserServiceVtbl

const IBrowserServiceVtbl BrowserServiceVtbl
static

Definition at line 578 of file shellbrowser.c.

Referenced by create_browser_service().

◆ DocObjectServiceVtbl

const IDocObjectServiceVtbl DocObjectServiceVtbl
static
Initial value:
= {
}
static HRESULT WINAPI DocObjectService_FireDocumentComplete(IDocObjectService *iface, IHTMLWindow2 *pHTMLWindow, DWORD dwFlags)
Definition: shellbrowser.c:810
static HRESULT WINAPI DocObjectService_QueryInterface(IDocObjectService *iface, REFIID riid, void **ppvObject)
Definition: shellbrowser.c:619
static ULONG WINAPI DocObjectService_AddRef(IDocObjectService *iface)
Definition: shellbrowser.c:628
static HRESULT WINAPI DocObjectService_GetUrlSearchComponent(IDocObjectService *iface, BSTR *pbstrSearch)
Definition: shellbrowser.c:887
static HRESULT WINAPI DocObjectService_ActiveElementChanged(IDocObjectService *iface, IHTMLElement *pHTMLElement)
Definition: shellbrowser.c:878
static ULONG WINAPI DocObjectService_Release(IDocObjectService *iface)
Definition: shellbrowser.c:635
static HRESULT WINAPI DocObjectService_FireBeforeNavigate2(IDocObjectService *iface, IDispatch *pDispatch, LPCWSTR lpszUrl, DWORD dwFlags, LPCWSTR lpszFrameName, BYTE *pPostData, DWORD cbPostData, LPCWSTR lpszHeaders, BOOL fPlayNavSound, BOOL *pfCancel)
Definition: shellbrowser.c:642
static HRESULT WINAPI DocObjectService_GetPendingUrl(IDocObjectService *iface, BSTR *pbstrPendingUrl)
Definition: shellbrowser.c:869
static HRESULT WINAPI DocObjectService_IsErrorUrl(IDocObjectService *iface, LPCWSTR lpszUrl, BOOL *pfIsError)
Definition: shellbrowser.c:896
static HRESULT WINAPI DocObjectService_FireDownloadComplete(IDocObjectService *iface)
Definition: shellbrowser.c:802
static HRESULT WINAPI DocObjectService_FireDownloadBegin(IDocObjectService *iface)
Definition: shellbrowser.c:794
static HRESULT WINAPI DocObjectService_UpdateDesktopComponent(IDocObjectService *iface, IHTMLWindow2 *pHTMLWindow)
Definition: shellbrowser.c:860
static HRESULT WINAPI DocObjectService_FireNavigateComplete2(IDocObjectService *iface, IHTMLWindow2 *pHTMLWindow2, DWORD dwFlags)
Definition: shellbrowser.c:735

Definition at line 908 of file shellbrowser.c.

Referenced by create_browser_service().

◆ NewWindowManagerVtbl

const INewWindowManagerVtbl NewWindowManagerVtbl
static
Initial value:
= {
}
static ULONG WINAPI NewWindowManager_Release(INewWindowManager *iface)
Definition: shellbrowser.c:983
static ULONG WINAPI NewWindowManager_AddRef(INewWindowManager *iface)
Definition: shellbrowser.c:974
static HRESULT WINAPI NewWindowManager_EvaluateNewWindow(INewWindowManager *iface, LPCWSTR pszUrl, LPCWSTR pszName, LPCWSTR pszUrlContext, LPCWSTR pszFeatures, BOOL fReplace, DWORD dwFlags, DWORD dwUserActionTime)
Definition: shellbrowser.c:992
static HRESULT WINAPI NewWindowManager_QueryInterface(INewWindowManager *iface, REFIID riid, void **ppv)
Definition: shellbrowser.c:954

Definition at line 1002 of file shellbrowser.c.

Referenced by NewWindowManager_Init().

◆ ShellBrowserVtbl

const IShellBrowserVtbl ShellBrowserVtbl
static
Initial value:
= {
}
static HRESULT WINAPI ShellBrowser_GetWindow(IShellBrowser *iface, HWND *phwnd)
Definition: shellbrowser.c:92
static HRESULT WINAPI ShellBrowser_ContextSensitiveHelp(IShellBrowser *iface, BOOL fEnterMode)
Definition: shellbrowser.c:101
static HRESULT WINAPI ShellBrowser_SetStatusTextSB(IShellBrowser *iface, LPCOLESTR pszStatusText)
Definition: shellbrowser.c:140
static HRESULT WINAPI ShellBrowser_QueryInterface(IShellBrowser *iface, REFIID riid, void **ppv)
Definition: shellbrowser.c:37
static HRESULT WINAPI ShellBrowser_OnViewWindowActive(IShellBrowser *iface, IShellView *pshv)
Definition: shellbrowser.c:220
static HRESULT WINAPI ShellBrowser_InsertMenusSB(IShellBrowser *iface, HMENU hmenuShared, LPOLEMENUGROUPWIDTHS lpMenuWidths)
Definition: shellbrowser.c:110
static ULONG WINAPI ShellBrowser_Release(IShellBrowser *iface)
Definition: shellbrowser.c:77
static HRESULT WINAPI ShellBrowser_GetViewStateStream(IShellBrowser *iface, DWORD grfMode, IStream **ppStrm)
Definition: shellbrowser.c:178
static HRESULT WINAPI ShellBrowser_SetMenuSB(IShellBrowser *iface, HMENU hmenuShared, HOLEMENU holemenuReserved, HWND hwndActiveObject)
Definition: shellbrowser.c:120
static HRESULT WINAPI ShellBrowser_SetToolbarItems(IShellBrowser *iface, LPTBBUTTONSB lpButtons, UINT nButtons, UINT uFlags)
Definition: shellbrowser.c:229
static HRESULT WINAPI ShellBrowser_SendControlMsg(IShellBrowser *iface, UINT id, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *pret)
Definition: shellbrowser.c:198
static HRESULT WINAPI ShellBrowser_GetControlWindow(IShellBrowser *iface, UINT id, HWND *phwnd)
Definition: shellbrowser.c:188
static HRESULT WINAPI ShellBrowser_QueryActiveShellView(IShellBrowser *iface, IShellView **ppshv)
Definition: shellbrowser.c:211
static HRESULT WINAPI ShellBrowser_RemoveMenusSB(IShellBrowser *iface, HMENU hmenuShared)
Definition: shellbrowser.c:131
static HRESULT WINAPI ShellBrowser_EnableModelessSB(IShellBrowser *iface, BOOL fEnable)
Definition: shellbrowser.c:149
static ULONG WINAPI ShellBrowser_AddRef(IShellBrowser *iface)
Definition: shellbrowser.c:66
static HRESULT WINAPI ShellBrowser_TranslateAcceleratorSB(IShellBrowser *iface, MSG *pmsg, WORD wID)
Definition: shellbrowser.c:158
static HRESULT WINAPI ShellBrowser_BrowseObject(IShellBrowser *iface, LPCITEMIDLIST pidl, UINT wFlags)
Definition: shellbrowser.c:168

Definition at line 240 of file shellbrowser.c.

Referenced by create_browser_service().