ReactOS  0.4.14-dev-41-g31d7680
shlobj_undoc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SHELLSTATE2
 
struct  persistState
 
struct  DEFFOLDERSETTINGS
 

Macros

#define INTERFACE   IInitializeObject
 
#define IInitializeObject_QueryInterface(T, a, b)   (T)->lpVtbl->QueryInterface(T,a,b)
 
#define IInitializeObject_AddRef(T)   (T)->lpVtbl->AddRef(T)
 
#define IInitializeObject_Release(T)   (T)->lpVtbl->Release(T)
 
#define IInitializeObject_Initialize(T)   (T)->lpVtbl->Initialize(T)
 
#define INTERFACE   IBanneredBar
 
#define IBanneredBar_QueryInterface(T, a, b)   (T)->lpVtbl->QueryInterface(T,a,b)
 
#define IBanneredBar_AddRef(T)   (T)->lpVtbl->AddRef(T)
 
#define IBanneredBar_Release(T)   (T)->lpVtbl->Release(T)
 
#define IBanneredBar_SetIconSize(T, a)   (T)->lpVtbl->SetIconSize(T,a)
 
#define IBanneredBar_GetIconSize(T, a)   (T)->lpVtbl->GetIconSize(T,a)
 
#define IBanneredBar_SetBitmap(T, a)   (T)->lpVtbl->SetBitmap(T,a)
 
#define IBanneredBar_GetBitmap(T, a)   (T)->lpVtbl->GetBitmap(T,a)
 
#define INTERFACE   IGlobalFolderSettings
 
#define INTERFACE   IStartMenuCallback
 
#define INTERFACE   IBandSiteStreamCallback
 
#define INTERFACE   IShellDesktopTray
 
#define INTERFACE   INscTree
 
#define INTERFACE   INscTree2
 
#define INTERFACE   IAddressEditBox
 
#define INTERFACE   IBandProxy
 
#define INTERFACE   IExplorerToolbar
 
#define INTERFACE   IRegTreeOptions
 
#define INTERFACE   IBandNavigate
 
#define INTERFACE   INamespaceProxy
 
#define INTERFACE   IShellMenu2
 
#define INTERFACE   IWinEventHandler
 
#define INTERFACE   IAddressBand
 
#define INTERFACE   IShellMenuAcc
 
#define INTERFACE   IBandSiteHelper
 
#define INTERFACE   IShellBrowserService
 
#define INTERFACE   ITrayPriv
 

Typedefs

typedef enum tagWALK_TREE_CMD WALK_TREE_CMD
 

Enumerations

enum  { BMICON_LARGE = 0, BMICON_SMALL }
 
enum  tagWALK_TREE_CMD { WALK_TREE_OPTION0 = 0, WALK_TREE_OPTION1 = 1, WALK_TREE_OPTION2 = 2, WALK_TREE_OPTION3 = 3 }
 

Functions

 DECLARE_INTERFACE_ (IInitializeObject, IUnknown)
 
 DECLARE_INTERFACE_ (IBanneredBar, IUnknown)
 
 DECLARE_INTERFACE_ (IGlobalFolderSettings, IUnknown)
 
 DECLARE_INTERFACE_ (IStartMenuCallback, IOleWindow)
 
 DECLARE_INTERFACE_ (IBandSiteStreamCallback, IUnknown)
 
 DECLARE_INTERFACE_ (IShellDesktopTray, IUnknown)
 
 DECLARE_INTERFACE_ (INscTree, IUnknown)
 
 DECLARE_INTERFACE_ (INscTree2, INscTree)
 
 DECLARE_INTERFACE_ (IAddressEditBox, IUnknown)
 
 DECLARE_INTERFACE_ (IBandProxy, IUnknown)
 
 DECLARE_INTERFACE_ (IExplorerToolbar, IUnknown)
 
 DECLARE_INTERFACE_ (IRegTreeOptions, IUnknown)
 
 DECLARE_INTERFACE_ (IBandNavigate, IUnknown)
 
 DECLARE_INTERFACE_ (INamespaceProxy, IUnknown)
 
 DECLARE_INTERFACE_ (IShellMenu2, IShellMenu)
 
 DECLARE_INTERFACE_ (IWinEventHandler, IUnknown)
 
 DECLARE_INTERFACE_ (IAddressBand, IUnknown)
 
 DECLARE_INTERFACE_ (IShellMenuAcc, IUnknown)
 
 DECLARE_INTERFACE_ (IBandSiteHelper, IUnknown)
 
 DECLARE_INTERFACE_ (IShellBrowserService, IUnknown)
 
 DECLARE_INTERFACE_ (ITrayPriv, IUnknown)
 
