ReactOS  0.4.14-dev-342-gdc047f9
d3dcommon.idl
Go to the documentation of this file.
1 /*
2  * Copyright 2010 Matteo Bruni for CodeWeavers
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 import "oaidl.idl";
20 import "ocidl.idl";
21 
22 typedef struct _D3D_SHADER_MACRO
23 {
24  const char *Name;
25  const char *Definition;
27 
29 
30 [
31  object,
32  local,
33  uuid(8ba5fb08-5195-40e2-ac58-0d989c3a0102)
34 ]
35 interface ID3D10Blob : IUnknown
36 {
37  void *GetBufferPointer();
39 }
40 
41 typedef ID3D10Blob* LPD3D10BLOB;
44 cpp_quote("#define IID_ID3DBlob IID_ID3D10Blob")
45 
47 {
54 
55 [
56  object,
57  local,
58 ]
59 interface ID3DInclude
60 {
61  HRESULT Open(D3D_INCLUDE_TYPE include_type,
62  const char *filename,
63  const void *parent_data,
64  const void **data,
65  UINT *bytes);
66  HRESULT Close(const void *data);
67 }
68 
69 typedef ID3DInclude* LPD3DINCLUDE;
70 
71 typedef enum D3D_DRIVER_TYPE
72 {
80 
81 typedef enum D3D_FEATURE_LEVEL
82 {
91 
92 cpp_quote("#define D3D_FL9_1_REQ_TEXTURE1D_U_DIMENSION 2048")
93 cpp_quote("#define D3D_FL9_3_REQ_TEXTURE1D_U_DIMENSION 4096")
94 cpp_quote("#define D3D_FL9_1_REQ_TEXTURE2D_U_OR_V_DIMENSION 2048")
95 cpp_quote("#define D3D_FL9_3_REQ_TEXTURE2D_U_OR_V_DIMENSION 4096")
96 cpp_quote("#define D3D_FL9_1_REQ_TEXTURECUBE_DIMENSION 512")
97 cpp_quote("#define D3D_FL9_3_REQ_TEXTURECUBE_DIMENSION 4096")
98 cpp_quote("#define D3D_FL9_1_REQ_TEXTURE3D_U_V_OR_W_DIMENSION 256")
99 cpp_quote("#define D3D_FL9_1_DEFAULT_MAX_ANISOTROPY 2")
100 cpp_quote("#define D3D_FL9_1_IA_PRIMITIVE_MAX_COUNT 65535")
101 cpp_quote("#define D3D_FL9_2_IA_PRIMITIVE_MAX_COUNT 1048575")
102 cpp_quote("#define D3D_FL9_1_SIMULTANEOUS_RENDER_TARGET_COUNT 1")
103 cpp_quote("#define D3D_FL9_3_SIMULTANEOUS_RENDER_TARGET_COUNT 4")
104 cpp_quote("#define D3D_FL9_1_MAX_TEXTURE_REPEAT 128")
105 cpp_quote("#define D3D_FL9_2_MAX_TEXTURE_REPEAT 2048")
106 cpp_quote("#define D3D_FL9_3_MAX_TEXTURE_REPEAT 8192")
107 
109 {
126  D3D_SVC_FORCE_DWORD = 0x7fffffff,
128 
130 {
132  D3D_SVF_USED = 0x02,
139  D3D_SVF_FORCE_DWORD = 0x7fffffff
141 
143 {
248  D3D_SVT_FORCE_DWORD = 0x7fffffff,
250 
252 {
264  D3D_SIF_FORCE_DWORD = 0x7fffffff
266 
267 typedef enum D3D_PRIMITIVE
268 {
351 } D3D_PRIMITIVE;
352 
354 {
450 
452 {
462 
464 {
476 
478 {
490 
491 typedef enum D3D_CBUFFER_TYPE
492 {
504 
505 typedef enum D3D_SRV_DIMENSION
506 {
553 
555 {
565 
567 {
591 
592 typedef enum D3D_NAME
593 {
638 } D3D_NAME;
639 
641 {
667 
669 {
672  D3D_CBF_FORCE_DWORD = 0x7fffffff
674 
675 cpp_quote("DEFINE_GUID(WKPDID_D3DDebugObjectName,0x429b8c22,0x9188,0x4b0c,0x87,0x42,0xac,0xb0,0xbf,0x85,0xc2,0x00);")
D3D_RESOURCE_RETURN_TYPE
Definition: d3dcommon.idl:566
_D3D_INCLUDE_TYPE
Definition: d3dcommon.idl:46
IID_ID3DBlob enum _D3D_INCLUDE_TYPE D3D_INCLUDE_TYPE
void * GetBufferPointer()
D3D_FL9_3_MAX_TEXTURE_REPEAT enum _D3D_SHADER_VARIABLE_CLASS D3D_SHADER_VARIABLE_CLASS
enum _D3D_SHADER_VARIABLE_TYPE D3D_SHADER_VARIABLE_TYPE
HRESULT Open(D3D_INCLUDE_TYPE include_type, const char *filename, const void *parent_data, const void **data, UINT *bytes)
HRESULT Close(const void *data)
const char * filename
Definition: ioapi.h:135
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
ID3DBlob * LPD3DBLOB
Definition: d3dcommon.idl:43
D3D_CBUFFER_TYPE
Definition: d3dcommon.idl:491
static unsigned char bytes[4]
Definition: adnsresfilter.c:74
_D3D_SHADER_VARIABLE_CLASS
Definition: d3dcommon.idl:108
D3D_TESSELLATOR_OUTPUT_PRIMITIVE
Definition: d3dcommon.idl:477
D3D_TESSELLATOR_PARTITIONING
Definition: d3dcommon.idl:463
struct _D3D_SHADER_MACRO * LPD3D_SHADER_MACRO
Definition: d3dcommon.idl:28
_D3D_SHADER_VARIABLE_FLAGS
Definition: d3dcommon.idl:129
_D3D_SHADER_VARIABLE_TYPE
Definition: d3dcommon.idl:142
D3D_SRV_DIMENSION
Definition: d3dcommon.idl:505
enum _D3D_SHADER_VARIABLE_FLAGS D3D_SHADER_VARIABLE_FLAGS
const char * Definition
Definition: d3dcommon.idl:25
D3D_NAME
Definition: d3dcommon.idl:592
LONG HRESULT
Definition: typedefs.h:77
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
ID3D10Blob ID3DBlob
Definition: d3dcommon.idl:42
enum _D3D_SHADER_INPUT_TYPE D3D_SHADER_INPUT_TYPE
D3D_FEATURE_LEVEL
Definition: d3dcommon.idl:81
D3D_DRIVER_TYPE
Definition: d3dcommon.idl:71
#define local
Definition: zutil.h:30
ULONG_PTR SIZE_T
Definition: typedefs.h:78
enum _D3D_SHADER_CBUFFER_FLAGS D3D_SHADER_CBUFFER_FLAGS
unsigned int UINT
Definition: ndis.h:50
D3D_PRIMITIVE
Definition: d3dcommon.idl:267
const char * Name
Definition: d3dcommon.idl:24
_D3D_SHADER_INPUT_FLAGS
Definition: d3dcommon.idl:251
D3D_PRIMITIVE_TOPOLOGY
Definition: d3dcommon.idl:353
struct _D3D_SHADER_MACRO D3D_SHADER_MACRO
enum _D3D_SHADER_INPUT_FLAGS D3D_SHADER_INPUT_FLAGS
_D3D_SHADER_CBUFFER_FLAGS
Definition: d3dcommon.idl:668
void * object
Definition: jmemsys.h:48
D3D_REGISTER_COMPONENT_TYPE
Definition: d3dcommon.idl:554
D3D_TESSELLATOR_DOMAIN
Definition: d3dcommon.idl:451
_D3D_SHADER_INPUT_TYPE
Definition: d3dcommon.idl:640
SIZE_T GetBufferSize()