ReactOS  0.4.15-dev-1033-gd7d716a
dxdiag.h File Reference
#include <ole2.h>
Include dependency graph for dxdiag.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _DXDIAG_INIT_PARAMS
 

Macros

#define DXDIAG_DX9_SDK_VERSION   111
 
#define _FACDXDIAG   0x007
 
#define MAKE_DXDIAGHRESULT(code)   MAKE_HRESULT( 1, _FACDXDIAG, code )
 
#define DXDIAG_E_INSUFFICIENT_BUFFER   MAKE_DXDIAGHRESULT(0x007A)
 
#define INTERFACE   IDxDiagContainer
 
#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_EnumPropNames(p, a, b, c)   (p)->lpVtbl->EnumPropNames(p,a,b,c)
 
#define IDxDiagContainer_GetProp(p, a, b)   (p)->lpVtbl->GetProp(p,a,b)
 
#define INTERFACE   IDxDiagProvider
 
#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)   (p)->lpVtbl->Initialize(p,a)
 
#define IDxDiagProvider_GetRootContainer(p, a)   (p)->lpVtbl->GetRootContainer(p,a)
 

Typedefs

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

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

◆ _FACDXDIAG

#define _FACDXDIAG   0x007

Definition at line 33 of file dxdiag.h.

◆ DXDIAG_DX9_SDK_VERSION

#define DXDIAG_DX9_SDK_VERSION   111

Definition at line 31 of file dxdiag.h.

◆ DXDIAG_E_INSUFFICIENT_BUFFER

#define DXDIAG_E_INSUFFICIENT_BUFFER   MAKE_DXDIAGHRESULT(0x007A)

Definition at line 39 of file dxdiag.h.

◆ IDxDiagContainer_AddRef

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

Definition at line 94 of file dxdiag.h.

◆ IDxDiagContainer_EnumChildContainerNames

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

Definition at line 98 of file dxdiag.h.

◆ IDxDiagContainer_EnumPropNames

#define IDxDiagContainer_EnumPropNames (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->EnumPropNames(p,a,b,c)

Definition at line 101 of file dxdiag.h.

◆ IDxDiagContainer_GetChildContainer

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

Definition at line 99 of file dxdiag.h.

◆ IDxDiagContainer_GetNumberOfChildContainers

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

Definition at line 97 of file dxdiag.h.

◆ IDxDiagContainer_GetNumberOfProps

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

Definition at line 100 of file dxdiag.h.

◆ IDxDiagContainer_GetProp

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

Definition at line 102 of file dxdiag.h.

◆ IDxDiagContainer_QueryInterface

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

Definition at line 93 of file dxdiag.h.

◆ IDxDiagContainer_Release

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

Definition at line 95 of file dxdiag.h.

◆ IDxDiagProvider_AddRef

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

Definition at line 136 of file dxdiag.h.

◆ IDxDiagProvider_GetRootContainer

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

Definition at line 140 of file dxdiag.h.

◆ IDxDiagProvider_Initialize

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

Definition at line 139 of file dxdiag.h.

◆ IDxDiagProvider_QueryInterface

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

Definition at line 135 of file dxdiag.h.

◆ IDxDiagProvider_Release

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

Definition at line 137 of file dxdiag.h.

◆ INTERFACE [1/2]

#define INTERFACE   IDxDiagContainer

Definition at line 120 of file dxdiag.h.

◆ INTERFACE [2/2]

#define INTERFACE   IDxDiagProvider

Definition at line 120 of file dxdiag.h.

◆ MAKE_DXDIAGHRESULT

#define MAKE_DXDIAGHRESULT (   code)    MAKE_HRESULT( 1, _FACDXDIAG, code )

Definition at line 34 of file dxdiag.h.

Typedef Documentation

◆ DXDIAG_INIT_PARAMS

◆ LPDXDIAGCONTAINER

typedef struct IDxDiagContainer* LPDXDIAGCONTAINER

Definition at line 65 of file dxdiag.h.

◆ LPDXDIAGPROVIDER

typedef struct IDxDiagProvider* LPDXDIAGPROVIDER

Definition at line 64 of file dxdiag.h.

◆ PDXDIAGCONTAINER

typedef struct IDxDiagContainer * PDXDIAGCONTAINER

Definition at line 65 of file dxdiag.h.

◆ PDXDIAGPROVIDER

typedef struct IDxDiagProvider * PDXDIAGPROVIDER

Definition at line 64 of file dxdiag.h.

Function Documentation

◆ DECLARE_INTERFACE_() [1/2]

DECLARE_INTERFACE_ ( IDxDiagContainer  ,
IUnknown   
)

Definition at line 75 of file dxdiag.h.

76 {
77  /*** IUnknown methods ***/
81  /*** IDxDiagContainer methods ***/
82  STDMETHOD(GetNumberOfChildContainers)(THIS_ DWORD* pdwCount) PURE;
83  STDMETHOD(EnumChildContainerNames)(THIS_ DWORD dwIndex, LPWSTR pwszContainer, DWORD cchContainer) PURE;
84  STDMETHOD(GetChildContainer)(THIS_ LPCWSTR pwszContainer, IDxDiagContainer** ppInstance) PURE;
85  STDMETHOD(GetNumberOfProps)(THIS_ DWORD* pdwCount) PURE;
86  STDMETHOD(EnumPropNames)(THIS_ DWORD dwIndex, LPWSTR pwszPropName, DWORD cchPropName) PURE;
87  STDMETHOD(GetProp)(THIS_ LPCWSTR pwszPropName, VARIANT* pvarProp) PURE;
88 };
#define REFIID
Definition: guiddef.h:118
#define GetProp
Definition: winuser.h:5767
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:1122
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
LONG HRESULT
Definition: typedefs.h:79
unsigned long DWORD
Definition: ntddk_ex.h:95
REFIID LPVOID * ppvObject
Definition: precomp.h:44
#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 121 of file dxdiag.h.

122 {
123  /*** IUnknown methods ***/
127  /*** IDxDiagProvider methods ***/
129  STDMETHOD(GetRootContainer)(THIS_ IDxDiagContainer** ppInstance) PURE;
130 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:1122
#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
LONG HRESULT
Definition: typedefs.h:79
REFIID LPVOID * ppvObject
Definition: precomp.h:44
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   
)