ReactOS  0.4.15-dev-1201-gb2cf5a4
deskmon.h
Go to the documentation of this file.
1 #pragma once
2 
3 typedef struct _DESKMONINFO
4 {
6  struct _DESKMONINFO *Next;
8 
9 typedef struct _DESKMONITOR
10 {
11  const struct IShellPropSheetExtVtbl *lpIShellPropSheetExtVtbl;
12  const struct IShellExtInitVtbl *lpIShellExtInitVtbl;
13  const struct IClassFactoryVtbl *lpIClassFactoryVtbl;
15 
25  union
26  {
28  struct
29  {
33  };
34  };
35 
37 
38 extern LONG dll_refs;
39 
40 #define impl_to_interface(impl,iface) (struct iface *)(&(impl)->lp##iface##Vtbl)
41 #define interface_to_impl(instance,iface) ((PDESKMONITOR)((ULONG_PTR)instance - FIELD_OFFSET(DESKMONITOR,lp##iface##Vtbl)))
42 
43 HRESULT
45  LPVOID *ppv);
46 
47 VOID
49 
52  REFIID iid,
53  PVOID *pvObject);
54 
55 ULONG
57 
58 ULONG
60 
61 HRESULT
63  LPCITEMIDLIST pidlFolder,
64  IDataObject *pdtobj,
65  HKEY hkeyProgID);
66 
67 HRESULT
69  LPFNADDPROPSHEETPAGE pfnAddPage,
70  LPARAM lParam);
71 
72 HRESULT
74  EXPPS uPageID,
75  LPFNADDPROPSHEETPAGE pfnReplacePage,
76  LPARAM lParam);
77 
78 static const GUID CLSID_IDeskMonitor = {0x42071713,0x76d4,0x11d1,{0x8b,0x24,0x00,0xa0,0xc9,0x06,0x8f,0xf3}};
79 
LPTSTR lpDisplayDevice
Definition: deskmon.h:19
PDEVMODEW lpSelDevMode
Definition: deskmon.h:23
#define REFIID
Definition: guiddef.h:118
struct _DESKMONINFO * Next
Definition: deskmon.h:6
IDataObject * pdtobj
Definition: deskmon.h:18
#define __cdecl
Definition: accygwin.h:79
REFIID riid
Definition: precomp.h:44
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
ULONG IDeskMonitor_Release(PDESKMONITOR This)
Definition: deskmon.c:602
REFIID LPVOID * ppv
Definition: atlbase.h:39
DWORD bPruningOn
Definition: deskmon.h:32
LONG dll_refs
Definition: devenum_main.c:28
BOOL(CALLBACK * LPFNADDPROPSHEETPAGE)(HPROPSHEETPAGE, LPARAM)
Definition: prsht.h:327
DISPLAY_DEVICE dd
Definition: deskmon.h:5
HRESULT IDeskMonitor_AddPages(PDESKMONITOR This, LPFNADDPROPSHEETPAGE pfnAddPage, LPARAM lParam)
Definition: deskmon.c:677
CHAR * LPTSTR
Definition: xmlstorage.h:192
PDESK_EXT_INTERFACE DeskExtInterface
Definition: deskmon.h:17
PDEVMODEW lpDevModeOnInit
Definition: deskmon.h:24
HRESULT STDMETHODCALLTYPE IDeskMonitor_QueryInterface(PDESKMONITOR This, REFIID iid, PVOID *pvObject)
Definition: deskmon.c:621
struct _DESKMONITOR * PDESKMONITOR
HRESULT IDeskMonitor_Initialize(PDESKMONITOR This, LPCITEMIDLIST pidlFolder, IDataObject *pdtobj, HKEY hkeyProgID)
Definition: deskmon.c:655
struct _DESKMONINFO DESKMONINFO
DWORD dwFlags
Definition: deskmon.h:27
DWORD dwMonitorCount
Definition: deskmon.h:20
long LONG
Definition: pedump.c:60
HRESULT IDeskMonitor_Constructor(REFIID riid, LPVOID *ppv)
Definition: deskmon.c:711
DWORD ref
Definition: deskmon.h:14
struct _DESKMONITOR DESKMONITOR
LONG_PTR LPARAM
Definition: windef.h:208
const struct IClassFactoryVtbl * lpIClassFactoryVtbl
Definition: deskmon.h:13
PDESKMONINFO Monitors
Definition: deskmon.h:21
CONST CHAR * PCCH
Definition: ntbasedef.h:393
LONG HRESULT
Definition: typedefs.h:79
#define STDMETHODCALLTYPE
Definition: bdasup.h:9
ULONG IDeskMonitor_AddRef(PDESKMONITOR This)
Definition: deskmon.c:590
unsigned long DWORD
Definition: ntddk_ex.h:95
VOID IDeskMonitor_InitIface(PDESKMONITOR This)
Definition: shxiface.c:176
const struct IShellExtInitVtbl * lpIShellExtInitVtbl
Definition: deskmon.h:12
HRESULT IDeskMonitor_ReplacePage(PDESKMONITOR This, EXPPS uPageID, LPFNADDPROPSHEETPAGE pfnReplacePage, LPARAM lParam)
Definition: deskmon.c:701
DWORD bModesPruned
Definition: deskmon.h:30
PDESKMONINFO SelMonitor
Definition: deskmon.h:22
DWORD bKeyIsReadOnly
Definition: deskmon.h:31
unsigned int ULONG
Definition: retypes.h:1
struct _DESKMONINFO * PDESKMONINFO
const struct IShellPropSheetExtVtbl * lpIShellPropSheetExtVtbl
Definition: deskmon.h:11
ULONG __cdecl DbgPrint(PCCH Format,...)
Definition: debug.c:427
LPARAM lParam
Definition: combotst.c:139
static const GUID CLSID_IDeskMonitor
Definition: deskmon.h:78
HWND hwndDlg
Definition: deskmon.h:16