HANDLE WINAPI SHCreateDesktop (IShellDesktopTray *)
 
BOOL WINAPI SHDesktopMessageLoop (HANDLE)
 

Macro Definition Documentation

◆ IBanneredBar_AddRef

#define IBanneredBar_AddRef (   T)    (T)->lpVtbl->AddRef(T)

Definition at line 100 of file shlobj_undoc.h.

◆ IBanneredBar_GetBitmap

#define IBanneredBar_GetBitmap (   T,
  a 
)    (T)->lpVtbl->GetBitmap(T,a)

Definition at line 105 of file shlobj_undoc.h.

◆ IBanneredBar_GetIconSize

#define IBanneredBar_GetIconSize (   T,
  a 
)    (T)->lpVtbl->GetIconSize(T,a)

Definition at line 103 of file shlobj_undoc.h.

◆ IBanneredBar_QueryInterface

#define IBanneredBar_QueryInterface (   T,
  a,
  b 
)    (T)->lpVtbl->QueryInterface(T,a,b)

Definition at line 99 of file shlobj_undoc.h.

◆ IBanneredBar_Release

#define IBanneredBar_Release (   T)    (T)->lpVtbl->Release(T)

Definition at line 101 of file shlobj_undoc.h.

◆ IBanneredBar_SetBitmap

#define IBanneredBar_SetBitmap (   T,
  a 
)    (T)->lpVtbl->SetBitmap(T,a)

Definition at line 104 of file shlobj_undoc.h.

◆ IBanneredBar_SetIconSize

#define IBanneredBar_SetIconSize (   T,
  a 
)    (T)->lpVtbl->SetIconSize(T,a)

Definition at line 102 of file shlobj_undoc.h.

◆ IInitializeObject_AddRef

#define IInitializeObject_AddRef (   T)    (T)->lpVtbl->AddRef(T)

Definition at line 69 of file shlobj_undoc.h.

◆ IInitializeObject_Initialize

#define IInitializeObject_Initialize (   T)    (T)->lpVtbl->Initialize(T)

Definition at line 71 of file shlobj_undoc.h.

◆ IInitializeObject_QueryInterface

#define IInitializeObject_QueryInterface (   T,
  a,
  b 
)    (T)->lpVtbl->QueryInterface(T,a,b)

Definition at line 68 of file shlobj_undoc.h.

◆ IInitializeObject_Release

#define IInitializeObject_Release (   T)    (T)->lpVtbl->Release(T)

Definition at line 70 of file shlobj_undoc.h.

◆ INTERFACE [1/21]

#define INTERFACE   IInitializeObject

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [2/21]

#define INTERFACE   IBanneredBar

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [3/21]

#define INTERFACE   IGlobalFolderSettings

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [4/21]

#define INTERFACE   IStartMenuCallback

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [5/21]

#define INTERFACE   IBandSiteStreamCallback

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [6/21]

#define INTERFACE   IShellDesktopTray

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [7/21]

#define INTERFACE   INscTree

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [8/21]

#define INTERFACE   INscTree2

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [9/21]

#define INTERFACE   IAddressEditBox

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [10/21]

#define INTERFACE   IBandProxy

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [11/21]

#define INTERFACE   IExplorerToolbar

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [12/21]

#define INTERFACE   IRegTreeOptions

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [13/21]

#define INTERFACE   IBandNavigate

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [14/21]

#define INTERFACE   INamespaceProxy

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [15/21]

#define INTERFACE   IShellMenu2

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [16/21]

#define INTERFACE   IWinEventHandler

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [17/21]

#define INTERFACE   IAddressBand

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [18/21]

#define INTERFACE   IShellMenuAcc

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [19/21]

