ReactOS 0.4.16-dev-250-g3ecd236
deskadp.h
Go to the documentation of this file.
1#pragma once
2
3typedef struct _DESKDISPLAYADAPTER
4{
5 const struct IShellPropSheetExtVtbl *lpIShellPropSheetExtVtbl;
6 const struct IShellExtInitVtbl *lpIShellExtInitVtbl;
7 const struct IClassFactoryVtbl *lpIClassFactoryVtbl;
9
17
18extern LONG dll_refs;
19
20#define impl_to_interface(impl,iface) (struct iface *)(&(impl)->lp##iface##Vtbl)
21#define interface_to_impl(instance,iface) ((PDESKDISPLAYADAPTER)((ULONG_PTR)instance - FIELD_OFFSET(DESKDISPLAYADAPTER,lp##iface##Vtbl)))
22
25 LPVOID *ppv);
26
27VOID
29
32 REFIID iid,
33 PVOID *pvObject);
34
37
40
43 LPCITEMIDLIST pidlFolder,
44 IDataObject *pdtobj,
45 HKEY hkeyProgID);
46
49 LPFNADDPROPSHEETPAGE pfnAddPage,
51
54 EXPPS uPageID,
55 LPFNADDPROPSHEETPAGE pfnReplacePage,
57
58static const GUID CLSID_IDeskDisplayAdapter = {0x42071712,0x76d4,0x11d1,{0x8b,0x24,0x00,0xa0,0xc9,0x06,0x8f,0xf3}};
59
#define __cdecl
Definition: accygwin.h:79
#define STDMETHODCALLTYPE
Definition: bdasup.h:9
LPARAM lParam
Definition: combotst.c:139
HRESULT IDeskDisplayAdapter_Initialize(PDESKDISPLAYADAPTER This, LPCITEMIDLIST pidlFolder, IDataObject *pdtobj, HKEY hkeyProgID)
Definition: deskadp.c:541
ULONG IDeskDisplayAdapter_Release(PDESKDISPLAYADAPTER This)
Definition: deskadp.c:488
HRESULT IDeskDisplayAdapter_Constructor(REFIID riid, LPVOID *ppv)
Definition: deskadp.c:597
struct _DESKDISPLAYADAPTER DESKDISPLAYADAPTER
HRESULT STDMETHODCALLTYPE IDeskDisplayAdapter_QueryInterface(PDESKDISPLAYADAPTER This, REFIID iid, PVOID *pvObject)
Definition: deskadp.c:507
static const GUID CLSID_IDeskDisplayAdapter
Definition: deskadp.h:58
struct _DESKDISPLAYADAPTER * PDESKDISPLAYADAPTER
HRESULT IDeskDisplayAdapter_AddPages(PDESKDISPLAYADAPTER This, LPFNADDPROPSHEETPAGE pfnAddPage, LPARAM lParam)
Definition: deskadp.c:563
LONG dll_refs
Definition: devenum_main.c:28
ULONG IDeskDisplayAdapter_AddRef(PDESKDISPLAYADAPTER This)
Definition: deskadp.c:476
VOID IDeskDisplayAdapter_InitIface(PDESKDISPLAYADAPTER This)
Definition: shxiface.c:176
HRESULT IDeskDisplayAdapter_ReplacePage(PDESKDISPLAYADAPTER This, EXPPS uPageID, LPFNADDPROPSHEETPAGE pfnReplacePage, LPARAM lParam)
Definition: deskadp.c:587
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:400
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
const struct IClassFactoryVtbl * lpIClassFactoryVtbl
Definition: deskadp.h:7
LPTSTR lpDeviceId
Definition: deskadp.h:13
PDEVMODEW lpDevModeOnInit
Definition: deskadp.h:15
const struct IShellPropSheetExtVtbl * lpIShellPropSheetExtVtbl
Definition: deskadp.h:5
PDESK_EXT_INTERFACE DeskExtInterface
Definition: deskadp.h:11
PDEVMODEW lpSelDevMode
Definition: deskadp.h:14
IDataObject * pdtobj
Definition: deskadp.h:12
const struct IShellExtInitVtbl * lpIShellExtInitVtbl
Definition: deskadp.h:6
uint32_t ULONG
Definition: typedefs.h:59
LONG_PTR LPARAM
Definition: windef.h:208
CHAR * LPTSTR
Definition: xmlstorage.h:192