d3d12compatibility.h 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739
  1. /*-------------------------------------------------------------------------------------
  2. *
  3. * Copyright (c) Microsoft Corporation
  4. * Licensed under the MIT license
  5. *
  6. *-------------------------------------------------------------------------------------*/
  7. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  8. /* File created by MIDL compiler version 8.01.0628 */
  9. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  10. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  11. #define __REQUIRED_RPCNDR_H_VERSION__ 500
  12. #endif
  13. /* verify that the <rpcsal.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCSAL_H_VERSION__
  15. #define __REQUIRED_RPCSAL_H_VERSION__ 100
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif /* __RPCNDR_H_VERSION__ */
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __d3d12compatibility_h__
  27. #define __d3d12compatibility_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. #ifndef DECLSPEC_XFGVIRT
  32. #if defined(_CONTROL_FLOW_GUARD_XFG)
  33. #define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func))
  34. #else
  35. #define DECLSPEC_XFGVIRT(base, func)
  36. #endif
  37. #endif
  38. /* Forward Declarations */
  39. #ifndef __ID3D12CompatibilityDevice_FWD_DEFINED__
  40. #define __ID3D12CompatibilityDevice_FWD_DEFINED__
  41. typedef interface ID3D12CompatibilityDevice ID3D12CompatibilityDevice;
  42. #endif /* __ID3D12CompatibilityDevice_FWD_DEFINED__ */
  43. #ifndef __D3D11On12CreatorID_FWD_DEFINED__
  44. #define __D3D11On12CreatorID_FWD_DEFINED__
  45. typedef interface D3D11On12CreatorID D3D11On12CreatorID;
  46. #endif /* __D3D11On12CreatorID_FWD_DEFINED__ */
  47. #ifndef __D3D9On12CreatorID_FWD_DEFINED__
  48. #define __D3D9On12CreatorID_FWD_DEFINED__
  49. typedef interface D3D9On12CreatorID D3D9On12CreatorID;
  50. #endif /* __D3D9On12CreatorID_FWD_DEFINED__ */
  51. #ifndef __OpenGLOn12CreatorID_FWD_DEFINED__
  52. #define __OpenGLOn12CreatorID_FWD_DEFINED__
  53. typedef interface OpenGLOn12CreatorID OpenGLOn12CreatorID;
  54. #endif /* __OpenGLOn12CreatorID_FWD_DEFINED__ */
  55. #ifndef __OpenCLOn12CreatorID_FWD_DEFINED__
  56. #define __OpenCLOn12CreatorID_FWD_DEFINED__
  57. typedef interface OpenCLOn12CreatorID OpenCLOn12CreatorID;
  58. #endif /* __OpenCLOn12CreatorID_FWD_DEFINED__ */
  59. #ifndef __DirectMLTensorFlowCreatorID_FWD_DEFINED__
  60. #define __DirectMLTensorFlowCreatorID_FWD_DEFINED__
  61. typedef interface DirectMLTensorFlowCreatorID DirectMLTensorFlowCreatorID;
  62. #endif /* __DirectMLTensorFlowCreatorID_FWD_DEFINED__ */
  63. #ifndef __DirectMLPyTorchCreatorID_FWD_DEFINED__
  64. #define __DirectMLPyTorchCreatorID_FWD_DEFINED__
  65. typedef interface DirectMLPyTorchCreatorID DirectMLPyTorchCreatorID;
  66. #endif /* __DirectMLPyTorchCreatorID_FWD_DEFINED__ */
  67. /* header files for imported files */
  68. #include "oaidl.h"
  69. #include "ocidl.h"
  70. #include "d3d11on12.h"
  71. #ifdef __cplusplus
  72. extern "C"{
  73. #endif
  74. /* interface __MIDL_itf_d3d12compatibility_0000_0000 */
  75. /* [local] */
  76. #include <winapifamily.h>
  77. #pragma region Desktop Family
  78. #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_GAMES)
  79. typedef
  80. enum D3D12_COMPATIBILITY_SHARED_FLAGS
  81. {
  82. D3D12_COMPATIBILITY_SHARED_FLAG_NONE = 0,
  83. D3D12_COMPATIBILITY_SHARED_FLAG_NON_NT_HANDLE = 0x1,
  84. D3D12_COMPATIBILITY_SHARED_FLAG_KEYED_MUTEX = 0x2,
  85. D3D12_COMPATIBILITY_SHARED_FLAG_9_ON_12 = 0x4
  86. } D3D12_COMPATIBILITY_SHARED_FLAGS;
  87. DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMPATIBILITY_SHARED_FLAGS );
  88. typedef
  89. enum D3D12_REFLECT_SHARED_PROPERTY
  90. {
  91. D3D12_REFLECT_SHARED_PROPERTY_D3D11_RESOURCE_FLAGS = 0,
  92. D3D12_REFELCT_SHARED_PROPERTY_COMPATIBILITY_SHARED_FLAGS = ( D3D12_REFLECT_SHARED_PROPERTY_D3D11_RESOURCE_FLAGS + 1 ) ,
  93. D3D12_REFLECT_SHARED_PROPERTY_NON_NT_SHARED_HANDLE = ( D3D12_REFELCT_SHARED_PROPERTY_COMPATIBILITY_SHARED_FLAGS + 1 )
  94. } D3D12_REFLECT_SHARED_PROPERTY;
  95. extern RPC_IF_HANDLE __MIDL_itf_d3d12compatibility_0000_0000_v0_0_c_ifspec;
  96. extern RPC_IF_HANDLE __MIDL_itf_d3d12compatibility_0000_0000_v0_0_s_ifspec;
  97. #ifndef __ID3D12CompatibilityDevice_INTERFACE_DEFINED__
  98. #define __ID3D12CompatibilityDevice_INTERFACE_DEFINED__
  99. /* interface ID3D12CompatibilityDevice */
  100. /* [unique][local][object][uuid] */
  101. EXTERN_C const IID IID_ID3D12CompatibilityDevice;
  102. #if defined(__cplusplus) && !defined(CINTERFACE)
  103. MIDL_INTERFACE("8f1c0e3c-fae3-4a82-b098-bfe1708207ff")
  104. ID3D12CompatibilityDevice : public IUnknown
  105. {
  106. public:
  107. virtual HRESULT STDMETHODCALLTYPE CreateSharedResource(
  108. _In_ const D3D12_HEAP_PROPERTIES *pHeapProperties,
  109. D3D12_HEAP_FLAGS HeapFlags,
  110. _In_ const D3D12_RESOURCE_DESC *pDesc,
  111. D3D12_RESOURCE_STATES InitialResourceState,
  112. _In_opt_ const D3D12_CLEAR_VALUE *pOptimizedClearValue,
  113. _In_opt_ const D3D11_RESOURCE_FLAGS *pFlags11,
  114. D3D12_COMPATIBILITY_SHARED_FLAGS CompatibilityFlags,
  115. _In_opt_ ID3D12LifetimeTracker *pLifetimeTracker,
  116. _In_opt_ ID3D12SwapChainAssistant *pOwningSwapchain,
  117. REFIID riid,
  118. _COM_Outptr_opt_ void **ppResource) = 0;
  119. virtual HRESULT STDMETHODCALLTYPE CreateSharedHeap(
  120. _In_ const D3D12_HEAP_DESC *pHeapDesc,
  121. D3D12_COMPATIBILITY_SHARED_FLAGS CompatibilityFlags,
  122. REFIID riid,
  123. _COM_Outptr_opt_ void **ppHeap) = 0;
  124. virtual HRESULT STDMETHODCALLTYPE ReflectSharedProperties(
  125. _In_ ID3D12Object *pHeapOrResource,
  126. D3D12_REFLECT_SHARED_PROPERTY ReflectType,
  127. _Out_writes_bytes_(DataSize) void *pData,
  128. UINT DataSize) = 0;
  129. };
  130. #else /* C style interface */
  131. typedef struct ID3D12CompatibilityDeviceVtbl
  132. {
  133. BEGIN_INTERFACE
  134. DECLSPEC_XFGVIRT(IUnknown, QueryInterface)
  135. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  136. ID3D12CompatibilityDevice * This,
  137. REFIID riid,
  138. _COM_Outptr_ void **ppvObject);
  139. DECLSPEC_XFGVIRT(IUnknown, AddRef)
  140. ULONG ( STDMETHODCALLTYPE *AddRef )(
  141. ID3D12CompatibilityDevice * This);
  142. DECLSPEC_XFGVIRT(IUnknown, Release)
  143. ULONG ( STDMETHODCALLTYPE *Release )(
  144. ID3D12CompatibilityDevice * This);
  145. DECLSPEC_XFGVIRT(ID3D12CompatibilityDevice, CreateSharedResource)
  146. HRESULT ( STDMETHODCALLTYPE *CreateSharedResource )(
  147. ID3D12CompatibilityDevice * This,
  148. _In_ const D3D12_HEAP_PROPERTIES *pHeapProperties,
  149. D3D12_HEAP_FLAGS HeapFlags,
  150. _In_ const D3D12_RESOURCE_DESC *pDesc,
  151. D3D12_RESOURCE_STATES InitialResourceState,
  152. _In_opt_ const D3D12_CLEAR_VALUE *pOptimizedClearValue,
  153. _In_opt_ const D3D11_RESOURCE_FLAGS *pFlags11,
  154. D3D12_COMPATIBILITY_SHARED_FLAGS CompatibilityFlags,
  155. _In_opt_ ID3D12LifetimeTracker *pLifetimeTracker,
  156. _In_opt_ ID3D12SwapChainAssistant *pOwningSwapchain,
  157. REFIID riid,
  158. _COM_Outptr_opt_ void **ppResource);
  159. DECLSPEC_XFGVIRT(ID3D12CompatibilityDevice, CreateSharedHeap)
  160. HRESULT ( STDMETHODCALLTYPE *CreateSharedHeap )(
  161. ID3D12CompatibilityDevice * This,
  162. _In_ const D3D12_HEAP_DESC *pHeapDesc,
  163. D3D12_COMPATIBILITY_SHARED_FLAGS CompatibilityFlags,
  164. REFIID riid,
  165. _COM_Outptr_opt_ void **ppHeap);
  166. DECLSPEC_XFGVIRT(ID3D12CompatibilityDevice, ReflectSharedProperties)
  167. HRESULT ( STDMETHODCALLTYPE *ReflectSharedProperties )(
  168. ID3D12CompatibilityDevice * This,
  169. _In_ ID3D12Object *pHeapOrResource,
  170. D3D12_REFLECT_SHARED_PROPERTY ReflectType,
  171. _Out_writes_bytes_(DataSize) void *pData,
  172. UINT DataSize);
  173. END_INTERFACE
  174. } ID3D12CompatibilityDeviceVtbl;
  175. interface ID3D12CompatibilityDevice
  176. {
  177. CONST_VTBL struct ID3D12CompatibilityDeviceVtbl *lpVtbl;
  178. };
  179. #ifdef COBJMACROS
  180. #define ID3D12CompatibilityDevice_QueryInterface(This,riid,ppvObject) \
  181. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  182. #define ID3D12CompatibilityDevice_AddRef(This) \
  183. ( (This)->lpVtbl -> AddRef(This) )
  184. #define ID3D12CompatibilityDevice_Release(This) \
  185. ( (This)->lpVtbl -> Release(This) )
  186. #define ID3D12CompatibilityDevice_CreateSharedResource(This,pHeapProperties,HeapFlags,pDesc,InitialResourceState,pOptimizedClearValue,pFlags11,CompatibilityFlags,pLifetimeTracker,pOwningSwapchain,riid,ppResource) \
  187. ( (This)->lpVtbl -> CreateSharedResource(This,pHeapProperties,HeapFlags,pDesc,InitialResourceState,pOptimizedClearValue,pFlags11,CompatibilityFlags,pLifetimeTracker,pOwningSwapchain,riid,ppResource) )
  188. #define ID3D12CompatibilityDevice_CreateSharedHeap(This,pHeapDesc,CompatibilityFlags,riid,ppHeap) \
  189. ( (This)->lpVtbl -> CreateSharedHeap(This,pHeapDesc,CompatibilityFlags,riid,ppHeap) )
  190. #define ID3D12CompatibilityDevice_ReflectSharedProperties(This,pHeapOrResource,ReflectType,pData,DataSize) \
  191. ( (This)->lpVtbl -> ReflectSharedProperties(This,pHeapOrResource,ReflectType,pData,DataSize) )
  192. #endif /* COBJMACROS */
  193. #endif /* C style interface */
  194. #endif /* __ID3D12CompatibilityDevice_INTERFACE_DEFINED__ */
  195. #ifndef __D3D11On12CreatorID_INTERFACE_DEFINED__
  196. #define __D3D11On12CreatorID_INTERFACE_DEFINED__
  197. /* interface D3D11On12CreatorID */
  198. /* [unique][local][object][uuid] */
  199. EXTERN_C const IID IID_D3D11On12CreatorID;
  200. #if defined(__cplusplus) && !defined(CINTERFACE)
  201. MIDL_INTERFACE("edbf5678-2960-4e81-8429-99d4b2630c4e")
  202. D3D11On12CreatorID : public IUnknown
  203. {
  204. public:
  205. };
  206. #else /* C style interface */
  207. typedef struct D3D11On12CreatorIDVtbl
  208. {
  209. BEGIN_INTERFACE
  210. DECLSPEC_XFGVIRT(IUnknown, QueryInterface)
  211. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  212. D3D11On12CreatorID * This,
  213. REFIID riid,
  214. _COM_Outptr_ void **ppvObject);
  215. DECLSPEC_XFGVIRT(IUnknown, AddRef)
  216. ULONG ( STDMETHODCALLTYPE *AddRef )(
  217. D3D11On12CreatorID * This);
  218. DECLSPEC_XFGVIRT(IUnknown, Release)
  219. ULONG ( STDMETHODCALLTYPE *Release )(
  220. D3D11On12CreatorID * This);
  221. END_INTERFACE
  222. } D3D11On12CreatorIDVtbl;
  223. interface D3D11On12CreatorID
  224. {
  225. CONST_VTBL struct D3D11On12CreatorIDVtbl *lpVtbl;
  226. };
  227. #ifdef COBJMACROS
  228. #define D3D11On12CreatorID_QueryInterface(This,riid,ppvObject) \
  229. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  230. #define D3D11On12CreatorID_AddRef(This) \
  231. ( (This)->lpVtbl -> AddRef(This) )
  232. #define D3D11On12CreatorID_Release(This) \
  233. ( (This)->lpVtbl -> Release(This) )
  234. #endif /* COBJMACROS */
  235. #endif /* C style interface */
  236. #endif /* __D3D11On12CreatorID_INTERFACE_DEFINED__ */
  237. #ifndef __D3D9On12CreatorID_INTERFACE_DEFINED__
  238. #define __D3D9On12CreatorID_INTERFACE_DEFINED__
  239. /* interface D3D9On12CreatorID */
  240. /* [unique][local][object][uuid] */
  241. EXTERN_C const IID IID_D3D9On12CreatorID;
  242. #if defined(__cplusplus) && !defined(CINTERFACE)
  243. MIDL_INTERFACE("fffcbb7f-15d3-42a2-841e-9d8d32f37ddd")
  244. D3D9On12CreatorID : public IUnknown
  245. {
  246. public:
  247. };
  248. #else /* C style interface */
  249. typedef struct D3D9On12CreatorIDVtbl
  250. {
  251. BEGIN_INTERFACE
  252. DECLSPEC_XFGVIRT(IUnknown, QueryInterface)
  253. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  254. D3D9On12CreatorID * This,
  255. REFIID riid,
  256. _COM_Outptr_ void **ppvObject);
  257. DECLSPEC_XFGVIRT(IUnknown, AddRef)
  258. ULONG ( STDMETHODCALLTYPE *AddRef )(
  259. D3D9On12CreatorID * This);
  260. DECLSPEC_XFGVIRT(IUnknown, Release)
  261. ULONG ( STDMETHODCALLTYPE *Release )(
  262. D3D9On12CreatorID * This);
  263. END_INTERFACE
  264. } D3D9On12CreatorIDVtbl;
  265. interface D3D9On12CreatorID
  266. {
  267. CONST_VTBL struct D3D9On12CreatorIDVtbl *lpVtbl;
  268. };
  269. #ifdef COBJMACROS
  270. #define D3D9On12CreatorID_QueryInterface(This,riid,ppvObject) \
  271. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  272. #define D3D9On12CreatorID_AddRef(This) \
  273. ( (This)->lpVtbl -> AddRef(This) )
  274. #define D3D9On12CreatorID_Release(This) \
  275. ( (This)->lpVtbl -> Release(This) )
  276. #endif /* COBJMACROS */
  277. #endif /* C style interface */
  278. #endif /* __D3D9On12CreatorID_INTERFACE_DEFINED__ */
  279. #ifndef __OpenGLOn12CreatorID_INTERFACE_DEFINED__
  280. #define __OpenGLOn12CreatorID_INTERFACE_DEFINED__
  281. /* interface OpenGLOn12CreatorID */
  282. /* [unique][local][object][uuid] */
  283. EXTERN_C const IID IID_OpenGLOn12CreatorID;
  284. #if defined(__cplusplus) && !defined(CINTERFACE)
  285. MIDL_INTERFACE("6bb3cd34-0d19-45ab-97ed-d720ba3dfc80")
  286. OpenGLOn12CreatorID : public IUnknown
  287. {
  288. public:
  289. };
  290. #else /* C style interface */
  291. typedef struct OpenGLOn12CreatorIDVtbl
  292. {
  293. BEGIN_INTERFACE
  294. DECLSPEC_XFGVIRT(IUnknown, QueryInterface)
  295. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  296. OpenGLOn12CreatorID * This,
  297. REFIID riid,
  298. _COM_Outptr_ void **ppvObject);
  299. DECLSPEC_XFGVIRT(IUnknown, AddRef)
  300. ULONG ( STDMETHODCALLTYPE *AddRef )(
  301. OpenGLOn12CreatorID * This);
  302. DECLSPEC_XFGVIRT(IUnknown, Release)
  303. ULONG ( STDMETHODCALLTYPE *Release )(
  304. OpenGLOn12CreatorID * This);
  305. END_INTERFACE
  306. } OpenGLOn12CreatorIDVtbl;
  307. interface OpenGLOn12CreatorID
  308. {
  309. CONST_VTBL struct OpenGLOn12CreatorIDVtbl *lpVtbl;
  310. };
  311. #ifdef COBJMACROS
  312. #define OpenGLOn12CreatorID_QueryInterface(This,riid,ppvObject) \
  313. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  314. #define OpenGLOn12CreatorID_AddRef(This) \
  315. ( (This)->lpVtbl -> AddRef(This) )
  316. #define OpenGLOn12CreatorID_Release(This) \
  317. ( (This)->lpVtbl -> Release(This) )
  318. #endif /* COBJMACROS */
  319. #endif /* C style interface */
  320. #endif /* __OpenGLOn12CreatorID_INTERFACE_DEFINED__ */
  321. #ifndef __OpenCLOn12CreatorID_INTERFACE_DEFINED__
  322. #define __OpenCLOn12CreatorID_INTERFACE_DEFINED__
  323. /* interface OpenCLOn12CreatorID */
  324. /* [unique][local][object][uuid] */
  325. EXTERN_C const IID IID_OpenCLOn12CreatorID;
  326. #if defined(__cplusplus) && !defined(CINTERFACE)
  327. MIDL_INTERFACE("3f76bb74-91b5-4a88-b126-20ca0331cd60")
  328. OpenCLOn12CreatorID : public IUnknown
  329. {
  330. public:
  331. };
  332. #else /* C style interface */
  333. typedef struct OpenCLOn12CreatorIDVtbl
  334. {
  335. BEGIN_INTERFACE
  336. DECLSPEC_XFGVIRT(IUnknown, QueryInterface)
  337. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  338. OpenCLOn12CreatorID * This,
  339. REFIID riid,
  340. _COM_Outptr_ void **ppvObject);
  341. DECLSPEC_XFGVIRT(IUnknown, AddRef)
  342. ULONG ( STDMETHODCALLTYPE *AddRef )(
  343. OpenCLOn12CreatorID * This);
  344. DECLSPEC_XFGVIRT(IUnknown, Release)
  345. ULONG ( STDMETHODCALLTYPE *Release )(
  346. OpenCLOn12CreatorID * This);
  347. END_INTERFACE
  348. } OpenCLOn12CreatorIDVtbl;
  349. interface OpenCLOn12CreatorID
  350. {
  351. CONST_VTBL struct OpenCLOn12CreatorIDVtbl *lpVtbl;
  352. };
  353. #ifdef COBJMACROS
  354. #define OpenCLOn12CreatorID_QueryInterface(This,riid,ppvObject) \
  355. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  356. #define OpenCLOn12CreatorID_AddRef(This) \
  357. ( (This)->lpVtbl -> AddRef(This) )
  358. #define OpenCLOn12CreatorID_Release(This) \
  359. ( (This)->lpVtbl -> Release(This) )
  360. #endif /* COBJMACROS */
  361. #endif /* C style interface */
  362. #endif /* __OpenCLOn12CreatorID_INTERFACE_DEFINED__ */
  363. #ifndef __DirectMLTensorFlowCreatorID_INTERFACE_DEFINED__
  364. #define __DirectMLTensorFlowCreatorID_INTERFACE_DEFINED__
  365. /* interface DirectMLTensorFlowCreatorID */
  366. /* [unique][local][object][uuid] */
  367. EXTERN_C const IID IID_DirectMLTensorFlowCreatorID;
  368. #if defined(__cplusplus) && !defined(CINTERFACE)
  369. MIDL_INTERFACE("cb7490ac-8a0f-44ec-9b7b-6f4cafe8e9ab")
  370. DirectMLTensorFlowCreatorID : public IUnknown
  371. {
  372. public:
  373. };
  374. #else /* C style interface */
  375. typedef struct DirectMLTensorFlowCreatorIDVtbl
  376. {
  377. BEGIN_INTERFACE
  378. DECLSPEC_XFGVIRT(IUnknown, QueryInterface)
  379. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  380. DirectMLTensorFlowCreatorID * This,
  381. REFIID riid,
  382. _COM_Outptr_ void **ppvObject);
  383. DECLSPEC_XFGVIRT(IUnknown, AddRef)
  384. ULONG ( STDMETHODCALLTYPE *AddRef )(
  385. DirectMLTensorFlowCreatorID * This);
  386. DECLSPEC_XFGVIRT(IUnknown, Release)
  387. ULONG ( STDMETHODCALLTYPE *Release )(
  388. DirectMLTensorFlowCreatorID * This);
  389. END_INTERFACE
  390. } DirectMLTensorFlowCreatorIDVtbl;
  391. interface DirectMLTensorFlowCreatorID
  392. {
  393. CONST_VTBL struct DirectMLTensorFlowCreatorIDVtbl *lpVtbl;
  394. };
  395. #ifdef COBJMACROS
  396. #define DirectMLTensorFlowCreatorID_QueryInterface(This,riid,ppvObject) \
  397. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  398. #define DirectMLTensorFlowCreatorID_AddRef(This) \
  399. ( (This)->lpVtbl -> AddRef(This) )
  400. #define DirectMLTensorFlowCreatorID_Release(This) \
  401. ( (This)->lpVtbl -> Release(This) )
  402. #endif /* COBJMACROS */
  403. #endif /* C style interface */
  404. #endif /* __DirectMLTensorFlowCreatorID_INTERFACE_DEFINED__ */
  405. #ifndef __DirectMLPyTorchCreatorID_INTERFACE_DEFINED__
  406. #define __DirectMLPyTorchCreatorID_INTERFACE_DEFINED__
  407. /* interface DirectMLPyTorchCreatorID */
  408. /* [unique][local][object][uuid] */
  409. EXTERN_C const IID IID_DirectMLPyTorchCreatorID;
  410. #if defined(__cplusplus) && !defined(CINTERFACE)
  411. MIDL_INTERFACE("af029192-fba1-4b05-9116-235e06560354")
  412. DirectMLPyTorchCreatorID : public IUnknown
  413. {
  414. public:
  415. };
  416. #else /* C style interface */
  417. typedef struct DirectMLPyTorchCreatorIDVtbl
  418. {
  419. BEGIN_INTERFACE
  420. DECLSPEC_XFGVIRT(IUnknown, QueryInterface)
  421. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  422. DirectMLPyTorchCreatorID * This,
  423. REFIID riid,
  424. _COM_Outptr_ void **ppvObject);
  425. DECLSPEC_XFGVIRT(IUnknown, AddRef)
  426. ULONG ( STDMETHODCALLTYPE *AddRef )(
  427. DirectMLPyTorchCreatorID * This);
  428. DECLSPEC_XFGVIRT(IUnknown, Release)
  429. ULONG ( STDMETHODCALLTYPE *Release )(
  430. DirectMLPyTorchCreatorID * This);
  431. END_INTERFACE
  432. } DirectMLPyTorchCreatorIDVtbl;
  433. interface DirectMLPyTorchCreatorID
  434. {
  435. CONST_VTBL struct DirectMLPyTorchCreatorIDVtbl *lpVtbl;
  436. };
  437. #ifdef COBJMACROS
  438. #define DirectMLPyTorchCreatorID_QueryInterface(This,riid,ppvObject) \
  439. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  440. #define DirectMLPyTorchCreatorID_AddRef(This) \
  441. ( (This)->lpVtbl -> AddRef(This) )
  442. #define DirectMLPyTorchCreatorID_Release(This) \
  443. ( (This)->lpVtbl -> Release(This) )
  444. #endif /* COBJMACROS */
  445. #endif /* C style interface */
  446. #endif /* __DirectMLPyTorchCreatorID_INTERFACE_DEFINED__ */
  447. /* interface __MIDL_itf_d3d12compatibility_0000_0007 */
  448. /* [local] */
  449. #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_GAMES) */
  450. #pragma endregion
  451. DEFINE_GUID(IID_ID3D12CompatibilityDevice,0x8f1c0e3c,0xfae3,0x4a82,0xb0,0x98,0xbf,0xe1,0x70,0x82,0x07,0xff);
  452. DEFINE_GUID(IID_D3D11On12CreatorID,0xedbf5678,0x2960,0x4e81,0x84,0x29,0x99,0xd4,0xb2,0x63,0x0c,0x4e);
  453. DEFINE_GUID(IID_D3D9On12CreatorID,0xfffcbb7f,0x15d3,0x42a2,0x84,0x1e,0x9d,0x8d,0x32,0xf3,0x7d,0xdd);
  454. DEFINE_GUID(IID_OpenGLOn12CreatorID,0x6bb3cd34,0x0d19,0x45ab,0x97,0xed,0xd7,0x20,0xba,0x3d,0xfc,0x80);
  455. DEFINE_GUID(IID_OpenCLOn12CreatorID,0x3f76bb74,0x91b5,0x4a88,0xb1,0x26,0x20,0xca,0x03,0x31,0xcd,0x60);
  456. DEFINE_GUID(IID_DirectMLTensorFlowCreatorID,0xcb7490ac,0x8a0f,0x44ec,0x9b,0x7b,0x6f,0x4c,0xaf,0xe8,0xe9,0xab);
  457. DEFINE_GUID(IID_DirectMLPyTorchCreatorID,0xaf029192,0xfba1,0x4b05,0x91,0x16,0x23,0x5e,0x06,0x56,0x03,0x54);
  458. extern RPC_IF_HANDLE __MIDL_itf_d3d12compatibility_0000_0007_v0_0_c_ifspec;
  459. extern RPC_IF_HANDLE __MIDL_itf_d3d12compatibility_0000_0007_v0_0_s_ifspec;
  460. /* Additional Prototypes for ALL interfaces */
  461. /* end of Additional Prototypes */
  462. #ifdef __cplusplus
  463. }
  464. #endif
  465. #endif