Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

787 lines
33 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 7.00.0555 */
  3. /* @@MIDL_FILE_HEADING( ) */
  4. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  5. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  6. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  7. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  8. #endif
  9. /* verify that the <rpcsal.h> version is high enough to compile this file*/
  10. #ifndef __REQUIRED_RPCSAL_H_VERSION__
  11. #define __REQUIRED_RPCSAL_H_VERSION__ 100
  12. #endif
  13. #include "rpc.h"
  14. #include "rpcndr.h"
  15. #ifndef __RPCNDR_H_VERSION__
  16. #error this stub requires an updated version of <rpcndr.h>
  17. #endif // __RPCNDR_H_VERSION__
  18. #ifndef COM_NO_WINDOWS_H
  19. #include "windows.h"
  20. #include "ole2.h"
  21. #endif /*COM_NO_WINDOWS_H*/
  22. #ifndef __d3dcommon_h__
  23. #define __d3dcommon_h__
  24. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  25. #pragma once
  26. #endif
  27. /* Forward Declarations */
  28. #ifndef __ID3D10Blob_FWD_DEFINED__
  29. #define __ID3D10Blob_FWD_DEFINED__
  30. typedef interface ID3D10Blob ID3D10Blob;
  31. #endif /* __ID3D10Blob_FWD_DEFINED__ */
  32. /* header files for imported files */
  33. #include "oaidl.h"
  34. #include "ocidl.h"
  35. #ifdef __cplusplus
  36. extern "C"{
  37. #endif
  38. /* interface __MIDL_itf_d3dcommon_0000_0000 */
  39. /* [local] */
  40. typedef
  41. enum D3D_DRIVER_TYPE
  42. { D3D_DRIVER_TYPE_UNKNOWN = 0,
  43. D3D_DRIVER_TYPE_HARDWARE = ( D3D_DRIVER_TYPE_UNKNOWN + 1 ) ,
  44. D3D_DRIVER_TYPE_REFERENCE = ( D3D_DRIVER_TYPE_HARDWARE + 1 ) ,
  45. D3D_DRIVER_TYPE_NULL = ( D3D_DRIVER_TYPE_REFERENCE + 1 ) ,
  46. D3D_DRIVER_TYPE_SOFTWARE = ( D3D_DRIVER_TYPE_NULL + 1 ) ,
  47. D3D_DRIVER_TYPE_WARP = ( D3D_DRIVER_TYPE_SOFTWARE + 1 )
  48. } D3D_DRIVER_TYPE;
  49. typedef
  50. enum D3D_FEATURE_LEVEL
  51. { D3D_FEATURE_LEVEL_9_1 = 0x9100,
  52. D3D_FEATURE_LEVEL_9_2 = 0x9200,
  53. D3D_FEATURE_LEVEL_9_3 = 0x9300,
  54. D3D_FEATURE_LEVEL_10_0 = 0xa000,
  55. D3D_FEATURE_LEVEL_10_1 = 0xa100,
  56. D3D_FEATURE_LEVEL_11_0 = 0xb000
  57. } D3D_FEATURE_LEVEL;
  58. typedef
  59. enum D3D_PRIMITIVE_TOPOLOGY
  60. { D3D_PRIMITIVE_TOPOLOGY_UNDEFINED = 0,
  61. D3D_PRIMITIVE_TOPOLOGY_POINTLIST = 1,
  62. D3D_PRIMITIVE_TOPOLOGY_LINELIST = 2,
  63. D3D_PRIMITIVE_TOPOLOGY_LINESTRIP = 3,
  64. D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST = 4,
  65. D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = 5,
  66. D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10,
  67. D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = 11,
  68. D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = 12,
  69. D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ = 13,
  70. D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST = 33,
  71. D3D_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST = 34,
  72. D3D_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST = 35,
  73. D3D_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST = 36,
  74. D3D_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST = 37,
  75. D3D_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST = 38,
  76. D3D_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST = 39,
  77. D3D_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST = 40,
  78. D3D_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST = 41,
  79. D3D_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST = 42,
  80. D3D_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST = 43,
  81. D3D_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST = 44,
  82. D3D_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST = 45,
  83. D3D_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST = 46,
  84. D3D_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST = 47,
  85. D3D_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST = 48,
  86. D3D_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST = 49,
  87. D3D_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST = 50,
  88. D3D_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST = 51,
  89. D3D_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST = 52,
  90. D3D_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST = 53,
  91. D3D_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST = 54,
  92. D3D_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST = 55,
  93. D3D_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST = 56,
  94. D3D_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST = 57,
  95. D3D_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST = 58,
  96. D3D_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST = 59,
  97. D3D_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST = 60,
  98. D3D_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST = 61,
  99. D3D_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST = 62,
  100. D3D_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST = 63,
  101. D3D_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST = 64,
  102. D3D10_PRIMITIVE_TOPOLOGY_UNDEFINED = D3D_PRIMITIVE_TOPOLOGY_UNDEFINED,
  103. D3D10_PRIMITIVE_TOPOLOGY_POINTLIST = D3D_PRIMITIVE_TOPOLOGY_POINTLIST,
  104. D3D10_PRIMITIVE_TOPOLOGY_LINELIST = D3D_PRIMITIVE_TOPOLOGY_LINELIST,
  105. D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP = D3D_PRIMITIVE_TOPOLOGY_LINESTRIP,
  106. D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST = D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST,
  107. D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP,
  108. D3D10_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ,
  109. D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ,
  110. D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ,
  111. D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ = D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ,
  112. D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED = D3D_PRIMITIVE_TOPOLOGY_UNDEFINED,
  113. D3D11_PRIMITIVE_TOPOLOGY_POINTLIST = D3D_PRIMITIVE_TOPOLOGY_POINTLIST,
  114. D3D11_PRIMITIVE_TOPOLOGY_LINELIST = D3D_PRIMITIVE_TOPOLOGY_LINELIST,
  115. D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP = D3D_PRIMITIVE_TOPOLOGY_LINESTRIP,
  116. D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST = D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST,
  117. D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP,
  118. D3D11_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ,
  119. D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ,
  120. D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ,
  121. D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ = D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ,
  122. D3D11_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST,
  123. D3D11_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST,
  124. D3D11_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST,
  125. D3D11_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST,
  126. D3D11_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST,
  127. D3D11_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST,
  128. D3D11_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST,
  129. D3D11_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST,
  130. D3D11_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST,
  131. D3D11_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST,
  132. D3D11_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST,
  133. D3D11_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST,
  134. D3D11_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST,
  135. D3D11_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST,
  136. D3D11_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST,
  137. D3D11_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST,
  138. D3D11_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST,
  139. D3D11_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST,
  140. D3D11_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST,
  141. D3D11_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST,
  142. D3D11_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST,
  143. D3D11_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST,
  144. D3D11_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST,
  145. D3D11_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST,
  146. D3D11_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST,
  147. D3D11_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST,
  148. D3D11_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST,
  149. D3D11_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST,
  150. D3D11_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST,
  151. D3D11_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST,
  152. D3D11_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST,
  153. D3D11_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST
  154. } D3D_PRIMITIVE_TOPOLOGY;
  155. typedef
  156. enum D3D_PRIMITIVE
  157. { D3D_PRIMITIVE_UNDEFINED = 0,
  158. D3D_PRIMITIVE_POINT = 1,
  159. D3D_PRIMITIVE_LINE = 2,
  160. D3D_PRIMITIVE_TRIANGLE = 3,
  161. D3D_PRIMITIVE_LINE_ADJ = 6,
  162. D3D_PRIMITIVE_TRIANGLE_ADJ = 7,
  163. D3D_PRIMITIVE_1_CONTROL_POINT_PATCH = 8,
  164. D3D_PRIMITIVE_2_CONTROL_POINT_PATCH = 9,
  165. D3D_PRIMITIVE_3_CONTROL_POINT_PATCH = 10,
  166. D3D_PRIMITIVE_4_CONTROL_POINT_PATCH = 11,
  167. D3D_PRIMITIVE_5_CONTROL_POINT_PATCH = 12,
  168. D3D_PRIMITIVE_6_CONTROL_POINT_PATCH = 13,
  169. D3D_PRIMITIVE_7_CONTROL_POINT_PATCH = 14,
  170. D3D_PRIMITIVE_8_CONTROL_POINT_PATCH = 15,
  171. D3D_PRIMITIVE_9_CONTROL_POINT_PATCH = 16,
  172. D3D_PRIMITIVE_10_CONTROL_POINT_PATCH = 17,
  173. D3D_PRIMITIVE_11_CONTROL_POINT_PATCH = 18,
  174. D3D_PRIMITIVE_12_CONTROL_POINT_PATCH = 19,
  175. D3D_PRIMITIVE_13_CONTROL_POINT_PATCH = 20,
  176. D3D_PRIMITIVE_14_CONTROL_POINT_PATCH = 21,
  177. D3D_PRIMITIVE_15_CONTROL_POINT_PATCH = 22,
  178. D3D_PRIMITIVE_16_CONTROL_POINT_PATCH = 23,
  179. D3D_PRIMITIVE_17_CONTROL_POINT_PATCH = 24,
  180. D3D_PRIMITIVE_18_CONTROL_POINT_PATCH = 25,
  181. D3D_PRIMITIVE_19_CONTROL_POINT_PATCH = 26,
  182. D3D_PRIMITIVE_20_CONTROL_POINT_PATCH = 28,
  183. D3D_PRIMITIVE_21_CONTROL_POINT_PATCH = 29,
  184. D3D_PRIMITIVE_22_CONTROL_POINT_PATCH = 30,
  185. D3D_PRIMITIVE_23_CONTROL_POINT_PATCH = 31,
  186. D3D_PRIMITIVE_24_CONTROL_POINT_PATCH = 32,
  187. D3D_PRIMITIVE_25_CONTROL_POINT_PATCH = 33,
  188. D3D_PRIMITIVE_26_CONTROL_POINT_PATCH = 34,
  189. D3D_PRIMITIVE_27_CONTROL_POINT_PATCH = 35,
  190. D3D_PRIMITIVE_28_CONTROL_POINT_PATCH = 36,
  191. D3D_PRIMITIVE_29_CONTROL_POINT_PATCH = 37,
  192. D3D_PRIMITIVE_30_CONTROL_POINT_PATCH = 38,
  193. D3D_PRIMITIVE_31_CONTROL_POINT_PATCH = 39,
  194. D3D_PRIMITIVE_32_CONTROL_POINT_PATCH = 40,
  195. D3D10_PRIMITIVE_UNDEFINED = D3D_PRIMITIVE_UNDEFINED,
  196. D3D10_PRIMITIVE_POINT = D3D_PRIMITIVE_POINT,
  197. D3D10_PRIMITIVE_LINE = D3D_PRIMITIVE_LINE,
  198. D3D10_PRIMITIVE_TRIANGLE = D3D_PRIMITIVE_TRIANGLE,
  199. D3D10_PRIMITIVE_LINE_ADJ = D3D_PRIMITIVE_LINE_ADJ,
  200. D3D10_PRIMITIVE_TRIANGLE_ADJ = D3D_PRIMITIVE_TRIANGLE_ADJ,
  201. D3D11_PRIMITIVE_UNDEFINED = D3D_PRIMITIVE_UNDEFINED,
  202. D3D11_PRIMITIVE_POINT = D3D_PRIMITIVE_POINT,
  203. D3D11_PRIMITIVE_LINE = D3D_PRIMITIVE_LINE,
  204. D3D11_PRIMITIVE_TRIANGLE = D3D_PRIMITIVE_TRIANGLE,
  205. D3D11_PRIMITIVE_LINE_ADJ = D3D_PRIMITIVE_LINE_ADJ,
  206. D3D11_PRIMITIVE_TRIANGLE_ADJ = D3D_PRIMITIVE_TRIANGLE_ADJ,
  207. D3D11_PRIMITIVE_1_CONTROL_POINT_PATCH = D3D_PRIMITIVE_1_CONTROL_POINT_PATCH,
  208. D3D11_PRIMITIVE_2_CONTROL_POINT_PATCH = D3D_PRIMITIVE_2_CONTROL_POINT_PATCH,
  209. D3D11_PRIMITIVE_3_CONTROL_POINT_PATCH = D3D_PRIMITIVE_3_CONTROL_POINT_PATCH,
  210. D3D11_PRIMITIVE_4_CONTROL_POINT_PATCH = D3D_PRIMITIVE_4_CONTROL_POINT_PATCH,
  211. D3D11_PRIMITIVE_5_CONTROL_POINT_PATCH = D3D_PRIMITIVE_5_CONTROL_POINT_PATCH,
  212. D3D11_PRIMITIVE_6_CONTROL_POINT_PATCH = D3D_PRIMITIVE_6_CONTROL_POINT_PATCH,
  213. D3D11_PRIMITIVE_7_CONTROL_POINT_PATCH = D3D_PRIMITIVE_7_CONTROL_POINT_PATCH,
  214. D3D11_PRIMITIVE_8_CONTROL_POINT_PATCH = D3D_PRIMITIVE_8_CONTROL_POINT_PATCH,
  215. D3D11_PRIMITIVE_9_CONTROL_POINT_PATCH = D3D_PRIMITIVE_9_CONTROL_POINT_PATCH,
  216. D3D11_PRIMITIVE_10_CONTROL_POINT_PATCH = D3D_PRIMITIVE_10_CONTROL_POINT_PATCH,
  217. D3D11_PRIMITIVE_11_CONTROL_POINT_PATCH = D3D_PRIMITIVE_11_CONTROL_POINT_PATCH,
  218. D3D11_PRIMITIVE_12_CONTROL_POINT_PATCH = D3D_PRIMITIVE_12_CONTROL_POINT_PATCH,
  219. D3D11_PRIMITIVE_13_CONTROL_POINT_PATCH = D3D_PRIMITIVE_13_CONTROL_POINT_PATCH,
  220. D3D11_PRIMITIVE_14_CONTROL_POINT_PATCH = D3D_PRIMITIVE_14_CONTROL_POINT_PATCH,
  221. D3D11_PRIMITIVE_15_CONTROL_POINT_PATCH = D3D_PRIMITIVE_15_CONTROL_POINT_PATCH,
  222. D3D11_PRIMITIVE_16_CONTROL_POINT_PATCH = D3D_PRIMITIVE_16_CONTROL_POINT_PATCH,
  223. D3D11_PRIMITIVE_17_CONTROL_POINT_PATCH = D3D_PRIMITIVE_17_CONTROL_POINT_PATCH,
  224. D3D11_PRIMITIVE_18_CONTROL_POINT_PATCH = D3D_PRIMITIVE_18_CONTROL_POINT_PATCH,
  225. D3D11_PRIMITIVE_19_CONTROL_POINT_PATCH = D3D_PRIMITIVE_19_CONTROL_POINT_PATCH,
  226. D3D11_PRIMITIVE_20_CONTROL_POINT_PATCH = D3D_PRIMITIVE_20_CONTROL_POINT_PATCH,
  227. D3D11_PRIMITIVE_21_CONTROL_POINT_PATCH = D3D_PRIMITIVE_21_CONTROL_POINT_PATCH,
  228. D3D11_PRIMITIVE_22_CONTROL_POINT_PATCH = D3D_PRIMITIVE_22_CONTROL_POINT_PATCH,
  229. D3D11_PRIMITIVE_23_CONTROL_POINT_PATCH = D3D_PRIMITIVE_23_CONTROL_POINT_PATCH,
  230. D3D11_PRIMITIVE_24_CONTROL_POINT_PATCH = D3D_PRIMITIVE_24_CONTROL_POINT_PATCH,
  231. D3D11_PRIMITIVE_25_CONTROL_POINT_PATCH = D3D_PRIMITIVE_25_CONTROL_POINT_PATCH,
  232. D3D11_PRIMITIVE_26_CONTROL_POINT_PATCH = D3D_PRIMITIVE_26_CONTROL_POINT_PATCH,
  233. D3D11_PRIMITIVE_27_CONTROL_POINT_PATCH = D3D_PRIMITIVE_27_CONTROL_POINT_PATCH,
  234. D3D11_PRIMITIVE_28_CONTROL_POINT_PATCH = D3D_PRIMITIVE_28_CONTROL_POINT_PATCH,
  235. D3D11_PRIMITIVE_29_CONTROL_POINT_PATCH = D3D_PRIMITIVE_29_CONTROL_POINT_PATCH,
  236. D3D11_PRIMITIVE_30_CONTROL_POINT_PATCH = D3D_PRIMITIVE_30_CONTROL_POINT_PATCH,
  237. D3D11_PRIMITIVE_31_CONTROL_POINT_PATCH = D3D_PRIMITIVE_31_CONTROL_POINT_PATCH,
  238. D3D11_PRIMITIVE_32_CONTROL_POINT_PATCH = D3D_PRIMITIVE_32_CONTROL_POINT_PATCH
  239. } D3D_PRIMITIVE;
  240. typedef
  241. enum D3D_SRV_DIMENSION
  242. { D3D_SRV_DIMENSION_UNKNOWN = 0,
  243. D3D_SRV_DIMENSION_BUFFER = 1,
  244. D3D_SRV_DIMENSION_TEXTURE1D = 2,
  245. D3D_SRV_DIMENSION_TEXTURE1DARRAY = 3,
  246. D3D_SRV_DIMENSION_TEXTURE2D = 4,
  247. D3D_SRV_DIMENSION_TEXTURE2DARRAY = 5,
  248. D3D_SRV_DIMENSION_TEXTURE2DMS = 6,
  249. D3D_SRV_DIMENSION_TEXTURE2DMSARRAY = 7,
  250. D3D_SRV_DIMENSION_TEXTURE3D = 8,
  251. D3D_SRV_DIMENSION_TEXTURECUBE = 9,
  252. D3D_SRV_DIMENSION_TEXTURECUBEARRAY = 10,
  253. D3D_SRV_DIMENSION_BUFFEREX = 11,
  254. D3D10_SRV_DIMENSION_UNKNOWN = D3D_SRV_DIMENSION_UNKNOWN,
  255. D3D10_SRV_DIMENSION_BUFFER = D3D_SRV_DIMENSION_BUFFER,
  256. D3D10_SRV_DIMENSION_TEXTURE1D = D3D_SRV_DIMENSION_TEXTURE1D,
  257. D3D10_SRV_DIMENSION_TEXTURE1DARRAY = D3D_SRV_DIMENSION_TEXTURE1DARRAY,
  258. D3D10_SRV_DIMENSION_TEXTURE2D = D3D_SRV_DIMENSION_TEXTURE2D,
  259. D3D10_SRV_DIMENSION_TEXTURE2DARRAY = D3D_SRV_DIMENSION_TEXTURE2DARRAY,
  260. D3D10_SRV_DIMENSION_TEXTURE2DMS = D3D_SRV_DIMENSION_TEXTURE2DMS,
  261. D3D10_SRV_DIMENSION_TEXTURE2DMSARRAY = D3D_SRV_DIMENSION_TEXTURE2DMSARRAY,
  262. D3D10_SRV_DIMENSION_TEXTURE3D = D3D_SRV_DIMENSION_TEXTURE3D,
  263. D3D10_SRV_DIMENSION_TEXTURECUBE = D3D_SRV_DIMENSION_TEXTURECUBE,
  264. D3D10_1_SRV_DIMENSION_UNKNOWN = D3D_SRV_DIMENSION_UNKNOWN,
  265. D3D10_1_SRV_DIMENSION_BUFFER = D3D_SRV_DIMENSION_BUFFER,
  266. D3D10_1_SRV_DIMENSION_TEXTURE1D = D3D_SRV_DIMENSION_TEXTURE1D,
  267. D3D10_1_SRV_DIMENSION_TEXTURE1DARRAY = D3D_SRV_DIMENSION_TEXTURE1DARRAY,
  268. D3D10_1_SRV_DIMENSION_TEXTURE2D = D3D_SRV_DIMENSION_TEXTURE2D,
  269. D3D10_1_SRV_DIMENSION_TEXTURE2DARRAY = D3D_SRV_DIMENSION_TEXTURE2DARRAY,
  270. D3D10_1_SRV_DIMENSION_TEXTURE2DMS = D3D_SRV_DIMENSION_TEXTURE2DMS,
  271. D3D10_1_SRV_DIMENSION_TEXTURE2DMSARRAY = D3D_SRV_DIMENSION_TEXTURE2DMSARRAY,
  272. D3D10_1_SRV_DIMENSION_TEXTURE3D = D3D_SRV_DIMENSION_TEXTURE3D,
  273. D3D10_1_SRV_DIMENSION_TEXTURECUBE = D3D_SRV_DIMENSION_TEXTURECUBE,
  274. D3D10_1_SRV_DIMENSION_TEXTURECUBEARRAY = D3D_SRV_DIMENSION_TEXTURECUBEARRAY,
  275. D3D11_SRV_DIMENSION_UNKNOWN = D3D_SRV_DIMENSION_UNKNOWN,
  276. D3D11_SRV_DIMENSION_BUFFER = D3D_SRV_DIMENSION_BUFFER,
  277. D3D11_SRV_DIMENSION_TEXTURE1D = D3D_SRV_DIMENSION_TEXTURE1D,
  278. D3D11_SRV_DIMENSION_TEXTURE1DARRAY = D3D_SRV_DIMENSION_TEXTURE1DARRAY,
  279. D3D11_SRV_DIMENSION_TEXTURE2D = D3D_SRV_DIMENSION_TEXTURE2D,
  280. D3D11_SRV_DIMENSION_TEXTURE2DARRAY = D3D_SRV_DIMENSION_TEXTURE2DARRAY,
  281. D3D11_SRV_DIMENSION_TEXTURE2DMS = D3D_SRV_DIMENSION_TEXTURE2DMS,
  282. D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY = D3D_SRV_DIMENSION_TEXTURE2DMSARRAY,
  283. D3D11_SRV_DIMENSION_TEXTURE3D = D3D_SRV_DIMENSION_TEXTURE3D,
  284. D3D11_SRV_DIMENSION_TEXTURECUBE = D3D_SRV_DIMENSION_TEXTURECUBE,
  285. D3D11_SRV_DIMENSION_TEXTURECUBEARRAY = D3D_SRV_DIMENSION_TEXTURECUBEARRAY,
  286. D3D11_SRV_DIMENSION_BUFFEREX = D3D_SRV_DIMENSION_BUFFEREX
  287. } D3D_SRV_DIMENSION;
  288. typedef struct _D3D_SHADER_MACRO
  289. {
  290. LPCSTR Name;
  291. LPCSTR Definition;
  292. } D3D_SHADER_MACRO;
  293. typedef struct _D3D_SHADER_MACRO *LPD3D_SHADER_MACRO;
  294. DEFINE_GUID(IID_ID3D10Blob, 0x8ba5fb08, 0x5195, 0x40e2, 0xac, 0x58, 0xd, 0x98, 0x9c, 0x3a, 0x1, 0x2);
  295. extern RPC_IF_HANDLE __MIDL_itf_d3dcommon_0000_0000_v0_0_c_ifspec;
  296. extern RPC_IF_HANDLE __MIDL_itf_d3dcommon_0000_0000_v0_0_s_ifspec;
  297. #ifndef __ID3D10Blob_INTERFACE_DEFINED__
  298. #define __ID3D10Blob_INTERFACE_DEFINED__
  299. /* interface ID3D10Blob */
  300. /* [unique][local][object][uuid] */
  301. EXTERN_C const IID IID_ID3D10Blob;
  302. #if defined(__cplusplus) && !defined(CINTERFACE)
  303. MIDL_INTERFACE("8BA5FB08-5195-40e2-AC58-0D989C3A0102")
  304. ID3D10Blob : public IUnknown
  305. {
  306. public:
  307. virtual LPVOID STDMETHODCALLTYPE GetBufferPointer( void) = 0;
  308. virtual SIZE_T STDMETHODCALLTYPE GetBufferSize( void) = 0;
  309. };
  310. #else /* C style interface */
  311. typedef struct ID3D10BlobVtbl
  312. {
  313. BEGIN_INTERFACE
  314. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  315. ID3D10Blob * This,
  316. /* [in] */ REFIID riid,
  317. /* [annotation][iid_is][out] */
  318. __RPC__deref_out void **ppvObject);
  319. ULONG ( STDMETHODCALLTYPE *AddRef )(
  320. ID3D10Blob * This);
  321. ULONG ( STDMETHODCALLTYPE *Release )(
  322. ID3D10Blob * This);
  323. LPVOID ( STDMETHODCALLTYPE *GetBufferPointer )(
  324. ID3D10Blob * This);
  325. SIZE_T ( STDMETHODCALLTYPE *GetBufferSize )(
  326. ID3D10Blob * This);
  327. END_INTERFACE
  328. } ID3D10BlobVtbl;
  329. interface ID3D10Blob
  330. {
  331. CONST_VTBL struct ID3D10BlobVtbl *lpVtbl;
  332. };
  333. #ifdef COBJMACROS
  334. #define ID3D10Blob_QueryInterface(This,riid,ppvObject) \
  335. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  336. #define ID3D10Blob_AddRef(This) \
  337. ( (This)->lpVtbl -> AddRef(This) )
  338. #define ID3D10Blob_Release(This) \
  339. ( (This)->lpVtbl -> Release(This) )
  340. #define ID3D10Blob_GetBufferPointer(This) \
  341. ( (This)->lpVtbl -> GetBufferPointer(This) )
  342. #define ID3D10Blob_GetBufferSize(This) \
  343. ( (This)->lpVtbl -> GetBufferSize(This) )
  344. #endif /* COBJMACROS */
  345. #endif /* C style interface */
  346. #endif /* __ID3D10Blob_INTERFACE_DEFINED__ */
  347. /* interface __MIDL_itf_d3dcommon_0000_0001 */
  348. /* [local] */
  349. typedef interface ID3D10Blob* LPD3D10BLOB;
  350. typedef ID3D10Blob ID3DBlob;
  351. typedef ID3DBlob* LPD3DBLOB;
  352. #define IID_ID3DBlob IID_ID3D10Blob
  353. typedef
  354. enum _D3D_INCLUDE_TYPE
  355. { D3D_INCLUDE_LOCAL = 0,
  356. D3D_INCLUDE_SYSTEM = ( D3D_INCLUDE_LOCAL + 1 ) ,
  357. D3D10_INCLUDE_LOCAL = D3D_INCLUDE_LOCAL,
  358. D3D10_INCLUDE_SYSTEM = D3D_INCLUDE_SYSTEM,
  359. D3D_INCLUDE_FORCE_DWORD = 0x7fffffff
  360. } D3D_INCLUDE_TYPE;
  361. typedef interface ID3DInclude ID3DInclude;
  362. #undef INTERFACE
  363. #define INTERFACE ID3DInclude
  364. DECLARE_INTERFACE(ID3DInclude)
  365. {
  366. STDMETHOD(Open)(THIS_ D3D_INCLUDE_TYPE IncludeType, LPCSTR pFileName, LPCVOID pParentData, LPCVOID *ppData, UINT *pBytes) PURE;
  367. STDMETHOD(Close)(THIS_ LPCVOID pData) PURE;
  368. };
  369. typedef ID3DInclude* LPD3DINCLUDE;
  370. typedef
  371. enum _D3D_SHADER_VARIABLE_CLASS
  372. { D3D_SVC_SCALAR = 0,
  373. D3D_SVC_VECTOR = ( D3D_SVC_SCALAR + 1 ) ,
  374. D3D_SVC_MATRIX_ROWS = ( D3D_SVC_VECTOR + 1 ) ,
  375. D3D_SVC_MATRIX_COLUMNS = ( D3D_SVC_MATRIX_ROWS + 1 ) ,
  376. D3D_SVC_OBJECT = ( D3D_SVC_MATRIX_COLUMNS + 1 ) ,
  377. D3D_SVC_STRUCT = ( D3D_SVC_OBJECT + 1 ) ,
  378. D3D_SVC_INTERFACE_CLASS = ( D3D_SVC_STRUCT + 1 ) ,
  379. D3D_SVC_INTERFACE_POINTER = ( D3D_SVC_INTERFACE_CLASS + 1 ) ,
  380. D3D10_SVC_SCALAR = D3D_SVC_SCALAR,
  381. D3D10_SVC_VECTOR = D3D_SVC_VECTOR,
  382. D3D10_SVC_MATRIX_ROWS = D3D_SVC_MATRIX_ROWS,
  383. D3D10_SVC_MATRIX_COLUMNS = D3D_SVC_MATRIX_COLUMNS,
  384. D3D10_SVC_OBJECT = D3D_SVC_OBJECT,
  385. D3D10_SVC_STRUCT = D3D_SVC_STRUCT,
  386. D3D11_SVC_INTERFACE_CLASS = D3D_SVC_INTERFACE_CLASS,
  387. D3D11_SVC_INTERFACE_POINTER = D3D_SVC_INTERFACE_POINTER,
  388. D3D_SVC_FORCE_DWORD = 0x7fffffff
  389. } D3D_SHADER_VARIABLE_CLASS;
  390. typedef
  391. enum _D3D_SHADER_VARIABLE_FLAGS
  392. { D3D_SVF_USERPACKED = 1,
  393. D3D_SVF_USED = 2,
  394. D3D_SVF_INTERFACE_POINTER = 4,
  395. D3D_SVF_INTERFACE_PARAMETER = 8,
  396. D3D10_SVF_USERPACKED = D3D_SVF_USERPACKED,
  397. D3D10_SVF_USED = D3D_SVF_USED,
  398. D3D11_SVF_INTERFACE_POINTER = D3D_SVF_INTERFACE_POINTER,
  399. D3D11_SVF_INTERFACE_PARAMETER = D3D_SVF_INTERFACE_PARAMETER,
  400. D3D_SVF_FORCE_DWORD = 0x7fffffff
  401. } D3D_SHADER_VARIABLE_FLAGS;
  402. typedef
  403. enum _D3D_SHADER_VARIABLE_TYPE
  404. { D3D_SVT_VOID = 0,
  405. D3D_SVT_BOOL = 1,
  406. D3D_SVT_INT = 2,
  407. D3D_SVT_FLOAT = 3,
  408. D3D_SVT_STRING = 4,
  409. D3D_SVT_TEXTURE = 5,
  410. D3D_SVT_TEXTURE1D = 6,
  411. D3D_SVT_TEXTURE2D = 7,
  412. D3D_SVT_TEXTURE3D = 8,
  413. D3D_SVT_TEXTURECUBE = 9,
  414. D3D_SVT_SAMPLER = 10,
  415. D3D_SVT_SAMPLER1D = 11,
  416. D3D_SVT_SAMPLER2D = 12,
  417. D3D_SVT_SAMPLER3D = 13,
  418. D3D_SVT_SAMPLERCUBE = 14,
  419. D3D_SVT_PIXELSHADER = 15,
  420. D3D_SVT_VERTEXSHADER = 16,
  421. D3D_SVT_PIXELFRAGMENT = 17,
  422. D3D_SVT_VERTEXFRAGMENT = 18,
  423. D3D_SVT_UINT = 19,
  424. D3D_SVT_UINT8 = 20,
  425. D3D_SVT_GEOMETRYSHADER = 21,
  426. D3D_SVT_RASTERIZER = 22,
  427. D3D_SVT_DEPTHSTENCIL = 23,
  428. D3D_SVT_BLEND = 24,
  429. D3D_SVT_BUFFER = 25,
  430. D3D_SVT_CBUFFER = 26,
  431. D3D_SVT_TBUFFER = 27,
  432. D3D_SVT_TEXTURE1DARRAY = 28,
  433. D3D_SVT_TEXTURE2DARRAY = 29,
  434. D3D_SVT_RENDERTARGETVIEW = 30,
  435. D3D_SVT_DEPTHSTENCILVIEW = 31,
  436. D3D_SVT_TEXTURE2DMS = 32,
  437. D3D_SVT_TEXTURE2DMSARRAY = 33,
  438. D3D_SVT_TEXTURECUBEARRAY = 34,
  439. D3D_SVT_HULLSHADER = 35,
  440. D3D_SVT_DOMAINSHADER = 36,
  441. D3D_SVT_INTERFACE_POINTER = 37,
  442. D3D_SVT_COMPUTESHADER = 38,
  443. D3D_SVT_DOUBLE = 39,
  444. D3D_SVT_RWTEXTURE1D = 40,
  445. D3D_SVT_RWTEXTURE1DARRAY = 41,
  446. D3D_SVT_RWTEXTURE2D = 42,
  447. D3D_SVT_RWTEXTURE2DARRAY = 43,
  448. D3D_SVT_RWTEXTURE3D = 44,
  449. D3D_SVT_RWBUFFER = 45,
  450. D3D_SVT_BYTEADDRESS_BUFFER = 46,
  451. D3D_SVT_RWBYTEADDRESS_BUFFER = 47,
  452. D3D_SVT_STRUCTURED_BUFFER = 48,
  453. D3D_SVT_RWSTRUCTURED_BUFFER = 49,
  454. D3D_SVT_APPEND_STRUCTURED_BUFFER = 50,
  455. D3D_SVT_CONSUME_STRUCTURED_BUFFER = 51,
  456. D3D10_SVT_VOID = D3D_SVT_VOID,
  457. D3D10_SVT_BOOL = D3D_SVT_BOOL,
  458. D3D10_SVT_INT = D3D_SVT_INT,
  459. D3D10_SVT_FLOAT = D3D_SVT_FLOAT,
  460. D3D10_SVT_STRING = D3D_SVT_STRING,
  461. D3D10_SVT_TEXTURE = D3D_SVT_TEXTURE,
  462. D3D10_SVT_TEXTURE1D = D3D_SVT_TEXTURE1D,
  463. D3D10_SVT_TEXTURE2D = D3D_SVT_TEXTURE2D,
  464. D3D10_SVT_TEXTURE3D = D3D_SVT_TEXTURE3D,
  465. D3D10_SVT_TEXTURECUBE = D3D_SVT_TEXTURECUBE,
  466. D3D10_SVT_SAMPLER = D3D_SVT_SAMPLER,
  467. D3D10_SVT_SAMPLER1D = D3D_SVT_SAMPLER1D,
  468. D3D10_SVT_SAMPLER2D = D3D_SVT_SAMPLER2D,
  469. D3D10_SVT_SAMPLER3D = D3D_SVT_SAMPLER3D,
  470. D3D10_SVT_SAMPLERCUBE = D3D_SVT_SAMPLERCUBE,
  471. D3D10_SVT_PIXELSHADER = D3D_SVT_PIXELSHADER,
  472. D3D10_SVT_VERTEXSHADER = D3D_SVT_VERTEXSHADER,
  473. D3D10_SVT_PIXELFRAGMENT = D3D_SVT_PIXELFRAGMENT,
  474. D3D10_SVT_VERTEXFRAGMENT = D3D_SVT_VERTEXFRAGMENT,
  475. D3D10_SVT_UINT = D3D_SVT_UINT,
  476. D3D10_SVT_UINT8 = D3D_SVT_UINT8,
  477. D3D10_SVT_GEOMETRYSHADER = D3D_SVT_GEOMETRYSHADER,
  478. D3D10_SVT_RASTERIZER = D3D_SVT_RASTERIZER,
  479. D3D10_SVT_DEPTHSTENCIL = D3D_SVT_DEPTHSTENCIL,
  480. D3D10_SVT_BLEND = D3D_SVT_BLEND,
  481. D3D10_SVT_BUFFER = D3D_SVT_BUFFER,
  482. D3D10_SVT_CBUFFER = D3D_SVT_CBUFFER,
  483. D3D10_SVT_TBUFFER = D3D_SVT_TBUFFER,
  484. D3D10_SVT_TEXTURE1DARRAY = D3D_SVT_TEXTURE1DARRAY,
  485. D3D10_SVT_TEXTURE2DARRAY = D3D_SVT_TEXTURE2DARRAY,
  486. D3D10_SVT_RENDERTARGETVIEW = D3D_SVT_RENDERTARGETVIEW,
  487. D3D10_SVT_DEPTHSTENCILVIEW = D3D_SVT_DEPTHSTENCILVIEW,
  488. D3D10_SVT_TEXTURE2DMS = D3D_SVT_TEXTURE2DMS,
  489. D3D10_SVT_TEXTURE2DMSARRAY = D3D_SVT_TEXTURE2DMSARRAY,
  490. D3D10_SVT_TEXTURECUBEARRAY = D3D_SVT_TEXTURECUBEARRAY,
  491. D3D11_SVT_HULLSHADER = D3D_SVT_HULLSHADER,
  492. D3D11_SVT_DOMAINSHADER = D3D_SVT_DOMAINSHADER,
  493. D3D11_SVT_INTERFACE_POINTER = D3D_SVT_INTERFACE_POINTER,
  494. D3D11_SVT_COMPUTESHADER = D3D_SVT_COMPUTESHADER,
  495. D3D11_SVT_DOUBLE = D3D_SVT_DOUBLE,
  496. D3D11_SVT_RWTEXTURE1D = D3D_SVT_RWTEXTURE1D,
  497. D3D11_SVT_RWTEXTURE1DARRAY = D3D_SVT_RWTEXTURE1DARRAY,
  498. D3D11_SVT_RWTEXTURE2D = D3D_SVT_RWTEXTURE2D,
  499. D3D11_SVT_RWTEXTURE2DARRAY = D3D_SVT_RWTEXTURE2DARRAY,
  500. D3D11_SVT_RWTEXTURE3D = D3D_SVT_RWTEXTURE3D,
  501. D3D11_SVT_RWBUFFER = D3D_SVT_RWBUFFER,
  502. D3D11_SVT_BYTEADDRESS_BUFFER = D3D_SVT_BYTEADDRESS_BUFFER,
  503. D3D11_SVT_RWBYTEADDRESS_BUFFER = D3D_SVT_RWBYTEADDRESS_BUFFER,
  504. D3D11_SVT_STRUCTURED_BUFFER = D3D_SVT_STRUCTURED_BUFFER,
  505. D3D11_SVT_RWSTRUCTURED_BUFFER = D3D_SVT_RWSTRUCTURED_BUFFER,
  506. D3D11_SVT_APPEND_STRUCTURED_BUFFER = D3D_SVT_APPEND_STRUCTURED_BUFFER,
  507. D3D11_SVT_CONSUME_STRUCTURED_BUFFER = D3D_SVT_CONSUME_STRUCTURED_BUFFER,
  508. D3D_SVT_FORCE_DWORD = 0x7fffffff
  509. } D3D_SHADER_VARIABLE_TYPE;
  510. typedef
  511. enum _D3D_SHADER_INPUT_FLAGS
  512. { D3D_SIF_USERPACKED = 1,
  513. D3D_SIF_COMPARISON_SAMPLER = 2,
  514. D3D_SIF_TEXTURE_COMPONENT_0 = 4,
  515. D3D_SIF_TEXTURE_COMPONENT_1 = 8,
  516. D3D_SIF_TEXTURE_COMPONENTS = 12,
  517. D3D10_SIF_USERPACKED = D3D_SIF_USERPACKED,
  518. D3D10_SIF_COMPARISON_SAMPLER = D3D_SIF_COMPARISON_SAMPLER,
  519. D3D10_SIF_TEXTURE_COMPONENT_0 = D3D_SIF_TEXTURE_COMPONENT_0,
  520. D3D10_SIF_TEXTURE_COMPONENT_1 = D3D_SIF_TEXTURE_COMPONENT_1,
  521. D3D10_SIF_TEXTURE_COMPONENTS = D3D_SIF_TEXTURE_COMPONENTS,
  522. D3D_SIF_FORCE_DWORD = 0x7fffffff
  523. } D3D_SHADER_INPUT_FLAGS;
  524. typedef
  525. enum _D3D_SHADER_INPUT_TYPE
  526. { D3D_SIT_CBUFFER = 0,
  527. D3D_SIT_TBUFFER = ( D3D_SIT_CBUFFER + 1 ) ,
  528. D3D_SIT_TEXTURE = ( D3D_SIT_TBUFFER + 1 ) ,
  529. D3D_SIT_SAMPLER = ( D3D_SIT_TEXTURE + 1 ) ,
  530. D3D_SIT_UAV_RWTYPED = ( D3D_SIT_SAMPLER + 1 ) ,
  531. D3D_SIT_STRUCTURED = ( D3D_SIT_UAV_RWTYPED + 1 ) ,
  532. D3D_SIT_UAV_RWSTRUCTURED = ( D3D_SIT_STRUCTURED + 1 ) ,
  533. D3D_SIT_BYTEADDRESS = ( D3D_SIT_UAV_RWSTRUCTURED + 1 ) ,
  534. D3D_SIT_UAV_RWBYTEADDRESS = ( D3D_SIT_BYTEADDRESS + 1 ) ,
  535. D3D_SIT_UAV_APPEND_STRUCTURED = ( D3D_SIT_UAV_RWBYTEADDRESS + 1 ) ,
  536. D3D_SIT_UAV_CONSUME_STRUCTURED = ( D3D_SIT_UAV_APPEND_STRUCTURED + 1 ) ,
  537. D3D_SIT_UAV_RWSTRUCTURED_WITH_COUNTER = ( D3D_SIT_UAV_CONSUME_STRUCTURED + 1 ) ,
  538. D3D10_SIT_CBUFFER = D3D_SIT_CBUFFER,
  539. D3D10_SIT_TBUFFER = D3D_SIT_TBUFFER,
  540. D3D10_SIT_TEXTURE = D3D_SIT_TEXTURE,
  541. D3D10_SIT_SAMPLER = D3D_SIT_SAMPLER,
  542. D3D11_SIT_UAV_RWTYPED = D3D_SIT_UAV_RWTYPED,
  543. D3D11_SIT_STRUCTURED = D3D_SIT_STRUCTURED,
  544. D3D11_SIT_UAV_RWSTRUCTURED = D3D_SIT_UAV_RWSTRUCTURED,
  545. D3D11_SIT_BYTEADDRESS = D3D_SIT_BYTEADDRESS,
  546. D3D11_SIT_UAV_RWBYTEADDRESS = D3D_SIT_UAV_RWBYTEADDRESS,
  547. D3D11_SIT_UAV_APPEND_STRUCTURED = D3D_SIT_UAV_APPEND_STRUCTURED,
  548. D3D11_SIT_UAV_CONSUME_STRUCTURED = D3D_SIT_UAV_CONSUME_STRUCTURED,
  549. D3D11_SIT_UAV_RWSTRUCTURED_WITH_COUNTER = D3D_SIT_UAV_RWSTRUCTURED_WITH_COUNTER
  550. } D3D_SHADER_INPUT_TYPE;
  551. typedef
  552. enum _D3D_SHADER_CBUFFER_FLAGS
  553. { D3D_CBF_USERPACKED = 1,
  554. D3D10_CBF_USERPACKED = D3D_CBF_USERPACKED,
  555. D3D_CBF_FORCE_DWORD = 0x7fffffff
  556. } D3D_SHADER_CBUFFER_FLAGS;
  557. typedef
  558. enum _D3D_CBUFFER_TYPE
  559. { D3D_CT_CBUFFER = 0,
  560. D3D_CT_TBUFFER = ( D3D_CT_CBUFFER + 1 ) ,
  561. D3D_CT_INTERFACE_POINTERS = ( D3D_CT_TBUFFER + 1 ) ,
  562. D3D_CT_RESOURCE_BIND_INFO = ( D3D_CT_INTERFACE_POINTERS + 1 ) ,
  563. D3D10_CT_CBUFFER = D3D_CT_CBUFFER,
  564. D3D10_CT_TBUFFER = D3D_CT_TBUFFER,
  565. D3D11_CT_CBUFFER = D3D_CT_CBUFFER,
  566. D3D11_CT_TBUFFER = D3D_CT_TBUFFER,
  567. D3D11_CT_INTERFACE_POINTERS = D3D_CT_INTERFACE_POINTERS,
  568. D3D11_CT_RESOURCE_BIND_INFO = D3D_CT_RESOURCE_BIND_INFO
  569. } D3D_CBUFFER_TYPE;
  570. typedef
  571. enum D3D_NAME
  572. { D3D_NAME_UNDEFINED = 0,
  573. D3D_NAME_POSITION = 1,
  574. D3D_NAME_CLIP_DISTANCE = 2,
  575. D3D_NAME_CULL_DISTANCE = 3,
  576. D3D_NAME_RENDER_TARGET_ARRAY_INDEX = 4,
  577. D3D_NAME_VIEWPORT_ARRAY_INDEX = 5,
  578. D3D_NAME_VERTEX_ID = 6,
  579. D3D_NAME_PRIMITIVE_ID = 7,
  580. D3D_NAME_INSTANCE_ID = 8,
  581. D3D_NAME_IS_FRONT_FACE = 9,
  582. D3D_NAME_SAMPLE_INDEX = 10,
  583. D3D_NAME_FINAL_QUAD_EDGE_TESSFACTOR = 11,
  584. D3D_NAME_FINAL_QUAD_INSIDE_TESSFACTOR = 12,
  585. D3D_NAME_FINAL_TRI_EDGE_TESSFACTOR = 13,
  586. D3D_NAME_FINAL_TRI_INSIDE_TESSFACTOR = 14,
  587. D3D_NAME_FINAL_LINE_DETAIL_TESSFACTOR = 15,
  588. D3D_NAME_FINAL_LINE_DENSITY_TESSFACTOR = 16,
  589. D3D_NAME_TARGET = 64,
  590. D3D_NAME_DEPTH = 65,
  591. D3D_NAME_COVERAGE = 66,
  592. D3D_NAME_DEPTH_GREATER_EQUAL = 67,
  593. D3D_NAME_DEPTH_LESS_EQUAL = 68,
  594. D3D10_NAME_UNDEFINED = D3D_NAME_UNDEFINED,
  595. D3D10_NAME_POSITION = D3D_NAME_POSITION,
  596. D3D10_NAME_CLIP_DISTANCE = D3D_NAME_CLIP_DISTANCE,
  597. D3D10_NAME_CULL_DISTANCE = D3D_NAME_CULL_DISTANCE,
  598. D3D10_NAME_RENDER_TARGET_ARRAY_INDEX = D3D_NAME_RENDER_TARGET_ARRAY_INDEX,
  599. D3D10_NAME_VIEWPORT_ARRAY_INDEX = D3D_NAME_VIEWPORT_ARRAY_INDEX,
  600. D3D10_NAME_VERTEX_ID = D3D_NAME_VERTEX_ID,
  601. D3D10_NAME_PRIMITIVE_ID = D3D_NAME_PRIMITIVE_ID,
  602. D3D10_NAME_INSTANCE_ID = D3D_NAME_INSTANCE_ID,
  603. D3D10_NAME_IS_FRONT_FACE = D3D_NAME_IS_FRONT_FACE,
  604. D3D10_NAME_SAMPLE_INDEX = D3D_NAME_SAMPLE_INDEX,
  605. D3D10_NAME_TARGET = D3D_NAME_TARGET,
  606. D3D10_NAME_DEPTH = D3D_NAME_DEPTH,
  607. D3D10_NAME_COVERAGE = D3D_NAME_COVERAGE,
  608. D3D11_NAME_FINAL_QUAD_EDGE_TESSFACTOR = D3D_NAME_FINAL_QUAD_EDGE_TESSFACTOR,
  609. D3D11_NAME_FINAL_QUAD_INSIDE_TESSFACTOR = D3D_NAME_FINAL_QUAD_INSIDE_TESSFACTOR,
  610. D3D11_NAME_FINAL_TRI_EDGE_TESSFACTOR = D3D_NAME_FINAL_TRI_EDGE_TESSFACTOR,
  611. D3D11_NAME_FINAL_TRI_INSIDE_TESSFACTOR = D3D_NAME_FINAL_TRI_INSIDE_TESSFACTOR,
  612. D3D11_NAME_FINAL_LINE_DETAIL_TESSFACTOR = D3D_NAME_FINAL_LINE_DETAIL_TESSFACTOR,
  613. D3D11_NAME_FINAL_LINE_DENSITY_TESSFACTOR = D3D_NAME_FINAL_LINE_DENSITY_TESSFACTOR,
  614. D3D11_NAME_DEPTH_GREATER_EQUAL = D3D_NAME_DEPTH_GREATER_EQUAL,
  615. D3D11_NAME_DEPTH_LESS_EQUAL = D3D_NAME_DEPTH_LESS_EQUAL
  616. } D3D_NAME;
  617. typedef
  618. enum D3D_RESOURCE_RETURN_TYPE
  619. { D3D_RETURN_TYPE_UNORM = 1,
  620. D3D_RETURN_TYPE_SNORM = 2,
  621. D3D_RETURN_TYPE_SINT = 3,
  622. D3D_RETURN_TYPE_UINT = 4,
  623. D3D_RETURN_TYPE_FLOAT = 5,
  624. D3D_RETURN_TYPE_MIXED = 6,
  625. D3D_RETURN_TYPE_DOUBLE = 7,
  626. D3D_RETURN_TYPE_CONTINUED = 8,
  627. D3D10_RETURN_TYPE_UNORM = D3D_RETURN_TYPE_UNORM,
  628. D3D10_RETURN_TYPE_SNORM = D3D_RETURN_TYPE_SNORM,
  629. D3D10_RETURN_TYPE_SINT = D3D_RETURN_TYPE_SINT,
  630. D3D10_RETURN_TYPE_UINT = D3D_RETURN_TYPE_UINT,
  631. D3D10_RETURN_TYPE_FLOAT = D3D_RETURN_TYPE_FLOAT,
  632. D3D10_RETURN_TYPE_MIXED = D3D_RETURN_TYPE_MIXED,
  633. D3D11_RETURN_TYPE_UNORM = D3D_RETURN_TYPE_UNORM,
  634. D3D11_RETURN_TYPE_SNORM = D3D_RETURN_TYPE_SNORM,
  635. D3D11_RETURN_TYPE_SINT = D3D_RETURN_TYPE_SINT,
  636. D3D11_RETURN_TYPE_UINT = D3D_RETURN_TYPE_UINT,
  637. D3D11_RETURN_TYPE_FLOAT = D3D_RETURN_TYPE_FLOAT,
  638. D3D11_RETURN_TYPE_MIXED = D3D_RETURN_TYPE_MIXED,
  639. D3D11_RETURN_TYPE_DOUBLE = D3D_RETURN_TYPE_DOUBLE,
  640. D3D11_RETURN_TYPE_CONTINUED = D3D_RETURN_TYPE_CONTINUED
  641. } D3D_RESOURCE_RETURN_TYPE;
  642. typedef
  643. enum D3D_REGISTER_COMPONENT_TYPE
  644. { D3D_REGISTER_COMPONENT_UNKNOWN = 0,
  645. D3D_REGISTER_COMPONENT_UINT32 = 1,
  646. D3D_REGISTER_COMPONENT_SINT32 = 2,
  647. D3D_REGISTER_COMPONENT_FLOAT32 = 3,
  648. D3D10_REGISTER_COMPONENT_UNKNOWN = D3D_REGISTER_COMPONENT_UNKNOWN,
  649. D3D10_REGISTER_COMPONENT_UINT32 = D3D_REGISTER_COMPONENT_UINT32,
  650. D3D10_REGISTER_COMPONENT_SINT32 = D3D_REGISTER_COMPONENT_SINT32,
  651. D3D10_REGISTER_COMPONENT_FLOAT32 = D3D_REGISTER_COMPONENT_FLOAT32
  652. } D3D_REGISTER_COMPONENT_TYPE;
  653. typedef
  654. enum D3D_TESSELLATOR_DOMAIN
  655. { D3D_TESSELLATOR_DOMAIN_UNDEFINED = 0,
  656. D3D_TESSELLATOR_DOMAIN_ISOLINE = 1,
  657. D3D_TESSELLATOR_DOMAIN_TRI = 2,
  658. D3D_TESSELLATOR_DOMAIN_QUAD = 3,
  659. D3D11_TESSELLATOR_DOMAIN_UNDEFINED = D3D_TESSELLATOR_DOMAIN_UNDEFINED,
  660. D3D11_TESSELLATOR_DOMAIN_ISOLINE = D3D_TESSELLATOR_DOMAIN_ISOLINE,
  661. D3D11_TESSELLATOR_DOMAIN_TRI = D3D_TESSELLATOR_DOMAIN_TRI,
  662. D3D11_TESSELLATOR_DOMAIN_QUAD = D3D_TESSELLATOR_DOMAIN_QUAD
  663. } D3D_TESSELLATOR_DOMAIN;
  664. typedef
  665. enum D3D_TESSELLATOR_PARTITIONING
  666. { D3D_TESSELLATOR_PARTITIONING_UNDEFINED = 0,
  667. D3D_TESSELLATOR_PARTITIONING_INTEGER = 1,
  668. D3D_TESSELLATOR_PARTITIONING_POW2 = 2,
  669. D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD = 3,
  670. D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN = 4,
  671. D3D11_TESSELLATOR_PARTITIONING_UNDEFINED = D3D_TESSELLATOR_PARTITIONING_UNDEFINED,
  672. D3D11_TESSELLATOR_PARTITIONING_INTEGER = D3D_TESSELLATOR_PARTITIONING_INTEGER,
  673. D3D11_TESSELLATOR_PARTITIONING_POW2 = D3D_TESSELLATOR_PARTITIONING_POW2,
  674. D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD = D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD,
  675. D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN = D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN
  676. } D3D_TESSELLATOR_PARTITIONING;
  677. typedef
  678. enum D3D_TESSELLATOR_OUTPUT_PRIMITIVE
  679. { D3D_TESSELLATOR_OUTPUT_UNDEFINED = 0,
  680. D3D_TESSELLATOR_OUTPUT_POINT = 1,
  681. D3D_TESSELLATOR_OUTPUT_LINE = 2,
  682. D3D_TESSELLATOR_OUTPUT_TRIANGLE_CW = 3,
  683. D3D_TESSELLATOR_OUTPUT_TRIANGLE_CCW = 4,
  684. D3D11_TESSELLATOR_OUTPUT_UNDEFINED = D3D_TESSELLATOR_OUTPUT_UNDEFINED,
  685. D3D11_TESSELLATOR_OUTPUT_POINT = D3D_TESSELLATOR_OUTPUT_POINT,
  686. D3D11_TESSELLATOR_OUTPUT_LINE = D3D_TESSELLATOR_OUTPUT_LINE,
  687. D3D11_TESSELLATOR_OUTPUT_TRIANGLE_CW = D3D_TESSELLATOR_OUTPUT_TRIANGLE_CW,
  688. D3D11_TESSELLATOR_OUTPUT_TRIANGLE_CCW = D3D_TESSELLATOR_OUTPUT_TRIANGLE_CCW
  689. } D3D_TESSELLATOR_OUTPUT_PRIMITIVE;
  690. DEFINE_GUID(WKPDID_D3DDebugObjectName,0x429b8c22,0x9188,0x4b0c,0x87,0x42,0xac,0xb0,0xbf,0x85,0xc2,0x00);
  691. extern RPC_IF_HANDLE __MIDL_itf_d3dcommon_0000_0001_v0_0_c_ifspec;
  692. extern RPC_IF_HANDLE __MIDL_itf_d3dcommon_0000_0001_v0_0_s_ifspec;
  693. /* Additional Prototypes for ALL interfaces */
  694. /* end of Additional Prototypes */
  695. #ifdef __cplusplus
  696. }
  697. #endif
  698. #endif