ReactOS  0.4.13-dev-99-g7e18b6d
d3dnthal.h
Go to the documentation of this file.
1 /*
2  * d3dnthal.h
3  *
4  * Direct3D NT driver interface
5  *
6  * Contributors:
7  * Created by Ge van Geldorp
8  *
9  * THIS SOFTWARE IS NOT COPYRIGHTED
10  *
11  * This source code is offered for use in the public domain. You may
12  * use, modify or distribute it freely.
13  *
14  * This code is distributed in the hope that it will be useful but
15  * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
16  * DISCLAIMED. This includes but is not limited to warranties of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18  *
19  */
20 
21 #ifndef __DDK_D3DNTHAL_H
22 #define __DDK_D3DNTHAL_H
23 
24 #include <ddrawint.h>
25 #include <d3dtypes.h>
26 #include <d3dcaps.h>
27 #include <d3dkmthk.h>
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 DEFINE_GUID(GUID_D3DCallbacks, 0x7BF06990, 0x8794, 0x11D0, 0x91, 0x39, 0x08, 0x00, 0x36, 0xD2, 0xEF, 0x02);
34 DEFINE_GUID(GUID_D3DCallbacks3, 0xDDF41230, 0xEC0A, 0x11D0, 0xA9, 0xB6, 0x00, 0xAA, 0x00, 0xC0, 0x99, 0x3E);
35 DEFINE_GUID(GUID_D3DExtendedCaps, 0x7DE41F80, 0x9D93, 0x11D0, 0x89, 0xAB, 0x00, 0xA0, 0xC9, 0x05, 0x41, 0x29);
36 DEFINE_GUID(GUID_D3DParseUnknownCommandCallback, 0x2E04FFA0, 0x98E4, 0x11D1, 0x8C, 0xE1, 0x00, 0xA0, 0xC9, 0x06, 0x29, 0xA8);
37 DEFINE_GUID(GUID_ZPixelFormats, 0x93869880, 0x36CF, 0x11D1, 0x9B, 0x1B, 0x00, 0xAA, 0x00, 0xBB, 0xB8, 0xAE);
38 DEFINE_GUID(GUID_DDStereoMode, 0xF828169C, 0xA8E8, 0x11D2, 0xA1, 0xF2, 0x00, 0xA0, 0xC9, 0x83, 0xEA, 0xF6);
39 
41  __GNU_EXTENSION union {
44  };
45  __GNU_EXTENSION union {
48  };
49  __GNU_EXTENSION union {
52  };
57 
62 
67 
73 
80 
86 
87 typedef struct _D3DNTHAL_TEXTURESWAPDATA {
93 
100 
109 
110 typedef struct _D3DNTHALDeviceDesc_V1 {
125 
134 
135 typedef struct _D3DNTHAL_CALLBACKS {
172 
179 
181 
182 typedef struct _D3DNTHAL_CALLBACKS2 {
191 
192 typedef struct _D3DNTHAL_CLEAR2DATA {
202 
210 
218  __GNU_EXTENSION union {
221  };
227  __GNU_EXTENSION union {
230  };
233 
237 
238 typedef struct _D3DNTHAL_CALLBACKS3 {
246 
247 #ifdef __cplusplus
248 } /* extern "C" */
249 #endif
250 
251 #endif /* __DDK_D3DNTHAL_H */
#define __GNU_EXTENSION
Definition: _mingw_mac.h:135
struct _D3DNTHAL_TEXTURESWAPDATA * LPD3DNTHAL_TEXTURESWAPDATA
D3DPRIMCAPS dpcTriCaps
Definition: d3dnthal.h:119
DWORD(APIENTRY * LPD3DNTHAL_SCENECAPTURECB)(LPD3DNTHAL_SCENECAPTUREDATA)
Definition: d3dnthal.h:104
PDD_SURFACE_LOCAL lpDDSZLcl
Definition: d3dnthal.h:51
LPD3DNTHAL_VALIDATETEXTURESTAGESTATECB ValidateTextureStageState
Definition: d3dnthal.h:243
DWORD(APIENTRY * LPD3DNTHAL_CONTEXTDESTROYALLCB)(LPD3DNTHAL_CONTEXTDESTROYALLDATA)
Definition: d3dnthal.h:103
DWORD(APIENTRY * LPD3DNTHAL_TEXTUREGETSURFCB)(LPD3DNTHAL_TEXTUREGETSURFDATA)
Definition: d3dnthal.h:108
struct _D3DNTHAL_TEXTUREDESTROYDATA D3DNTHAL_TEXTUREDESTROYDATA
struct _D3DNTHAL_CALLBACKS2 * LPD3DNTHAL_CALLBACKS2
ULONG_PTR dwReserved5
Definition: d3dnthal.h:166
ULONG_PTR dwReserved7
Definition: d3dnthal.h:168
struct _D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA
struct _D3DNTHAL_GLOBALDRIVERDATA D3DNTHAL_GLOBALDRIVERDATA
DWORD(APIENTRY * LPD3DNTHAL_TEXTUREDESTROYCB)(LPD3DNTHAL_TEXTUREDESTROYDATA)
Definition: d3dnthal.h:106
DWORD(APIENTRY * LPD3DNTHAL_CONTEXTCREATECB)(LPD3DNTHAL_CONTEXTCREATEDATA)
Definition: d3dnthal.h:101
ULONG_PTR dwReserved4
Definition: d3dnthal.h:165
D3DTRANSFORMCAPS dtcTransformCaps
Definition: d3dnthal.h:115
ULONG_PTR dwReserved0
Definition: d3dnthal.h:161
PDD_DIRECTDRAW_GLOBAL lpDDGbl
Definition: d3dnthal.h:42
struct _D3DNTHAL_SCENECAPTUREDATA * LPD3DNTHAL_SCENECAPTUREDATA
LPD3DNTHAL_CONTEXTDESTROYCB ContextDestroy
Definition: d3dnthal.h:138
PDD_SURFACE_LOCAL lpDDSLcl
Definition: d3dnthal.h:47
#define DWORD
Definition: nt_native.h:44
ULONG_PTR dwReserved
Definition: d3dnthal.h:145
LPD3DNTHAL_TEXTURESWAPCB TextureSwap
Definition: d3dnthal.h:148
uint32_t ULONG_PTR
Definition: typedefs.h:63
LPD3DRECT lpRects
Definition: d3dnthal.h:198
struct _D3DNTHAL_GLOBALDRIVERDATA * LPD3DNTHAL_GLOBALDRIVERDATA
PDD_SURFACE_LOCAL lpDDVertex
Definition: d3dnthal.h:219
struct _D3DNTHAL_SCENECAPTUREDATA D3DNTHAL_SCENECAPTUREDATA
struct _D3DNTHAL_TEXTUREGETSURFDATA * LPD3DNTHAL_TEXTUREGETSURFDATA
unsigned int BOOL
Definition: ntddk_ex.h:94
DWORD dwDeviceZBufferBitDepth
Definition: d3dnthal.h:121
#define FAR
Definition: guiddef.h:36
DWORD(APIENTRY * LPD3DNTHAL_SETRENDERTARGETCB)(LPD3DNTHAL_SETRENDERTARGETDATA)
Definition: d3dnthal.h:180
struct _D3DNTHAL_CONTEXTDESTROYDATA D3DNTHAL_CONTEXTDESTROYDATA
struct _D3DNTHALDeviceDesc_V1 D3DNTHALDEVICEDESC_V1
float D3DVALUE
Definition: d3dtypes.h:89
ULONG_PTR dwReserved9
Definition: d3dnthal.h:170
struct _D3DNTHAL_TEXTURESWAPDATA D3DNTHAL_TEXTURESWAPDATA
PDD_SURFACE_LOCAL lpDDSZ
Definition: d3dnthal.h:50
struct _D3DNTHAL_CALLBACKS3 * LPD3DNTHAL_CALLBACKS3
struct _D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA * LPD3DNTHAL_VALIDATETEXTURESTAGESTATEDATA
struct _D3DNTHAL_CLEAR2DATA D3DNTHAL_CLEAR2DATA
PDD_SURFACE_LOCAL lpDDS
Definition: d3dnthal.h:46
PDD_SURFACE_LOCAL lpDDCommands
Definition: d3dnthal.h:215
DWORD(APIENTRY * LPD3DNTHAL_VALIDATETEXTURESTAGESTATECB)(LPD3DNTHAL_VALIDATETEXTURESTAGESTATEDATA)
Definition: d3dnthal.h:235
struct _D3DNTHALDeviceDesc_V1 * LPD3DNTHALDEVICEDESC_V1
LONG HRESULT
Definition: typedefs.h:77
DWORD D3DCOLORMODEL
Definition: d3dtypes.h:629
struct _D3DNTHAL_DRAWPRIMITIVES2DATA D3DNTHAL_DRAWPRIMITIVES2DATA
struct _D3DNTHAL_CALLBACKS2 D3DNTHAL_CALLBACKS2
DWORD(APIENTRY * LPD3DNTHAL_DRAWPRIMITIVES2CB)(LPD3DNTHAL_DRAWPRIMITIVES2DATA)
Definition: d3dnthal.h:236
LPD3DNTHAL_TEXTURECREATECB TextureCreate
Definition: d3dnthal.h:146
unsigned long DWORD
Definition: ntddk_ex.h:95
LPD3DNTHAL_DRAWPRIMITIVES2CB DrawPrimitives2
Definition: d3dnthal.h:244
DWORD(APIENTRY * LPD3DNTHAL_TEXTURECREATECB)(LPD3DNTHAL_TEXTURECREATEDATA)
Definition: d3dnthal.h:105
D3DVALUE dvFillDepth
Definition: d3dnthal.h:196
LPDDSURFACEDESC lpTextureFormats
Definition: d3dnthal.h:132
ULONG_PTR dwReserved3
Definition: d3dnthal.h:164
LPD3DNTHAL_SCENECAPTURECB SceneCapture
Definition: d3dnthal.h:140
ULONG_PTR dwReserved2
Definition: d3dnthal.h:163
LPD3DNTHAL_TEXTUREDESTROYCB TextureDestroy
Definition: d3dnthal.h:147
DWORD(APIENTRY * LPD3DNTHAL_TEXTURESWAPCB)(LPD3DNTHAL_TEXTURESWAPDATA)
Definition: d3dnthal.h:107
struct _D3DNTHAL_CONTEXTCREATEDATA D3DNTHAL_CONTEXTCREATEDATA
ULONG_PTR dwReserved1
Definition: d3dnthal.h:162
DEFINE_GUID(GUID_D3DCallbacks, 0x7BF06990, 0x8794, 0x11D0, 0x91, 0x39, 0x08, 0x00, 0x36, 0xD2, 0xEF, 0x02)
D3DNTHALDEVICEDESC_V1 hwCaps
Definition: d3dnthal.h:128
struct _D3DNTHAL_CONTEXTCREATEDATA * LPD3DNTHAL_CONTEXTCREATEDATA
D3DCOLORMODEL dcmColorModel
Definition: d3dnthal.h:113
PDD_SURFACE_LOCAL lpDDSZ
Definition: d3dnthal.h:176
LPD3DNTHAL_CONTEXTDESTROYALLCB ContextDestroyAll
Definition: d3dnthal.h:139
struct _D3DNTHAL_TEXTUREGETSURFDATA D3DNTHAL_TEXTUREGETSURFDATA
ULONG_PTR dwhContext
Definition: d3dnthal.h:193
struct _D3DNTHAL_CALLBACKS D3DNTHAL_CALLBACKS
D3DLIGHTINGCAPS dlcLightingCaps
Definition: d3dnthal.h:117
struct _D3DNTHAL_DRAWPRIMITIVES2DATA * LPD3DNTHAL_DRAWPRIMITIVES2DATA
struct _D3DNTHAL_TEXTUREDESTROYDATA * LPD3DNTHAL_TEXTUREDESTROYDATA
LPD3DNTHAL_CONTEXTCREATECB ContextCreate
Definition: d3dnthal.h:137
LPD3DNTHAL_SETRENDERTARGETCB SetRenderTarget
Definition: d3dnthal.h:185
LPD3DNTHAL_TEXTUREGETSURFCB TextureGetSurf
Definition: d3dnthal.h:149
struct _D3DNTHAL_TEXTURECREATEDATA * LPD3DNTHAL_TEXTURECREATEDATA
ULONG_PTR dwReserved6
Definition: d3dnthal.h:167
PDD_DIRECTDRAW_LOCAL lpDDLcl
Definition: d3dnthal.h:43
struct _D3DNTHAL_SETRENDERTARGETDATA D3DNTHAL_SETRENDERTARGETDATA
DWORD dwDeviceRenderBitDepth
Definition: d3dnthal.h:120
ULONG_PTR dwReserved8
Definition: d3dnthal.h:169
struct _D3DNTHAL_CALLBACKS * LPD3DNTHAL_CALLBACKS
uint32_t * LPDWORD
Definition: typedefs.h:57
struct _D3DNTHAL_CONTEXTDESTROYALLDATA D3DNTHAL_CONTEXTDESTROYALLDATA
struct _D3DNTHAL_CLEAR2DATA * LPD3DNTHAL_CLEAR2DATA
DWORD(APIENTRY * LPD3DNTHAL_CLEAR2CB)(LPD3DNTHAL_CLEAR2DATA)
Definition: d3dnthal.h:234
struct _D3DNTHAL_TEXTURECREATEDATA D3DNTHAL_TEXTURECREATEDATA
LPD3DNTHAL_CLEAR2CB Clear2
Definition: d3dnthal.h:241
struct _D3DNTHAL_CONTEXTDESTROYALLDATA * LPD3DNTHAL_CONTEXTDESTROYALLDATA
struct _D3DNTHAL_CONTEXTDESTROYDATA * LPD3DNTHAL_CONTEXTDESTROYDATA
DWORD(APIENTRY * LPD3DNTHAL_CONTEXTDESTROYCB)(LPD3DNTHAL_CONTEXTDESTROYDATA)
Definition: d3dnthal.h:102
struct _D3DNTHAL_CALLBACKS3 D3DNTHAL_CALLBACKS3
struct _D3DNTHAL_SETRENDERTARGETDATA * LPD3DNTHAL_SETRENDERTARGETDATA
#define APIENTRY
Definition: api.h:79
PDD_SURFACE_LOCAL lpDDS
Definition: d3dnthal.h:175
D3DPRIMCAPS dpcLineCaps
Definition: d3dnthal.h:118