1 /*** Autogenerated by WIDL 6.4 from include/dxgidebug.idl - Do not edit ***/
2 
3 #ifdef _WIN32
4 #ifndef __REQUIRED_RPCNDR_H_VERSION__
5 #define __REQUIRED_RPCNDR_H_VERSION__ 475
6 #endif
7 #include <rpc.h>
8 #include <rpcndr.h>
9 #endif
10 
11 #ifndef COM_NO_WINDOWS_H
12 #include <windows.h>
13 #include <ole2.h>
14 #endif
15 
16 #ifndef __dxgidebug_h__
17 #define __dxgidebug_h__
18 
19 /* Forward declarations */
20 
21 #ifndef __IDXGIDebug_FWD_DEFINED__
22 #define __IDXGIDebug_FWD_DEFINED__
23 typedef interface IDXGIDebug IDXGIDebug;
24 #ifdef __cplusplus
25 interface IDXGIDebug;
26 #endif /* __cplusplus */
27 #endif
28 
29 /* Headers for imported files */
30 
31 #include <oaidl.h>
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
37 DEFINE_GUID(DXGI_DEBUG_ALL,   0xe48ae283, 0xda80, 0x490b,0x87, 0xe6, 0x43, 0xe9, 0xa9, 0xcf, 0xda, 0x08);
38 DEFINE_GUID(DXGI_DEBUG_DX,    0x35cdd7fc, 0x13b2, 0x421d,0xa5, 0xd7, 0x7e, 0x44, 0x51, 0x28, 0x7d, 0x64);
39 DEFINE_GUID(DXGI_DEBUG_DXGI,  0x25cddaa4, 0xb1c6, 0x47e1,0xac, 0x3e, 0x98, 0x87, 0x5b, 0x5a, 0x2e, 0x2a);
40 DEFINE_GUID(DXGI_DEBUG_APP,   0x06cd6e01, 0x4219, 0x4ebd,0x87, 0x90, 0x27, 0xed, 0x23, 0x36, 0x0c, 0x62);
41 typedef enum DXGI_DEBUG_RLO_FLAGS {
42     DXGI_DEBUG_RLO_SUMMARY = 0x1,
43     DXGI_DEBUG_RLO_DETAIL = 0x2,
44     DXGI_DEBUG_RLO_IGNORE_INTERNAL = 0x4,
45     DXGI_DEBUG_RLO_ALL = 0x7
46 } DXGI_DEBUG_RLO_FLAGS;
47 /*****************************************************************************
48  * IDXGIDebug interface
49  */
50 #ifndef __IDXGIDebug_INTERFACE_DEFINED__
51 #define __IDXGIDebug_INTERFACE_DEFINED__
52 
53 DEFINE_GUID(IID_IDXGIDebug, 0x119e7452, 0xde9e, 0x40fe, 0x88,0x06, 0x88,0xf9,0x0c,0x12,0xb4,0x41);
54 #if defined(__cplusplus) && !defined(CINTERFACE)
55 MIDL_INTERFACE("119e7452-de9e-40fe-8806-88f90c12b441")
56 IDXGIDebug : public IUnknown
57 {
58     virtual HRESULT STDMETHODCALLTYPE ReportLiveObjects(
59         GUID apiid,
60         DXGI_DEBUG_RLO_FLAGS flags) = 0;
61 
62 };
63 #ifdef __CRT_UUID_DECL
64 __CRT_UUID_DECL(IDXGIDebug, 0x119e7452, 0xde9e, 0x40fe, 0x88,0x06, 0x88,0xf9,0x0c,0x12,0xb4,0x41)
65 #endif
66 #else
67 typedef struct IDXGIDebugVtbl {
68     BEGIN_INTERFACE
69 
70     /*** IUnknown methods ***/
71     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
72         IDXGIDebug *This,
73         REFIID riid,
74         void **ppvObject);
75 
76     ULONG (STDMETHODCALLTYPE *AddRef)(
77         IDXGIDebug *This);
78 
79     ULONG (STDMETHODCALLTYPE *Release)(
80         IDXGIDebug *This);
81 
82     /*** IDXGIDebug methods ***/
83     HRESULT (STDMETHODCALLTYPE *ReportLiveObjects)(
84         IDXGIDebug *This,
85         GUID apiid,
86         DXGI_DEBUG_RLO_FLAGS flags);
87 
88     END_INTERFACE
89 } IDXGIDebugVtbl;
90 
91 interface IDXGIDebug {
92     CONST_VTBL IDXGIDebugVtbl* lpVtbl;
93 };
94 
95 #ifdef COBJMACROS
96 #ifndef WIDL_C_INLINE_WRAPPERS
97 /*** IUnknown methods ***/
98 #define IDXGIDebug_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
99 #define IDXGIDebug_AddRef(This) (This)->lpVtbl->AddRef(This)
100 #define IDXGIDebug_Release(This) (This)->lpVtbl->Release(This)
101 /*** IDXGIDebug methods ***/
102 #define IDXGIDebug_ReportLiveObjects(This,apiid,flags) (This)->lpVtbl->ReportLiveObjects(This,apiid,flags)
103 #else
104 /*** IUnknown methods ***/
105 static FORCEINLINE HRESULT IDXGIDebug_QueryInterface(IDXGIDebug* This,REFIID riid,void **ppvObject) {
106     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
107 }
108 static FORCEINLINE ULONG IDXGIDebug_AddRef(IDXGIDebug* This) {
109     return This->lpVtbl->AddRef(This);
110 }
111 static FORCEINLINE ULONG IDXGIDebug_Release(IDXGIDebug* This) {
112     return This->lpVtbl->Release(This);
113 }
114 /*** IDXGIDebug methods ***/
115 static FORCEINLINE HRESULT IDXGIDebug_ReportLiveObjects(IDXGIDebug* This,GUID apiid,DXGI_DEBUG_RLO_FLAGS flags) {
116     return This->lpVtbl->ReportLiveObjects(This,apiid,flags);
117 }
118 #endif
119 #endif
120 
121 #endif
122 
123 
124 #endif  /* __IDXGIDebug_INTERFACE_DEFINED__ */
125 
126 /* Begin additional prototypes for all interfaces */
127 
128 
129 /* End additional prototypes */
130 
131 #ifdef __cplusplus
132 }
133 #endif
134 
135 #endif /* __dxgidebug_h__ */
136