#define INTERFACE   IBandSiteHelper

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [20/21]

#define INTERFACE   IShellBrowserService

Definition at line 684 of file shlobj_undoc.h.

◆ INTERFACE [21/21]

#define INTERFACE   ITrayPriv

Definition at line 684 of file shlobj_undoc.h.

Typedef Documentation

◆ WALK_TREE_CMD

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
BMICON_LARGE 
BMICON_SMALL 

Definition at line 78 of file shlobj_undoc.h.

79 {
80  BMICON_LARGE = 0,
82 };

◆ tagWALK_TREE_CMD

Enumerator
WALK_TREE_OPTION0 
WALK_TREE_OPTION1 
WALK_TREE_OPTION2 
WALK_TREE_OPTION3 

Definition at line 417 of file shlobj_undoc.h.

Function Documentation

◆ DECLARE_INTERFACE_() [1/21]

DECLARE_INTERFACE_ ( IInitializeObject  ,
IUnknown   
)

Definition at line 58 of file shlobj_undoc.h.

59 {
63 
65 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
BOOL Initialize(HINSTANCE hInstance)
Definition: msconfig.c:341
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [2/21]

DECLARE_INTERFACE_ ( IBanneredBar  ,
IUnknown   
)

Definition at line 84 of file shlobj_undoc.h.

85 {
89 
90  STDMETHOD(SetIconSize)(THIS_ DWORD iIcon) PURE;
91  STDMETHOD(GetIconSize)(THIS_ DWORD* piIcon) PURE;
93  STDMETHOD(GetBitmap)(THIS_ HBITMAP* phBitmap) PURE;
94 
95 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
unsigned long DWORD
Definition: ntddk_ex.h:95
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
static HBITMAP
Definition: button.c:44
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
static HBITMAP hBitmap
Definition: timezone.c:35
static void SetBitmap(HWND hwnd, HBITMAP *hbmp, UINT uImageId)
Definition: trayprop.cpp:24

◆ DECLARE_INTERFACE_() [3/21]

DECLARE_INTERFACE_ ( IGlobalFolderSettings  ,
IUnknown   
)

Definition at line 118 of file shlobj_undoc.h.

119 {
120  /*** IUnknown ***/
124  /*** IGlobalFolderSettings ***/
125  STDMETHOD(Get)(THIS_ struct DEFFOLDERSETTINGS *buffer, int theSize) PURE;
126  STDMETHOD(Set)(THIS_ const struct DEFFOLDERSETTINGS *buffer, int theSize, unsigned int param14) PURE;
127 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
GLuint buffer
Definition: glext.h:5915
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
static BOOL Set
Definition: pageheap.c:10
#define STDMETHOD(m)
Definition: basetyps.h:62
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
STDMETHOD() Get(THIS_ IN REFGUID PropSet, IN ULONG Id, IN LPVOID InstanceData, IN ULONG InstanceLength, OUT LPVOID PropertyData, IN ULONG DataLength, OUT ULONG *BytesReturned) PURE
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [4/21]

DECLARE_INTERFACE_ ( IStartMenuCallback  ,
IOleWindow   
)

Definition at line 134 of file shlobj_undoc.h.

135 {
136  /*** IUnknown ***/
140  /*** IOleWindow methods ***/
142  STDMETHOD_(HRESULT,ContextSensitiveHelp)(THIS_ BOOL) PURE;
143  /*** IStartMenuCallback ***/
147 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
VOID Execute(LPTSTR Path)
Definition: stats.c:407
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define BOOL
Definition: nt_native.h:43
#define STDMETHOD(m)
Definition: basetyps.h:62
void * PVOID
Definition: retypes.h:9
#define AppendMenu
Definition: winuser.h:5632
LONG HRESULT
Definition: typedefs.h:77
HWND WINAPI GetWindow(_In_ HWND, _In_ UINT)
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:60

◆ DECLARE_INTERFACE_() [5/21]

DECLARE_INTERFACE_ ( IBandSiteStreamCallback  ,
IUnknown   
)

Definition at line 165 of file shlobj_undoc.h.

166 {
167  /*** IUnknown ***/
171  /*** IBandSiteStreamCallback ***/
172  STDMETHOD_(HRESULT,OnLoad)(THIS_ IStream *pStm, REFIID riid, PVOID *pvObj) PURE;
173  STDMETHOD_(HRESULT,OnSave)(THIS_ IUnknown *pUnk, IStream *pStm) PURE;
174 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
LONG HRESULT
Definition: typedefs.h:77
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
static void *static void *static LPDIRECTPLAY IUnknown * pUnk
Definition: dplayx.c:30

◆ DECLARE_INTERFACE_() [6/21]

DECLARE_INTERFACE_ ( IShellDesktopTray  ,
IUnknown   
)

Definition at line 189 of file shlobj_undoc.h.

190 {
191  /*** IUnknown ***/
195  /*** IShellDesktopTray ***/
196  STDMETHOD_(ULONG,GetState)(THIS) PURE;
197  STDMETHOD(GetTrayWindow)(THIS_ HWND*) PURE;
198  STDMETHOD(RegisterDesktopWindow)(THIS_ HWND) PURE;
200 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
HANDLE HWND
Definition: compat.h:13
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define DWORD
Definition: nt_native.h:44
#define STDMETHOD(m)
Definition: basetyps.h:62
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [7/21]

DECLARE_INTERFACE_ ( INscTree  ,
IUnknown   
)

Definition at line 217 of file shlobj_undoc.h.

218 {
219  /*** IUnknown ***/
223  /*** INscTree ***/
224  STDMETHOD(CreateTree)(THIS_ long paramC, long param10, long param14) PURE;
225  STDMETHOD(Initialize)(THIS_ long paramC, long param10, long param14) PURE;
226  STDMETHOD(ShowWindow)(THIS_ long paramC) PURE;
228  STDMETHOD(GetSelectedItem)(THIS_ long paramC, long param10) PURE;
229  STDMETHOD(SetSelectedItem)(THIS_ long paramC, long param10, long param14, long param18) PURE;
230  STDMETHOD(GetNscMode)(THIS_ long paramC) PURE;
231  STDMETHOD(SetNscMode)(THIS_ long paramC) PURE;
232  STDMETHOD(GetSelectedItemName)(THIS_ long paramC, long param10) PURE;
233  STDMETHOD(BindToSelectedItemParent)(THIS_ long paramC, long param10, long param14) PURE;
234  STDMETHOD(InLabelEdit)(THIS) PURE;
235  STDMETHOD(RightPaneNavigationStarted)(THIS_ long paramC) PURE;
236  STDMETHOD(RightPaneNavigationFinished)(THIS_ long paramC) PURE;
237 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
INT GetSelectedItem(HWND hDlgCtrl)
BOOL Initialize(HINSTANCE hInstance)
Definition: msconfig.c:341
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
void Refresh(void)
Definition: magnifier.c:317
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [8/21]

DECLARE_INTERFACE_ ( INscTree2  ,
INscTree   
)

Definition at line 263 of file shlobj_undoc.h.

264 {
265  /*** IUnknown ***/
269  /*** INscTree ***/
270  STDMETHOD(CreateTree)(THIS_ long paramC, long param10, long param14) PURE;
271  STDMETHOD(Initialize)(THIS_ long paramC, long param10, long param14) PURE;
272  STDMETHOD(ShowWindow)(THIS_ long paramC) PURE;
274  STDMETHOD(GetSelectedItem)(THIS_ long paramC, long param10) PURE;
275  STDMETHOD(SetSelectedItem)(THIS_ long paramC, long param10, long param14, long param18) PURE;
276  STDMETHOD(GetNscMode)(THIS_ long paramC) PURE;
277  STDMETHOD(SetNscMode)(THIS_ long paramC) PURE;
278  STDMETHOD(GetSelectedItemName)(THIS_ long paramC, long param10) PURE;
279  STDMETHOD(BindToSelectedItemParent)(THIS_ long paramC, long param10, long param14) PURE;
280  STDMETHOD(InLabelEdit)(THIS) PURE;
281  STDMETHOD(RightPaneNavigationStarted)(THIS_ long paramC) PURE;
282  STDMETHOD(RightPaneNavigationFinished)(THIS_ long paramC) PURE;
283  /*** INscTree2 ***/
284  STDMETHOD(CreateTree2)(THIS_ long paramC, long param10, long param14, long param18) PURE;
285 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
INT GetSelectedItem(HWND hDlgCtrl)
BOOL Initialize(HINSTANCE hInstance)
Definition: msconfig.c:341
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
void Refresh(void)
Definition: magnifier.c:317
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [9/21]

DECLARE_INTERFACE_ ( IAddressEditBox  ,
IUnknown   
)

Definition at line 312 of file shlobj_undoc.h.

313 {
314  /*** IUnknown ***/
318  /*** IAddressEditBox ***/
319  STDMETHOD(Init)(THIS_ HWND comboboxEx, HWND editControl, long param14, IUnknown *param18) PURE;
320  STDMETHOD(SetCurrentDir)(THIS_ long paramC) PURE;
321  STDMETHOD(ParseNow)(THIS_ long paramC) PURE;
322  STDMETHOD(Execute)(THIS_ long paramC) PURE;
323  STDMETHOD(Save)(THIS_ long paramC) PURE;
324 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
VOID Execute(LPTSTR Path)
Definition: stats.c:407
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
static int Save(const char **args)
Definition: vfdcmd.c:1851
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [10/21]

DECLARE_INTERFACE_ ( IBandProxy  ,
IUnknown   
)

Definition at line 342 of file shlobj_undoc.h.

343 {
344  /*** IUnknown ***/
348  /*** IBandProxy ***/
349  STDMETHOD(SetSite)(THIS_ IUnknown *paramC) PURE;
350  STDMETHOD(CreateNewWindow)(THIS_ long paramC) PURE;
351  STDMETHOD(GetBrowserWindow)(THIS_ IUnknown **paramC) PURE;
352  STDMETHOD(IsConnected)(THIS) PURE;
353  STDMETHOD(NavigateToPIDL)(THIS_ LPCITEMIDLIST pidl) PURE;
354  STDMETHOD(NavigateToURL)(THIS_ long paramC, long param10) PURE;
355 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
REFIID LPVOID * ppv
Definition: atlbase.h:39
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [11/21]

DECLARE_INTERFACE_ ( IExplorerToolbar  ,
IUnknown   
)

Definition at line 374 of file shlobj_undoc.h.

375 {
376  /*** IUnknown ***/
380  /*** IExplorerToolbar ***/
381  STDMETHOD(SetCommandTarget)(THIS_ IUnknown *theTarget, GUID *category, long param14) PURE;
382  STDMETHOD(Unknown1)(THIS) PURE;
383  STDMETHOD(AddButtons)(THIS_ const GUID *pguidCmdGroup, long buttonCount, TBBUTTON *buttons) PURE;
384  STDMETHOD(AddString)(THIS_ const GUID *pguidCmdGroup, HINSTANCE param10, LPCTSTR param14, long *param18) PURE;
385  STDMETHOD(GetButton)(THIS_ const GUID *paramC, long param10, long param14) PURE;
386  STDMETHOD(GetState)(THIS_ const GUID *pguidCmdGroup, long commandID, long *theState) PURE;
387  STDMETHOD(SetState)(THIS_ const GUID *pguidCmdGroup, long commandID, long theState) PURE;
388  STDMETHOD(AddBitmap)(THIS_ const GUID *pguidCmdGroup, long param10, long buttonCount, TBADDBITMAP *lParam, long *newIndex, COLORREF param20) PURE;
389  STDMETHOD(GetBitmapSize)(THIS_ long *paramC) PURE;
390  STDMETHOD(SendToolbarMsg)(THIS_ const GUID *pguidCmdGroup, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *result) PURE;
391  STDMETHOD(SetImageList)(THIS_ const GUID *pguidCmdGroup, HIMAGELIST param10, HIMAGELIST param14, HIMAGELIST param18) PURE;
392  STDMETHOD(ModifyButton)(THIS_ const GUID *paramC, long param10, long param14) PURE;
393 };
#define REFIID
Definition: guiddef.h:118
const CHAR * LPCTSTR
Definition: xmlstorage.h:193
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
UINT_PTR WPARAM
Definition: windef.h:207
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
WPARAM wParam
Definition: combotst.c:138
#define STDMETHOD(m)
Definition: basetyps.h:62
LONG_PTR LPARAM
Definition: windef.h:208
ULONG GetBitmapSize(BITMAPINFOHEADER *pbih)
NTSTATUS AddBitmap(PNTFS_VCB Vcb, PFILE_RECORD_HEADER FileRecord, PNTFS_ATTR_RECORD AttributeAddress, PCWSTR Name, USHORT NameLength)
Definition: attrib.c:72
DWORD COLORREF
Definition: windef.h:285
static VOID SetImageList(HWND hwnd)
Definition: mplay32.c:238
HWND buttons[5]
Definition: sndrec32.cpp:40
#define PURE
Definition: basetyps.h:64
unsigned int UINT
Definition: ndis.h:50
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
char AddString[]
Definition: combotst.c:71
unsigned int ULONG
Definition: retypes.h:1
LONG_PTR LRESULT
Definition: windef.h:209
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
GLuint64EXT * result
Definition: glext.h:11304
LPARAM lParam
Definition: combotst.c:139

◆ DECLARE_INTERFACE_() [12/21]

DECLARE_INTERFACE_ ( IRegTreeOptions  ,
IUnknown   
)

Definition at line 426 of file shlobj_undoc.h.

427 {
428  /*** IUnknown ***/
432  /*** IRegTreeOptions ***/
433  STDMETHOD(InitTree)(THIS_ HWND paramC, HKEY param10, char const *param14, char const *param18) PURE;
434  STDMETHOD(WalkTree)(THIS_ WALK_TREE_CMD paramC) PURE;
435  STDMETHOD(ToggleItem)(THIS_ HTREEITEM paramC) PURE;
436  STDMETHOD(ShowHelp)(THIS_ HTREEITEM paramC, unsigned long param10) PURE;
437 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
enum tagWALK_TREE_CMD WALK_TREE_CMD
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [13/21]

DECLARE_INTERFACE_ ( IBandNavigate  ,
IUnknown   
)

Definition at line 454 of file shlobj_undoc.h.

455 {
456  /*** IUnknown ***/
460  /*** IBandNavigate ***/
461  STDMETHOD(Select)(THIS_ long paramC) PURE;
462 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [14/21]

DECLARE_INTERFACE_ ( INamespaceProxy  ,
IUnknown   
)

Definition at line 476 of file shlobj_undoc.h.

477 {
478  /*** IUnknown ***/
482  /*** INamespaceProxy ***/
483  STDMETHOD(GetNavigateTarget)(THIS_ long paramC, long param10, long param14) PURE;
484  STDMETHOD(Invoke)(THIS_ long paramC) PURE;
485  STDMETHOD(OnSelectionChanged)(THIS_ long paramC) PURE;
486  STDMETHOD(RefreshFlags)(THIS_ long paramC, long param10, long param14) PURE;
487  STDMETHOD(CacheItem)(THIS_ long paramC) PURE;
488 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [15/21]

DECLARE_INTERFACE_ ( IShellMenu2  ,
IShellMenu   
)

Definition at line 506 of file shlobj_undoc.h.

507 {
508  /*** IUnknown ***/
512  /*** IShellMenu ***/
514  STDMETHOD(GetMenuInfo)(THIS_ IShellMenuCallback **ppsmc, UINT *puId, UINT *puIdAncestor, DWORD *pdwFlags) PURE;
515  STDMETHOD(SetShellFolder)(THIS_ IShellFolder *psf, LPCITEMIDLIST pidlFolder, HKEY hKey, DWORD dwFlags) PURE;
516  STDMETHOD(GetShellFolder)(THIS_ DWORD *pdwFlags, LPITEMIDLIST *ppidl, REFIID riid, void **ppv) PURE;
518  STDMETHOD(GetMenu)(THIS_ HMENU *phmenu, HWND *phwnd, DWORD *pdwFlags) PURE;
519  STDMETHOD(InvalidateItem)(THIS_ LPSMDATA psmd, DWORD dwFlags) PURE;
520  STDMETHOD(GetState)(THIS_ LPSMDATA psmd) PURE;
521  STDMETHOD(SetMenuToolbar)(THIS_ IUnknown *punk, DWORD dwFlags) PURE;
522  /*** IShellMenu2 ***/
524  STDMETHOD(SetToolbar)(THIS) PURE;
525  STDMETHOD(SetMinWidth)(THIS) PURE;
526  STDMETHOD(SetNoBorder)(THIS) PURE;
527  STDMETHOD(SetTheme)(THIS) PURE;
528 };
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
static HMENU hmenu
Definition: win.c:66
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
REFIID LPVOID * ppv
Definition: atlbase.h:39
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
BOOL WINAPI SetMenu(_In_ HWND, _In_opt_ HMENU)
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HMENU WINAPI GetSubMenu(_In_ HMENU, _In_ int)
BOOL WINAPI GetMenuInfo(_In_ HMENU, _Inout_ LPMENUINFO)
BOOL Initialize(HINSTANCE hInstance)
Definition: msconfig.c:341
#define PURE
Definition: basetyps.h:64
unsigned int UINT
Definition: ndis.h:50
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
HMENU WINAPI GetMenu(_In_ HWND)
ITEMIDLIST UNALIGNED * LPITEMIDLIST
Definition: shtypes.idl:41
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:60

◆ DECLARE_INTERFACE_() [16/21]

DECLARE_INTERFACE_ ( IWinEventHandler  ,
IUnknown   
)

Definition at line 555 of file shlobj_undoc.h.

556 {
557  /*** IUnknown ***/
561  /*** IWinEventHandler ***/
562  STDMETHOD(OnWinEvent)(THIS_ HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *theResult) PURE;
563  STDMETHOD(IsWindowOwner)(THIS_ HWND hWnd) PURE;
564 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
HWND hWnd
Definition: settings.c:17
REFIID LPVOID * ppv
Definition: atlbase.h:39
UINT_PTR WPARAM
Definition: windef.h:207
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
WPARAM wParam
Definition: combotst.c:138
#define STDMETHOD(m)
Definition: basetyps.h:62
LONG_PTR LPARAM
Definition: windef.h:208
#define PURE
Definition: basetyps.h:64
unsigned int UINT
Definition: ndis.h:50
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
LONG_PTR LRESULT
Definition: windef.h:209
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
LPARAM lParam
Definition: combotst.c:139

◆ DECLARE_INTERFACE_() [17/21]

DECLARE_INTERFACE_ ( IAddressBand  ,
IUnknown   
)

Definition at line 579 of file shlobj_undoc.h.

580 {
581  /*** IUnknown ***/
585  /*** IAddressBand ***/
586  STDMETHOD(FileSysChange)(THIS_ long param8, long paramC) PURE;
587  STDMETHOD(Refresh)(THIS_ long param8) PURE;
588 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
void Refresh(void)
Definition: magnifier.c:317
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [18/21]

DECLARE_INTERFACE_ ( IShellMenuAcc  ,
IUnknown   
)

Definition at line 603 of file shlobj_undoc.h.

604 {
605  /*** IUnknown ***/
609  /*** IShellMenuAcc ***/
610  STDMETHOD(GetTop)(THIS) PURE;
611  STDMETHOD(GetBottom)(THIS) PURE;
612  STDMETHOD(GetTracked)(THIS) PURE;
613  STDMETHOD(GetParentSite)(THIS) PURE;
614  STDMETHOD(GetState)(THIS) PURE;
615  STDMETHOD(DoDefaultAction)(THIS) PURE;
618 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
HMENU WINAPI GetSubMenu(_In_ HMENU, _In_ int)
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [19/21]

DECLARE_INTERFACE_ ( IBandSiteHelper  ,
IUnknown   
)

Definition at line 639 of file shlobj_undoc.h.

640 {
641  /*** IUnknown ***/
645  /*** IBandSiteHelper ***/
646  STDMETHOD(LoadFromStreamBS)(THIS_ IStream *, REFGUID, void **) PURE;
647  STDMETHOD(SaveToStreamBS)(THIS_ IUnknown *, IStream *) PURE;
648 };
#define REFGUID
Definition: guiddef.h:116
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [20/21]

DECLARE_INTERFACE_ ( IShellBrowserService  ,
IUnknown   
)

Definition at line 663 of file shlobj_undoc.h.

664 {
665  /*** IUnknown ***/
669  /*** IShellBrowserService ***/
670  STDMETHOD(GetPropertyBag)(THIS_ long flags, REFIID riid, void **ppvObject) PURE;
671 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
GLbitfield flags
Definition: glext.h:7161
REFIID LPVOID * ppvObject
Definition: precomp.h:44
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [21/21]

DECLARE_INTERFACE_ ( ITrayPriv  ,
IUnknown   
)

Definition at line 685 of file shlobj_undoc.h.

686 {
687  /*** IUnknown ***/
691  /*** IOleWindow methods ***/
693  STDMETHOD_(HRESULT,ContextSensitiveHelp)(THIS_ BOOL) PURE;
694  /*** ITrayPriv ***/
698 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
VOID Execute(LPTSTR Path)
Definition: stats.c:407
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define BOOL
Definition: nt_native.h:43
#define STDMETHOD(m)
Definition: basetyps.h:62
void * PVOID
Definition: retypes.h:9
#define AppendMenu
Definition: winuser.h:5632
LONG HRESULT
Definition: typedefs.h:77
HWND WINAPI GetWindow(_In_ HWND, _In_ UINT)
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:60

◆ SHCreateDesktop()

HANDLE WINAPI SHCreateDesktop ( IShellDesktopTray *  )

Definition at line 437 of file CDesktopBrowser.cpp.

438 {
439  if (Tray == NULL)
440  {
442  return NULL;
443  }
444 
445  CComPtr<IShellBrowser> Browser;
447  if (FAILED_UNEXPECTEDLY(hr))
448  return NULL;
449 
450  return static_cast<HANDLE>(Browser.Detach());
451 }
#define ERROR_INVALID_PARAMETER
Definition: compat.h:91
HRESULT hr
Definition: shlfolder.c:183
#define IID_PPV_ARG(Itype, ppType)
HRESULT CDesktopBrowser_CreateInstance(IShellDesktopTray *Tray, REFIID riid, void **ppv)
smooth NULL
Definition: ftsmooth.c:416
LONG HRESULT
Definition: typedefs.h:77
#define FAILED_UNEXPECTEDLY(hr)
Definition: shellutils.h:71
#define SetLastError(x)
Definition: compat.h:409

◆ SHDesktopMessageLoop()

BOOL WINAPI SHDesktopMessageLoop ( HANDLE  )

Definition at line 457 of file CDesktopBrowser.cpp.

458 {
459  if (hDesktop == NULL)
460  {
462  return FALSE;
463  }
464 
465  MSG Msg;
466  BOOL bRet;
467 
468  CComPtr<IShellBrowser> browser;
469  CComPtr<IShellView> shellView;
470 
471  browser.Attach(static_cast<IShellBrowser*>(hDesktop));
472  HRESULT hr = browser->QueryActiveShellView(&shellView);
473  if (FAILED_UNEXPECTEDLY(hr))
474  return FALSE;
475 
476  while ((bRet = GetMessageW(&Msg, NULL, 0, 0)) != 0)
477  {
478  if (bRet != -1)
479  {
480  if (shellView->TranslateAcceleratorW(&Msg) != S_OK)
481  {
484  }
485  }
486  }
487 
488  return TRUE;
489 }
#define ERROR_INVALID_PARAMETER
Definition: compat.h:91
#define DispatchMessage
Definition: winuser.h:5666
BOOL WINAPI TranslateMessage(_In_ const MSG *)
#define TRUE
Definition: types.h:120
HRESULT hr
Definition: shlfolder.c:183
TW_UINT32 TW_UINT16 TW_UINT16 MSG
Definition: twain.h:1827
struct @1576 Msg[]
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
LONG HRESULT
Definition: typedefs.h:77
#define FAILED_UNEXPECTEDLY(hr)
Definition: shellutils.h:71
#define SetLastError(x)
Definition: compat.h:409
#define S_OK
Definition: intsafe.h:59
BOOL WINAPI GetMessageW(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT)