ReactOS 0.4.15-dev-8419-g7f0e8a3
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  tagSLOTITEMDATA
 
struct  SHELLSTATE2
 
struct  persistState
 
struct  DEFFOLDERSETTINGS
 

Macros

#define SBCMDID_EXPLORERBARFOLDERS   35
 
#define SBCMDID_MIXEDZONE   39
 
#define SBCMDID_ONVIEWMOVETOTOP   60
 
#define PANE_NONE   ((DWORD)-1)
 
#define PANE_ZONE   1
 
#define PANE_OFFLINE   2
 
#define PANE_PRINTER   3
 
#define PANE_SSL   4
 
#define PANE_NAVIGATION   5
 
#define PANE_PROGRESS   6
 
#define PANE_PRIVACY   7
 
#define DVCMDID_SET_DEFAULTFOLDER_SETTINGS   0
 
#define DVCMDID_RESET_DEFAULTFOLDER_SETTINGS   1
 
#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   IMruDataList
 
#define INTERFACE   IMruPidlList
 
#define INTERFACE   ITrayPriv
 

Typedefs

typedef struct tagSLOTITEMDATA SLOTITEMDATA
 
typedef struct tagSLOTITEMDATAPSLOTITEMDATA
 
typedef INT(CALLBACKSLOTCOMPARE) (LPCVOID pvData1, LPCVOID pvData2, UINT cbData)
 
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

 STDMETHOD_ (ULONG, AddRef)(THIS) PURE
 
 STDMETHOD_ (ULONG, Release)(THIS) PURE
 
STDMETHOD() Initialize (THIS) PURE
 
STDMETHOD() SetIconSize (THIS_ DWORD iIcon) PURE
 
STDMETHOD() GetIconSize (THIS_ DWORD *piIcon) PURE
 
STDMETHOD() SetBitmap (THIS_ HBITMAP hBitmap) PURE
 
STDMETHOD() GetBitmap (THIS_ HBITMAP *phBitmap) PURE
 
 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_ (IMruDataList, IUnknown)
 
 DECLARE_INTERFACE_ (IMruPidlList, IUnknown)
 
 DECLARE_INTERFACE_ (ITrayPriv, IUnknown)
 
HANDLE WINAPI SHCreateDesktop (IShellDesktopTray *)
 
BOOL WINAPI SHDesktopMessageLoop (HANDLE)
 
HRESULT WINAPI SHCreateFileDataObject (PCIDLIST_ABSOLUTE pidlFolder, UINT cidl, PCUITEMID_CHILD_ARRAY apidl, IDataObject *pDataInner, IDataObject **ppDataObj)
 

Macro Definition Documentation

◆ DVCMDID_RESET_DEFAULTFOLDER_SETTINGS

#define DVCMDID_RESET_DEFAULTFOLDER_SETTINGS   1

Definition at line 90 of file shlobj_undoc.h.

◆ DVCMDID_SET_DEFAULTFOLDER_SETTINGS

#define DVCMDID_SET_DEFAULTFOLDER_SETTINGS   0

Definition at line 89 of file shlobj_undoc.h.

◆ IBanneredBar_AddRef

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

Definition at line 140 of file shlobj_undoc.h.

◆ IBanneredBar_GetBitmap

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

Definition at line 145 of file shlobj_undoc.h.

◆ IBanneredBar_GetIconSize

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

Definition at line 143 of file shlobj_undoc.h.

◆ IBanneredBar_QueryInterface

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

Definition at line 139 of file shlobj_undoc.h.

◆ IBanneredBar_Release

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

Definition at line 141 of file shlobj_undoc.h.

◆ IBanneredBar_SetBitmap

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

Definition at line 144 of file shlobj_undoc.h.

◆ IBanneredBar_SetIconSize

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

Definition at line 142 of file shlobj_undoc.h.

◆ IInitializeObject_AddRef

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

Definition at line 109 of file shlobj_undoc.h.

◆ IInitializeObject_Initialize

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

Definition at line 111 of file shlobj_undoc.h.

◆ IInitializeObject_QueryInterface

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

Definition at line 108 of file shlobj_undoc.h.

◆ IInitializeObject_Release

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

Definition at line 110 of file shlobj_undoc.h.

◆ INTERFACE [1/23]

#define INTERFACE   IInitializeObject

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [2/23]

#define INTERFACE   IBanneredBar

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [3/23]

#define INTERFACE   IGlobalFolderSettings

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [4/23]

#define INTERFACE   IStartMenuCallback

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [5/23]

#define INTERFACE   IBandSiteStreamCallback

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [6/23]

#define INTERFACE   IShellDesktopTray

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [7/23]

#define INTERFACE   INscTree

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [8/23]

#define INTERFACE   INscTree2

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [9/23]

#define INTERFACE   IAddressEditBox

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [10/23]

#define INTERFACE   IBandProxy

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [11/23]

#define INTERFACE   IExplorerToolbar

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [12/23]

#define INTERFACE   IRegTreeOptions

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [13/23]

#define INTERFACE   IBandNavigate

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [14/23]

#define INTERFACE   INamespaceProxy

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [15/23]

#define INTERFACE   IShellMenu2

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [16/23]

#define INTERFACE   IWinEventHandler

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [17/23]

#define INTERFACE   IAddressBand

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [18/23]

#define INTERFACE   IShellMenuAcc

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [19/23]

#define INTERFACE   IBandSiteHelper

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [20/23]

#define INTERFACE   IShellBrowserService

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [21/23]

#define INTERFACE   IMruDataList

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [22/23]

#define INTERFACE   IMruPidlList

Definition at line 792 of file shlobj_undoc.h.

◆ INTERFACE [23/23]

#define INTERFACE   ITrayPriv

Definition at line 792 of file shlobj_undoc.h.

◆ PANE_NAVIGATION

#define PANE_NAVIGATION   5

Definition at line 80 of file shlobj_undoc.h.

◆ PANE_NONE

#define PANE_NONE   ((DWORD)-1)

Definition at line 75 of file shlobj_undoc.h.

◆ PANE_OFFLINE

#define PANE_OFFLINE   2

Definition at line 77 of file shlobj_undoc.h.

◆ PANE_PRINTER

#define PANE_PRINTER   3

Definition at line 78 of file shlobj_undoc.h.

◆ PANE_PRIVACY

#define PANE_PRIVACY   7

Definition at line 83 of file shlobj_undoc.h.

◆ PANE_PROGRESS

#define PANE_PROGRESS   6

Definition at line 81 of file shlobj_undoc.h.

◆ PANE_SSL

#define PANE_SSL   4

Definition at line 79 of file shlobj_undoc.h.

◆ PANE_ZONE

#define PANE_ZONE   1

Definition at line 76 of file shlobj_undoc.h.

◆ SBCMDID_EXPLORERBARFOLDERS

#define SBCMDID_EXPLORERBARFOLDERS   35

Definition at line 64 of file shlobj_undoc.h.

◆ SBCMDID_MIXEDZONE

#define SBCMDID_MIXEDZONE   39

Definition at line 65 of file shlobj_undoc.h.

◆ SBCMDID_ONVIEWMOVETOTOP

#define SBCMDID_ONVIEWMOVETOTOP   60

Definition at line 66 of file shlobj_undoc.h.

Typedef Documentation

◆ PSLOTITEMDATA

◆ SLOTCOMPARE

typedef INT(CALLBACK * SLOTCOMPARE) (LPCVOID pvData1, LPCVOID pvData2, UINT cbData)

Definition at line 36 of file shlobj_undoc.h.

◆ SLOTITEMDATA

◆ WALK_TREE_CMD

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
BMICON_LARGE 
BMICON_SMALL 

Definition at line 118 of file shlobj_undoc.h.

119{
120 BMICON_LARGE = 0,
122};
@ BMICON_SMALL
Definition: shlobj_undoc.h:121
@ BMICON_LARGE
Definition: shlobj_undoc.h:120

◆ tagWALK_TREE_CMD

Enumerator
WALK_TREE_OPTION0 
WALK_TREE_OPTION1 
WALK_TREE_OPTION2 
WALK_TREE_OPTION3 

Definition at line 465 of file shlobj_undoc.h.

466{
@ WALK_TREE_OPTION0
Definition: shlobj_undoc.h:467
@ WALK_TREE_OPTION1
Definition: shlobj_undoc.h:468
@ WALK_TREE_OPTION3
Definition: shlobj_undoc.h:470
@ WALK_TREE_OPTION2
Definition: shlobj_undoc.h:469
enum tagWALK_TREE_CMD WALK_TREE_CMD

Function Documentation

◆ DECLARE_INTERFACE_() [1/21]

DECLARE_INTERFACE_ ( IAddressBand  ,
IUnknown   
)

Definition at line 627 of file shlobj_undoc.h.

628{
629 /*** IUnknown ***/
633 /*** IAddressBand ***/
634 STDMETHOD(FileSysChange)(THIS_ long param8, long paramC) PURE;
635 STDMETHOD(Refresh)(THIS_ long param8) PURE;
636};
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
#define STDMETHOD(m)
Definition: basetyps.h:62
_In_ BOOLEAN Release
Definition: cdrom.h:920
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
void Refresh(void)
Definition: magnifier.c:317
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
#define REFIID
Definition: guiddef.h:118
uint32_t ULONG
Definition: typedefs.h:59

◆ DECLARE_INTERFACE_() [2/21]

DECLARE_INTERFACE_ ( IAddressEditBox  ,
IUnknown   
)

Definition at line 360 of file shlobj_undoc.h.

361{
362 /*** IUnknown ***/
366 /*** IAddressEditBox ***/
367 STDMETHOD(Init)(THIS_ HWND comboboxEx, HWND editControl, long param14, IUnknown *param18) PURE;
368 STDMETHOD(SetCurrentDir)(THIS_ long paramC) PURE;
369 STDMETHOD(ParseNow)(THIS_ long paramC) PURE;
370 STDMETHOD(Execute)(THIS_ long paramC) PURE;
371 STDMETHOD(Save)(THIS_ long paramC) PURE;
372};
static INT Execute(LPTSTR Full, LPTSTR First, LPTSTR Rest, PARSED_COMMAND *Cmd)
Definition: cmd.c:347
static int Save(const char **args)
Definition: vfdcmd.c:1851

◆ DECLARE_INTERFACE_() [3/21]

DECLARE_INTERFACE_ ( IBandNavigate  ,
IUnknown   
)

Definition at line 502 of file shlobj_undoc.h.

503{
504 /*** IUnknown ***/
508 /*** IBandNavigate ***/
509 STDMETHOD(Select)(THIS_ long paramC) PURE;
510};

◆ DECLARE_INTERFACE_() [4/21]

DECLARE_INTERFACE_ ( IBandProxy  ,
IUnknown   
)

Definition at line 390 of file shlobj_undoc.h.

391{
392 /*** IUnknown ***/
396 /*** IBandProxy ***/
397 STDMETHOD(SetSite)(THIS_ IUnknown *paramC) PURE;
398 STDMETHOD(CreateNewWindow)(THIS_ long paramC) PURE;
399 STDMETHOD(GetBrowserWindow)(THIS_ IUnknown **paramC) PURE;
400 STDMETHOD(IsConnected)(THIS) PURE;
401 STDMETHOD(NavigateToPIDL)(THIS_ LPCITEMIDLIST pidl) PURE;
402 STDMETHOD(NavigateToURL)(THIS_ long paramC, long param10) PURE;
403};
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42

◆ DECLARE_INTERFACE_() [5/21]

DECLARE_INTERFACE_ ( IBandSiteHelper  ,
IUnknown   
)

Definition at line 687 of file shlobj_undoc.h.

688{
689 /*** IUnknown ***/
693 /*** IBandSiteHelper ***/
694 STDMETHOD(LoadFromStreamBS)(THIS_ IStream *, REFGUID, void **) PURE;
695 STDMETHOD(SaveToStreamBS)(THIS_ IUnknown *, IStream *) PURE;
696};
#define REFGUID
Definition: guiddef.h:116

◆ DECLARE_INTERFACE_() [6/21]

DECLARE_INTERFACE_ ( IBandSiteStreamCallback  ,
IUnknown   
)

Definition at line 213 of file shlobj_undoc.h.

214{
215 /*** IUnknown ***/
219 /*** IBandSiteStreamCallback ***/
220 STDMETHOD_(HRESULT,OnLoad)(THIS_ IStream *pStm, REFIID riid, PVOID *pvObj) PURE;
222};
static void *static void *static LPDIRECTPLAY IUnknown * pUnk
Definition: dplayx.c:30

◆ DECLARE_INTERFACE_() [7/21]

DECLARE_INTERFACE_ ( IExplorerToolbar  ,
IUnknown   
)

Definition at line 422 of file shlobj_undoc.h.

423{
424 /*** IUnknown ***/
428 /*** IExplorerToolbar ***/
429 STDMETHOD(SetCommandTarget)(THIS_ IUnknown *theTarget, GUID *category, long param14) PURE;
430 STDMETHOD(Unknown1)(THIS) PURE;
431 STDMETHOD(AddButtons)(THIS_ const GUID *pguidCmdGroup, long buttonCount, TBBUTTON *buttons) PURE;
432 STDMETHOD(AddString)(THIS_ const GUID *pguidCmdGroup, HINSTANCE param10, LPCTSTR param14, long *param18) PURE;
433 STDMETHOD(GetButton)(THIS_ const GUID *paramC, long param10, long param14) PURE;
434 STDMETHOD(GetState)(THIS_ const GUID *pguidCmdGroup, long commandID, long *theState) PURE;
435 STDMETHOD(SetState)(THIS_ const GUID *pguidCmdGroup, long commandID, long theState) PURE;
436 STDMETHOD(AddBitmap)(THIS_ const GUID *pguidCmdGroup, long param10, long buttonCount, TBADDBITMAP *lParam, long *newIndex, COLORREF param20) PURE;
437 STDMETHOD(GetBitmapSize)(THIS_ long *paramC) PURE;
438 STDMETHOD(SendToolbarMsg)(THIS_ const GUID *pguidCmdGroup, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *result) PURE;
439 STDMETHOD(SetImageList)(THIS_ const GUID *pguidCmdGroup, HIMAGELIST param10, HIMAGELIST param14, HIMAGELIST param18) PURE;
440 STDMETHOD(ModifyButton)(THIS_ const GUID *paramC, long param10, long param14) PURE;
441};
ULONG GetBitmapSize(BITMAPINFOHEADER *pbih)
WPARAM wParam
Definition: combotst.c:138
char AddString[]
Definition: combotst.c:71
LPARAM lParam
Definition: combotst.c:139
NTSTATUS AddBitmap(PNTFS_VCB Vcb, PFILE_RECORD_HEADER FileRecord, PNTFS_ATTR_RECORD AttributeAddress, PCWSTR Name, USHORT NameLength)
Definition: attrib.c:72
return pTarget GetState()
GLuint64EXT * result
Definition: glext.h:11304
static VOID SetImageList(HWND hwnd)
Definition: mplay32.c:238
unsigned int UINT
Definition: ndis.h:50
HWND buttons[5]
Definition: sndrec32.cpp:40
LONG_PTR LPARAM
Definition: windef.h:208
LONG_PTR LRESULT
Definition: windef.h:209
UINT_PTR WPARAM
Definition: windef.h:207
DWORD COLORREF
Definition: windef.h:300
const CHAR * LPCTSTR
Definition: xmlstorage.h:193

◆ DECLARE_INTERFACE_() [8/21]

DECLARE_INTERFACE_ ( IGlobalFolderSettings  ,
IUnknown   
)

Definition at line 166 of file shlobj_undoc.h.

167{
168 /*** IUnknown ***/
172 /*** IGlobalFolderSettings ***/
174 STDMETHOD(Set)(THIS_ const struct DEFFOLDERSETTINGS *pFDS, UINT cb, UINT unknown) PURE;
175};
static WCHAR unknown[MAX_STRING_RESOURCE_LEN]
Definition: object.c:1605
static HMODULE MODULEINFO DWORD cb
Definition: module.c:33
static LPINTERNAL_BSTR Get(const BSTR lpszString)
Definition: vartype.c:4895
static BOOL Set
Definition: pageheap.c:10

◆ DECLARE_INTERFACE_() [9/21]

DECLARE_INTERFACE_ ( IMruDataList  ,
IUnknown   
)

Definition at line 733 of file shlobj_undoc.h.

734{
735 /*** IUnknown ***/
739 /*** IMruDataList ***/
742 STDMETHOD(FindData)(THIS_ LPCVOID , DWORD, UINT*) PURE;
744 STDMETHOD(QueryInfo)(THIS_ UINT, UINT*, DWORD*) PURE;
746};
BOOL Delete(LPCTSTR ServiceName)
Definition: delete.c:12
HANDLE HKEY
Definition: registry.h:26
NTSTATUS AddData(PFILE_RECORD_HEADER FileRecord, PNTFS_ATTR_RECORD AttributeAddress)
Definition: attrib.c:160
unsigned long DWORD
Definition: ntddk_ex.h:95
static BYTE * GetData(BYTE *pData, ULONG *pLength)
Definition: assembly.c:114
#define DWORD
Definition: nt_native.h:44
#define LPVOID
Definition: nt_native.h:45
INT(CALLBACK * SLOTCOMPARE)(LPCVOID pvData1, LPCVOID pvData2, UINT cbData)
Definition: shlobj_undoc.h:36
CONST void * LPCVOID
Definition: windef.h:191
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185

◆ DECLARE_INTERFACE_() [10/21]

DECLARE_INTERFACE_ ( IMruPidlList  ,
IUnknown   
)

Definition at line 765 of file shlobj_undoc.h.

766{
767 /*** IUnknown ***/
771 /*** IMruPidlList ***/
772 STDMETHOD(InitList)(THIS_ UINT, HKEY, LPCWSTR) PURE;
774 STDMETHOD(QueryPidl)(THIS_ LPCITEMIDLIST, UINT, UINT*, UINT*) PURE;
775 STDMETHOD(PruneKids)(THIS_ LPCITEMIDLIST) PURE;
776};

◆ DECLARE_INTERFACE_() [11/21]

DECLARE_INTERFACE_ ( INamespaceProxy  ,
IUnknown   
)

Definition at line 524 of file shlobj_undoc.h.

525{
526 /*** IUnknown ***/
530 /*** INamespaceProxy ***/
531 STDMETHOD(GetNavigateTarget)(THIS_ _In_ PCIDLIST_ABSOLUTE pidl, _Out_ PIDLIST_ABSOLUTE ppidlTarget, _Out_ ULONG *pulAttrib) PURE;
533 STDMETHOD(OnSelectionChanged)(THIS_ _In_ PCIDLIST_ABSOLUTE pidl) PURE;
534 STDMETHOD(RefreshFlags)(THIS_ _Out_ DWORD *pdwStyle, _Out_ DWORD *pdwExStyle, _Out_ DWORD *dwEnum) PURE;
535 STDMETHOD(CacheItem)(THIS_ _In_ PCIDLIST_ABSOLUTE pidl) PURE;
536};
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308

◆ DECLARE_INTERFACE_() [12/21]

DECLARE_INTERFACE_ ( INscTree  ,
IUnknown   
)

Definition at line 265 of file shlobj_undoc.h.

266{
267 /*** IUnknown ***/
271 /*** INscTree ***/
272 STDMETHOD(CreateTree)(THIS_ long paramC, long param10, long param14) PURE;
273 STDMETHOD(Initialize)(THIS_ long paramC, long param10, long param14) PURE;
274 STDMETHOD(ShowWindow)(THIS_ long paramC) PURE;
276 STDMETHOD(GetSelectedItem)(THIS_ long paramC, long param10) PURE;
277 STDMETHOD(SetSelectedItem)(THIS_ long paramC, long param10, long param14, long param18) PURE;
278 STDMETHOD(GetNscMode)(THIS_ long paramC) PURE;
279 STDMETHOD(SetNscMode)(THIS_ long paramC) PURE;
280 STDMETHOD(GetSelectedItemName)(THIS_ long paramC, long param10) PURE;
281 STDMETHOD(BindToSelectedItemParent)(THIS_ long paramC, long param10, long param14) PURE;
283 STDMETHOD(RightPaneNavigationStarted)(THIS_ long paramC) PURE;
284 STDMETHOD(RightPaneNavigationFinished)(THIS_ long paramC) PURE;
285};
static BOOL InLabelEdit(HWND hWnd, UINT Msg)
Definition: main.c:179
INT GetSelectedItem(HWND hDlgCtrl)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
static void Initialize()
Definition: xlate.c:212

◆ DECLARE_INTERFACE_() [13/21]

DECLARE_INTERFACE_ ( INscTree2  ,
INscTree   
)

Definition at line 311 of file shlobj_undoc.h.

312{
313 /*** IUnknown ***/
317 /*** INscTree ***/
318 STDMETHOD(CreateTree)(THIS_ long paramC, long param10, long param14) PURE;
319 STDMETHOD(Initialize)(THIS_ long paramC, long param10, long param14) PURE;
320 STDMETHOD(ShowWindow)(THIS_ long paramC) PURE;
322 STDMETHOD(GetSelectedItem)(THIS_ long paramC, long param10) PURE;
323 STDMETHOD(SetSelectedItem)(THIS_ long paramC, long param10, long param14, long param18) PURE;
324 STDMETHOD(GetNscMode)(THIS_ long paramC) PURE;
325 STDMETHOD(SetNscMode)(THIS_ long paramC) PURE;
326 STDMETHOD(GetSelectedItemName)(THIS_ long paramC, long param10) PURE;
327 STDMETHOD(BindToSelectedItemParent)(THIS_ long paramC, long param10, long param14) PURE;
329 STDMETHOD(RightPaneNavigationStarted)(THIS_ long paramC) PURE;
330 STDMETHOD(RightPaneNavigationFinished)(THIS_ long paramC) PURE;
331 /*** INscTree2 ***/
332 STDMETHOD(CreateTree2)(THIS_ long paramC, long param10, long param14, long param18) PURE;
333};

◆ DECLARE_INTERFACE_() [14/21]

DECLARE_INTERFACE_ ( IRegTreeOptions  ,
IUnknown   
)

Definition at line 474 of file shlobj_undoc.h.

475{
476 /*** IUnknown ***/
480 /*** IRegTreeOptions ***/
481 STDMETHOD(InitTree)(THIS_ HWND paramC, HKEY param10, char const *param14, char const *param18) PURE;
482 STDMETHOD(WalkTree)(THIS_ WALK_TREE_CMD paramC) PURE;
483 STDMETHOD(ToggleItem)(THIS_ HTREEITEM paramC) PURE;
484 STDMETHOD(ShowHelp)(THIS_ HTREEITEM paramC, unsigned long param10) PURE;
485};
void ShowHelp()
Definition: sdbinst.c:809

◆ DECLARE_INTERFACE_() [15/21]

DECLARE_INTERFACE_ ( IShellBrowserService  ,
IUnknown   
)

Definition at line 711 of file shlobj_undoc.h.

712{
713 /*** IUnknown ***/
717 /*** IShellBrowserService ***/
718 STDMETHOD(GetPropertyBag)(THIS_ long flags, REFIID riid, void **ppvObject) PURE;
719};
GLbitfield flags
Definition: glext.h:7161
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
Definition: wincrypt.h:6082

◆ DECLARE_INTERFACE_() [16/21]

DECLARE_INTERFACE_ ( IShellDesktopTray  ,
IUnknown   
)

Definition at line 237 of file shlobj_undoc.h.

238{
239 /*** IUnknown ***/
243 /*** IShellDesktopTray ***/
245 STDMETHOD(GetTrayWindow)(THIS_ HWND*) PURE;
246 STDMETHOD(RegisterDesktopWindow)(THIS_ HWND) PURE;
248};
HANDLE HWND
Definition: compat.h:19
@ Unknown
Definition: i8042prt.h:114

◆ DECLARE_INTERFACE_() [17/21]

DECLARE_INTERFACE_ ( IShellMenu2  ,
IShellMenu   
)

Definition at line 554 of file shlobj_undoc.h.

555{
556 /*** IUnknown ***/
560 /*** IShellMenu ***/
562 STDMETHOD(GetMenuInfo)(THIS_ IShellMenuCallback **ppsmc, UINT *puId, UINT *puIdAncestor, DWORD *pdwFlags) PURE;
563 STDMETHOD(SetShellFolder)(THIS_ IShellFolder *psf, LPCITEMIDLIST pidlFolder, HKEY hKey, DWORD dwFlags) PURE;
564 STDMETHOD(GetShellFolder)(THIS_ DWORD *pdwFlags, LPITEMIDLIST *ppidl, REFIID riid, void **ppv) PURE;
566 STDMETHOD(GetMenu)(THIS_ HMENU *phmenu, HWND *phwnd, DWORD *pdwFlags) PURE;
567 STDMETHOD(InvalidateItem)(THIS_ LPSMDATA psmd, DWORD dwFlags) PURE;
569 STDMETHOD(SetMenuToolbar)(THIS_ IUnknown *punk, DWORD dwFlags) PURE;
570 /*** IShellMenu2 ***/
572 STDMETHOD(SetToolbar)(THIS) PURE;
573 STDMETHOD(SetMinWidth)(THIS) PURE;
574 STDMETHOD(SetNoBorder)(THIS) PURE;
575 STDMETHOD(SetTheme)(THIS) PURE;
576};
FxAutoRegKey hKey
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:63
ITEMIDLIST UNALIGNED * LPITEMIDLIST
Definition: shtypes.idl:41
static HMENU hmenu
Definition: win.c:66
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
BOOL WINAPI SetMenu(_In_ HWND, _In_opt_ HMENU)
HMENU WINAPI GetSubMenu(_In_ HMENU, _In_ int)
BOOL WINAPI GetMenuInfo(_In_ HMENU, _Inout_ LPMENUINFO)
HMENU WINAPI GetMenu(_In_ HWND)

◆ DECLARE_INTERFACE_() [18/21]

DECLARE_INTERFACE_ ( IShellMenuAcc  ,
IUnknown   
)

Definition at line 651 of file shlobj_undoc.h.

652{
653 /*** IUnknown ***/
657 /*** IShellMenuAcc ***/
658 STDMETHOD(GetTop)(THIS) PURE;
659 STDMETHOD(GetBottom)(THIS) PURE;
660 STDMETHOD(GetTracked)(THIS) PURE;
661 STDMETHOD(GetParentSite)(THIS) PURE;
663 STDMETHOD(DoDefaultAction)(THIS) PURE;
666};
@ IsEmpty
Definition: atl_ax.c:995

◆ DECLARE_INTERFACE_() [19/21]

DECLARE_INTERFACE_ ( IStartMenuCallback  ,
IOleWindow   
)

Definition at line 182 of file shlobj_undoc.h.

183{
184 /*** IUnknown ***/
188 /*** IOleWindow methods ***/
190 STDMETHOD_(HRESULT,ContextSensitiveHelp)(THIS_ BOOL) PURE;
191 /*** IStartMenuCallback ***/
195};
#define BOOL
Definition: nt_native.h:43
void * PVOID
Definition: typedefs.h:50
#define AppendMenu
Definition: winuser.h:5740
HWND WINAPI GetWindow(_In_ HWND, _In_ UINT)

◆ DECLARE_INTERFACE_() [20/21]

DECLARE_INTERFACE_ ( ITrayPriv  ,
IUnknown   
)

Definition at line 793 of file shlobj_undoc.h.

794{
795 /*** IUnknown ***/
799 /*** IOleWindow methods ***/
801 STDMETHOD_(HRESULT,ContextSensitiveHelp)(THIS_ BOOL) PURE;
802 /*** ITrayPriv ***/
806};

◆ DECLARE_INTERFACE_() [21/21]

DECLARE_INTERFACE_ ( IWinEventHandler  ,
IUnknown   
)

Definition at line 603 of file shlobj_undoc.h.

604{
605 /*** IUnknown ***/
609 /*** IWinEventHandler ***/
610 STDMETHOD(OnWinEvent)(THIS_ HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *theResult) PURE;
611 STDMETHOD(IsWindowOwner)(THIS_ HWND hWnd) PURE;
612};
HWND hWnd
Definition: settings.c:17

◆ GetBitmap()

STDMETHOD() GetBitmap ( THIS_ HBITMAP phBitmap)

◆ GetIconSize()

STDMETHOD() GetIconSize ( THIS_ DWORD piIcon)

◆ Initialize()

STDMETHOD() Initialize ( THIS  )

◆ SetBitmap()

STDMETHOD() SetBitmap ( THIS_ HBITMAP  hBitmap)

◆ SetIconSize()

STDMETHOD() SetIconSize ( THIS_ DWORD  iIcon)

◆ SHCreateDesktop()

HANDLE WINAPI SHCreateDesktop ( IShellDesktopTray *  Tray)

Definition at line 551 of file CDesktopBrowser.cpp.

552{
553 if (Tray == NULL)
554 {
556 return NULL;
557 }
558
559 CComPtr<IShellBrowser> Browser;
562 return NULL;
563
564 return static_cast<HANDLE>(Browser.Detach());
565}
HRESULT CDesktopBrowser_CreateInstance(IShellDesktopTray *Tray, REFIID riid, void **ppv)
#define NULL
Definition: types.h:112
#define ERROR_INVALID_PARAMETER
Definition: compat.h:101
#define SetLastError(x)
Definition: compat.h:752
#define FAILED_UNEXPECTEDLY(hr)
Definition: precomp.h:121
HRESULT hr
Definition: shlfolder.c:183
#define IID_PPV_ARG(Itype, ppType)

◆ SHCreateFileDataObject()

HRESULT WINAPI SHCreateFileDataObject ( PCIDLIST_ABSOLUTE  pidlFolder,
UINT  cidl,
PCUITEMID_CHILD_ARRAY  apidl,
IDataObject pDataInner,
IDataObject **  ppDataObj 
)

Definition at line 423 of file CIDLDataObj.cpp.

424{
425 if (pDataInner)
427 return IDataObject_Constructor(NULL, pidlFolder, apidl, cidl, TRUE, ppDataObj);
428}
HRESULT IDataObject_Constructor(HWND hwndOwner, PCIDLIST_ABSOLUTE pMyPidl, PCUIDLIST_RELATIVE_ARRAY apidl, UINT cidl, BOOL bExtendedObject, IDataObject **dataObject)
#define UNIMPLEMENTED
Definition: debug.h:118
#define TRUE
Definition: types.h:120

◆ SHDesktopMessageLoop()

BOOL WINAPI SHDesktopMessageLoop ( HANDLE  hDesktop)

Definition at line 571 of file CDesktopBrowser.cpp.

572{
573 if (hDesktop == NULL)
574 {
576 return FALSE;
577 }
578
579 MSG Msg;
580 BOOL bRet;
581
582 CComPtr<IShellBrowser> browser;
583 CComPtr<IShellView> shellView;
584
585 browser.Attach(static_cast<IShellBrowser*>(hDesktop));
586 HRESULT hr = browser->QueryActiveShellView(&shellView);
588 return FALSE;
589
590 while ((bRet = ::GetMessageW(&Msg, NULL, 0, 0)) != 0)
591 {
592 if (bRet != -1)
593 {
594 if (shellView->TranslateAcceleratorW(&Msg) != S_OK)
595 {
598 }
599 }
600 }
601
602 return TRUE;
603}
struct @1628 Msg[]
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
#define S_OK
Definition: intsafe.h:52
TW_UINT32 TW_UINT16 TW_UINT16 MSG
Definition: twain.h:1829
BOOL WINAPI TranslateMessage(_In_ const MSG *)
BOOL WINAPI GetMessageW(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT)
LRESULT WINAPI DispatchMessageW(_In_ const MSG *)

◆ STDMETHOD_() [1/2]

STDMETHOD_ ( ULONG  ,
AddRef   
)
Initial value:

◆ STDMETHOD_() [2/2]

STDMETHOD_ ( ULONG  ,
Release   
)