ReactOS  0.4.15-dev-1397-g19779b3
dxdiag.h File Reference
#include <ole2.h>
Include dependency graph for dxdiag.h:

Go to the source code of this file.

Classes

struct  _DXDIAG_INIT_PARAMS
 

Macros

#define DXDIAG_DX9_SDK_VERSION   111
 
#define INTERFACE   IDxDiagContainer
 
#define INTERFACE   IDxDiagProvider
 
#define DXDIAG_E_INSUFFICIENT_BUFFER   ((HRESULT)0x8007007AL)
 
#define IDxDiagProvider_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDxDiagProvider_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDxDiagProvider_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDxDiagProvider_Initialize(p, a, b)   (p)->lpVtbl->Initialize(p,a,b)
 
#define IDxDiagProvider_GetRootContainer(p, a)   (p)->lpVtbl->GetRootContainer(p,a)
 
#define IDxDiagContainer_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDxDiagContainer_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDxDiagContainer_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDxDiagContainer_GetNumberOfChildContainers(p, a)   (p)->lpVtbl->GetNumberOfChildContainers(p,a)
 
#define IDxDiagContainer_EnumChildContainerNames(p, a, b, c)   (p)->lpVtbl->EnumChildContainerNames(p,a,b,c)
 
#define IDxDiagContainer_GetChildContainer(p, a, b)   (p)->lpVtbl->GetChildContainer(p,a,b)
 
#define IDxDiagContainer_GetNumberOfProps(p, a)   (p)->lpVtbl->GetNumberOfProps(p,a)
 
#define IDxDiagContainer_EnumProps(p, a, b)   (p)->lpVtbl->EnumProps(p,a,b,c)
 
#define IDxDiagContainer_GetProp(p, a, b)   (p)->lpVtbl->GetProp(p,a,b)
 

Typedefs

typedef struct _DXDIAG_INIT_PARAMS DXDIAG_INIT_PARAMS
 
typedef struct IDxDiagContainer * LPDXDIAGCONTAINER
 
typedef struct IDxDiagContainer * PDXDIAGCONTAINER
 
typedef struct IDxDiagProvider * LPDXDIAGPROVIDER
 
typedef struct IDxDiagProvider * PDXDIAGPROVIDER
 

Functions

 DEFINE_GUID (CLSID_DxDiagProvider, 0xA65B8071, 0x3BFE, 0x4213, 0x9A, 0x5B, 0x49, 0x1D, 0xA4, 0x46, 0x1C, 0xA7)
 
 DEFINE_GUID (IID_IDxDiagProvider, 0x9C6B4CB0, 0x23F8, 0x49CC, 0xA3, 0xED, 0x45, 0xA5, 0x50, 0x00, 0xA6, 0xD2)
 
 DEFINE_GUID (IID_IDxDiagContainer, 0x7D0F462F, 0x4064, 0x4862, 0xBC, 0x7F, 0x93, 0x3E, 0x50, 0x58, 0xC1, 0x0F)
 
 DECLARE_INTERFACE_ (IDxDiagContainer, IUnknown)
 
 DECLARE_INTERFACE_ (IDxDiagProvider, IUnknown)
 

Macro Definition Documentation

◆ DXDIAG_DX9_SDK_VERSION

#define DXDIAG_DX9_SDK_VERSION   111

Definition at line 6 of file dxdiag.h.

◆ DXDIAG_E_INSUFFICIENT_BUFFER

#define DXDIAG_E_INSUFFICIENT_BUFFER   ((HRESULT)0x8007007AL)

Definition at line 57 of file dxdiag.h.

◆ IDxDiagContainer_AddRef

#define IDxDiagContainer_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 65 of file dxdiag.h.

◆ IDxDiagContainer_EnumChildContainerNames

#define IDxDiagContainer_EnumChildContainerNames (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->EnumChildContainerNames(p,a,b,c)

Definition at line 68 of file dxdiag.h.

◆ IDxDiagContainer_EnumProps

#define IDxDiagContainer_EnumProps (   p,
  a,
  b 
)    (p)->lpVtbl->EnumProps(p,a,b,c)

Definition at line 71 of file dxdiag.h.

◆ IDxDiagContainer_GetChildContainer

#define IDxDiagContainer_GetChildContainer (   p,
  a,
  b 
)    (p)->lpVtbl->GetChildContainer(p,a,b)

Definition at line 69 of file dxdiag.h.

◆ IDxDiagContainer_GetNumberOfChildContainers

#define IDxDiagContainer_GetNumberOfChildContainers (   p,
  a 
)    (p)->lpVtbl->GetNumberOfChildContainers(p,a)

Definition at line 67 of file dxdiag.h.

◆ IDxDiagContainer_GetNumberOfProps

#define IDxDiagContainer_GetNumberOfProps (   p,
  a 
)    (p)->lpVtbl->GetNumberOfProps(p,a)

Definition at line 70 of file dxdiag.h.

◆ IDxDiagContainer_GetProp

