ReactOS 0.4.15-dev-7834-g00c4b3d
deskmon.h
Go to the documentation of this file.
1#pragma once
2
3typedef struct _DESKMONINFO
4{
8
9typedef 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
38extern 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
45 LPVOID *ppv);
46
47VOID
49
52 REFIID iid,
53 PVOID *pvObject);
54
57
60
63 LPCITEMIDLIST pidlFolder,
64 IDataObject *pdtobj,
65 HKEY hkeyProgID);
66
69 LPFNADDPROPSHEETPAGE pfnAddPage,
71
74 EXPPS uPageID,
75 LPFNADDPROPSHEETPAGE pfnReplacePage,
77
78static const GUID CLSID_IDeskMonitor = {0x42071713,0x76d4,0x11d1,{0x8b,0x24,0x00,0xa0,0xc9,0x06,0x8f,0xf3}};
79
#define __cdecl
Definition: accygwin.h:79
#define STDMETHODCALLTYPE
Definition: bdasup.h:9
LPARAM lParam
Definition: combotst.c:139
HRESULT IDeskMonitor_ReplacePage(PDESKMONITOR This, EXPPS uPageID, LPFNADDPROPSHEETPAGE pfnReplacePage, LPARAM lParam)
Definition: deskmon.c:834
struct _DESKMONINFO * PDESKMONINFO
HRESULT IDeskMonitor_Initialize(PDESKMONITOR This, LPCITEMIDLIST pidlFolder, IDataObject *pdtobj, HKEY hkeyProgID)
Definition: deskmon.c:788
ULONG IDeskMonitor_Release(PDESKMONITOR This)
Definition: deskmon.c:735
HRESULT STDMETHODCALLTYPE IDeskMonitor_QueryInterface(PDESKMONITOR This, REFIID iid, PVOID *pvObject)
Definition: deskmon.c:754
HRESULT IDeskMonitor_Constructor(REFIID riid, LPVOID *ppv)
Definition: deskmon.c:844
ULONG IDeskMonitor_AddRef(PDESKMONITOR This)
Definition: deskmon.c:723
struct _DESKMONITOR DESKMONITOR
VOID IDeskMonitor_InitIface(PDESKMONITOR This)
Definition: shxiface.c:176
struct _DESKMONINFO DESKMONINFO
static const GUID CLSID_IDeskMonitor
Definition: deskmon.h:78
struct _DESKMONITOR * PDESKMONITOR
LONG dll_refs
Definition: devenum_main.c:28
HRESULT IDeskMonitor_AddPages(PDESKMONITOR This, LPFNADDPROPSHEETPAGE pfnAddPage, LPARAM lParam)
Definition: deskmon.c:810
unsigned long DWORD
Definition: ntddk_ex.h:95
#define DbgPrint
Definition: hal.h:12
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
CONST CHAR * PCCH
Definition: ntbasedef.h:392
long LONG
Definition: pedump.c:60
BOOL(CALLBACK * LPFNADDPROPSHEETPAGE)(HPROPSHEETPAGE, LPARAM)
Definition: prsht.h:327
#define REFIID
Definition: guiddef.h:118
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
struct _DESKMONINFO * Next
Definition: deskmon.h:6
DISPLAY_DEVICE dd
Definition: deskmon.h:5
PDEVMODEW lpSelDevMode
Definition: deskmon.h:23
DWORD bModesPruned
Definition: deskmon.h:30
DWORD dwMonitorCount
Definition: deskmon.h:20
DWORD bKeyIsReadOnly
Definition: deskmon.h:31
const struct IShellPropSheetExtVtbl * lpIShellPropSheetExtVtbl
Definition: deskmon.h:11
DWORD ref
Definition: deskmon.h:14
PDEVMODEW lpDevModeOnInit
Definition: deskmon.h:24
const struct IClassFactoryVtbl * lpIClassFactoryVtbl
Definition: deskmon.h:13
const struct IShellExtInitVtbl * lpIShellExtInitVtbl
Definition: deskmon.h:12
DWORD dwFlags
Definition: deskmon.h:27
IDataObject * pdtobj
Definition: deskmon.h:18
HWND hwndDlg
Definition: deskmon.h:16
DWORD bPruningOn
Definition: deskmon.h:32
LPTSTR lpDisplayDevice
Definition: deskmon.h:19
PDESKMONINFO SelMonitor
Definition: deskmon.h:22
PDESK_EXT_INTERFACE DeskExtInterface
Definition: deskmon.h:17
PDESKMONINFO Monitors
Definition: deskmon.h:21
uint32_t ULONG
Definition: typedefs.h:59
LONG_PTR LPARAM
Definition: windef.h:208
CHAR * LPTSTR
Definition: xmlstorage.h:192