#define IDxDiagContainer_GetProp (   p,
  a,
  b 
)    (p)->lpVtbl->GetProp(p,a,b)

Definition at line 72 of file dxdiag.h.

◆ IDxDiagContainer_QueryInterface

#define IDxDiagContainer_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 64 of file dxdiag.h.

◆ IDxDiagContainer_Release

#define IDxDiagContainer_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 66 of file dxdiag.h.

◆ IDxDiagProvider_AddRef

#define IDxDiagProvider_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 60 of file dxdiag.h.

◆ IDxDiagProvider_GetRootContainer

#define IDxDiagProvider_GetRootContainer (   p,
  a 
)    (p)->lpVtbl->GetRootContainer(p,a)

Definition at line 63 of file dxdiag.h.

◆ IDxDiagProvider_Initialize

#define IDxDiagProvider_Initialize (   p,
  a,
  b 
)    (p)->lpVtbl->Initialize(p,a,b)

Definition at line 62 of file dxdiag.h.

◆ IDxDiagProvider_QueryInterface

#define IDxDiagProvider_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 59 of file dxdiag.h.

◆ IDxDiagProvider_Release

#define IDxDiagProvider_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 61 of file dxdiag.h.

◆ INTERFACE [1/2]

#define INTERFACE   IDxDiagContainer

Definition at line 46 of file dxdiag.h.

◆ INTERFACE [2/2]

#define INTERFACE   IDxDiagProvider

Definition at line 46 of file dxdiag.h.

Typedef Documentation

◆ DXDIAG_INIT_PARAMS

◆ LPDXDIAGCONTAINER

typedef struct IDxDiagContainer* LPDXDIAGCONTAINER

Definition at line 27 of file dxdiag.h.

◆ LPDXDIAGPROVIDER

typedef struct IDxDiagProvider* LPDXDIAGPROVIDER

Definition at line 44 of file dxdiag.h.

◆ PDXDIAGCONTAINER

typedef struct IDxDiagContainer * PDXDIAGCONTAINER

Definition at line 27 of file dxdiag.h.

◆ PDXDIAGPROVIDER

typedef struct IDxDiagProvider * PDXDIAGPROVIDER

Definition at line 44 of file dxdiag.h.

Function Documentation

◆ DECLARE_INTERFACE_() [1/2]

DECLARE_INTERFACE_ ( IDxDiagContainer  ,
IUnknown   
)

Definition at line 30 of file dxdiag.h.

31 {
32 
36  STDMETHOD(GetNumberOfChildContainers) (THIS_ DWORD *pdwCount) PURE;
37  STDMETHOD(EnumChildContainerNames) (THIS_ DWORD dwIndex, LPWSTR pwszContainer, DWORD cchContainer) PURE;
38  STDMETHOD(GetChildContainer) (THIS_ LPCWSTR pwszContainer, IDxDiagContainer **ppInstance) PURE;
39  STDMETHOD(GetNumberOfProps) (THIS_ DWORD *pdwCount) PURE;
40  STDMETHOD(EnumPropNames) (THIS_ DWORD dwIndex, LPWSTR pwszPropName, DWORD cchPropName) PURE;
41  STDMETHOD(GetProp) (THIS_ LPCWSTR pwszPropName, VARIANT *pvarProp) PURE;
42 };
#define REFIID
Definition: guiddef.h:118
#define GetProp
Definition: winuser.h:5767
#define THIS_
Definition: basetyps.h:65
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
#define STDMETHOD(m)
Definition: basetyps.h:62
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ BOOLEAN Release
Definition: cdrom.h:920
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
WCHAR * LPWSTR
Definition: xmlstorage.h:184
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [2/2]

DECLARE_INTERFACE_ ( IDxDiagProvider  ,
IUnknown   
)

Definition at line 47 of file dxdiag.h.

48 {
53  STDMETHOD(GetRootContainer) (THIS_ IDxDiagContainer **ppInstance) PURE;
54 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
#define STDMETHOD(m)
Definition: basetyps.h:62
_In_ BOOLEAN Release
Definition: cdrom.h:920
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

◆ DEFINE_GUID() [1/3]

DEFINE_GUID ( CLSID_DxDiagProvider  ,
0xA65B8071  ,
0x3BFE  ,
0x4213  ,
0x9A  ,
0x5B  ,
0x49  ,
0x1D  ,
0xA4  ,
0x46  ,
0x1C  ,
0xA7   
)

◆ DEFINE_GUID() [2/3]

DEFINE_GUID ( IID_IDxDiagProvider  ,
0x9C6B4CB0  ,
0x23F8  ,
0x49CC  ,
0xA3  ,
0xED  ,
0x45  ,
0xA5  ,
0x50  ,
0x00  ,
0xA6  ,
0xD2   
)

◆ DEFINE_GUID() [3/3]

DEFINE_GUID ( IID_IDxDiagContainer  ,
0x7D0F462F  ,
0x4064  ,
0x4862  ,
0xBC  ,
0x7F  ,
0x93  ,
0x3E  ,
0x50  ,
0x58  ,
0xC1  ,
0x0F   
)