ReactOS 0.4.16-dev-106-g10b08aa
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
30extern "C" {
31#endif
32
33DEFINE_GUID(GUID_D3DCallbacks, 0x7BF06990, 0x8794, 0x11D0, 0x91, 0x39, 0x08, 0x00, 0x36, 0xD2, 0xEF, 0x02);
34DEFINE_GUID(GUID_D3DCallbacks3, 0xDDF41230, 0xEC0A, 0x11D0, 0xA9, 0xB6, 0x00, 0xAA, 0x00, 0xC0, 0x99, 0x3E);
35DEFINE_GUID(GUID_D3DExtendedCaps, 0x7DE41F80, 0x9D93, 0x11D0, 0x89, 0xAB, 0x00, 0xA0, 0xC9, 0x05, 0x41, 0x29);
36DEFINE_GUID(GUID_D3DParseUnknownCommandCallback, 0x2E04FFA0, 0x98E4, 0x11D1, 0x8C, 0xE1, 0x00, 0xA0, 0xC9, 0x06, 0x29, 0xA8);
37DEFINE_GUID(GUID_ZPixelFormats, 0x93869880, 0x36CF, 0x11D1, 0x9B, 0x1B, 0x00, 0xAA, 0x00, 0xBB, 0xB8, 0xAE);
38DEFINE_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
93
100
109
125
134
135typedef struct _D3DNTHAL_CALLBACKS {
172
179
181
182typedef struct _D3DNTHAL_CALLBACKS2 {
191
192typedef struct _D3DNTHAL_CLEAR2DATA {
202
210
218 __GNU_EXTENSION union {
221 };
227 __GNU_EXTENSION union {
230 };
233
237
238typedef 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_SCENECAPTUREDATA * LPD3DNTHAL_SCENECAPTUREDATA
struct _D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA
struct _D3DNTHAL_SCENECAPTUREDATA D3DNTHAL_SCENECAPTUREDATA
struct _D3DNTHAL_TEXTURESWAPDATA * LPD3DNTHAL_TEXTURESWAPDATA
struct _D3DNTHAL_DRAWPRIMITIVES2DATA D3DNTHAL_DRAWPRIMITIVES2DATA
struct _D3DNTHAL_GLOBALDRIVERDATA * LPD3DNTHAL_GLOBALDRIVERDATA
DWORD(APIENTRY * LPD3DNTHAL_CLEAR2CB)(LPD3DNTHAL_CLEAR2DATA)
Definition: d3dnthal.h:234
DWORD(APIENTRY * LPD3DNTHAL_TEXTURECREATECB)(LPD3DNTHAL_TEXTURECREATEDATA)
Definition: d3dnthal.h:105
struct _D3DNTHAL_TEXTURECREATEDATA D3DNTHAL_TEXTURECREATEDATA
struct _D3DNTHAL_TEXTUREGETSURFDATA D3DNTHAL_TEXTUREGETSURFDATA
struct _D3DNTHAL_TEXTUREDESTROYDATA * LPD3DNTHAL_TEXTUREDESTROYDATA
DWORD(APIENTRY * LPD3DNTHAL_SCENECAPTURECB)(LPD3DNTHAL_SCENECAPTUREDATA)
Definition: d3dnthal.h:104
struct _D3DNTHAL_CLEAR2DATA * LPD3DNTHAL_CLEAR2DATA
struct _D3DNTHAL_CALLBACKS2 * LPD3DNTHAL_CALLBACKS2
DWORD(APIENTRY * LPD3DNTHAL_CONTEXTDESTROYALLCB)(LPD3DNTHAL_CONTEXTDESTROYALLDATA)
Definition: d3dnthal.h:103
struct _D3DNTHAL_CALLBACKS3 * LPD3DNTHAL_CALLBACKS3
struct _D3DNTHAL_TEXTURECREATEDATA * LPD3DNTHAL_TEXTURECREATEDATA
struct _D3DNTHAL_CONTEXTCREATEDATA D3DNTHAL_CONTEXTCREATEDATA
DWORD(APIENTRY * LPD3DNTHAL_TEXTUREDESTROYCB)(LPD3DNTHAL_TEXTUREDESTROYDATA)
Definition: d3dnthal.h:106
struct _D3DNTHAL_TEXTUREDESTROYDATA D3DNTHAL_TEXTUREDESTROYDATA
struct _D3DNTHAL_CALLBACKS2 D3DNTHAL_CALLBACKS2
DWORD(APIENTRY * LPD3DNTHAL_VALIDATETEXTURESTAGESTATECB)(LPD3DNTHAL_VALIDATETEXTURESTAGESTATEDATA)
Definition: d3dnthal.h:235
DWORD(APIENTRY * LPD3DNTHAL_DRAWPRIMITIVES2CB)(LPD3DNTHAL_DRAWPRIMITIVES2DATA)
Definition: d3dnthal.h:236
struct _D3DNTHAL_GLOBALDRIVERDATA D3DNTHAL_GLOBALDRIVERDATA
DWORD(APIENTRY * LPD3DNTHAL_TEXTUREGETSURFCB)(LPD3DNTHAL_TEXTUREGETSURFDATA)
Definition: d3dnthal.h:108
struct _D3DNTHAL_CLEAR2DATA D3DNTHAL_CLEAR2DATA
struct _D3DNTHAL_TEXTUREGETSURFDATA * LPD3DNTHAL_TEXTUREGETSURFDATA
struct _D3DNTHAL_CONTEXTDESTROYDATA * LPD3DNTHAL_CONTEXTDESTROYDATA
struct _D3DNTHAL_CALLBACKS D3DNTHAL_CALLBACKS
DWORD(APIENTRY * LPD3DNTHAL_CONTEXTDESTROYCB)(LPD3DNTHAL_CONTEXTDESTROYDATA)
Definition: d3dnthal.h:102
struct _D3DNTHALDeviceDesc_V1 D3DNTHALDEVICEDESC_V1
struct _D3DNTHAL_SETRENDERTARGETDATA * LPD3DNTHAL_SETRENDERTARGETDATA
struct _D3DNTHALDeviceDesc_V1 * LPD3DNTHALDEVICEDESC_V1
struct _D3DNTHAL_CONTEXTDESTROYALLDATA D3DNTHAL_CONTEXTDESTROYALLDATA
struct _D3DNTHAL_CALLBACKS3 D3DNTHAL_CALLBACKS3
DWORD(APIENTRY * LPD3DNTHAL_CONTEXTCREATECB)(LPD3DNTHAL_CONTEXTCREATEDATA)
Definition: d3dnthal.h:101
struct _D3DNTHAL_CONTEXTDESTROYDATA D3DNTHAL_CONTEXTDESTROYDATA
struct _D3DNTHAL_CONTEXTCREATEDATA * LPD3DNTHAL_CONTEXTCREATEDATA
struct _D3DNTHAL_CALLBACKS * LPD3DNTHAL_CALLBACKS
struct _D3DNTHAL_CONTEXTDESTROYALLDATA * LPD3DNTHAL_CONTEXTDESTROYALLDATA
struct _D3DNTHAL_TEXTURESWAPDATA D3DNTHAL_TEXTURESWAPDATA
struct _D3DNTHAL_SETRENDERTARGETDATA D3DNTHAL_SETRENDERTARGETDATA
struct _D3DNTHAL_DRAWPRIMITIVES2DATA * LPD3DNTHAL_DRAWPRIMITIVES2DATA
DWORD(APIENTRY * LPD3DNTHAL_SETRENDERTARGETCB)(LPD3DNTHAL_SETRENDERTARGETDATA)
Definition: d3dnthal.h:180
struct _D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA * LPD3DNTHAL_VALIDATETEXTURESTAGESTATEDATA
DWORD(APIENTRY * LPD3DNTHAL_TEXTURESWAPCB)(LPD3DNTHAL_TEXTURESWAPDATA)
Definition: d3dnthal.h:107
float D3DVALUE
Definition: d3dtypes.h:89
DWORD D3DCOLORMODEL
Definition: d3dtypes.h:629
#define APIENTRY
Definition: api.h:79
#define FAR
Definition: zlib.h:34
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
#define DWORD
Definition: nt_native.h:44
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
Definition: guiddef.h:68
D3DPRIMCAPS dpcTriCaps
Definition: d3dnthal.h:119
DWORD dwDeviceRenderBitDepth
Definition: d3dnthal.h:120
D3DLIGHTINGCAPS dlcLightingCaps
Definition: d3dnthal.h:117
DWORD dwDeviceZBufferBitDepth
Definition: d3dnthal.h:121
D3DPRIMCAPS dpcLineCaps
Definition: d3dnthal.h:118
D3DCOLORMODEL dcmColorModel
Definition: d3dnthal.h:113
D3DTRANSFORMCAPS dtcTransformCaps
Definition: d3dnthal.h:115
LPD3DNTHAL_SETRENDERTARGETCB SetRenderTarget
Definition: d3dnthal.h:185
LPD3DNTHAL_CLEAR2CB Clear2
Definition: d3dnthal.h:241
LPD3DNTHAL_VALIDATETEXTURESTAGESTATECB ValidateTextureStageState
Definition: d3dnthal.h:243
LPD3DNTHAL_DRAWPRIMITIVES2CB DrawPrimitives2
Definition: d3dnthal.h:244
LPD3DNTHAL_CONTEXTDESTROYCB ContextDestroy
Definition: d3dnthal.h:138
ULONG_PTR dwReserved5
Definition: d3dnthal.h:166
LPD3DNTHAL_SCENECAPTURECB SceneCapture
Definition: d3dnthal.h:140
LPD3DNTHAL_TEXTURESWAPCB TextureSwap
Definition: d3dnthal.h:148
ULONG_PTR dwReserved
Definition: d3dnthal.h:145
ULONG_PTR dwReserved7
Definition: d3dnthal.h:168
ULONG_PTR dwReserved8
Definition: d3dnthal.h:169
ULONG_PTR dwReserved2
Definition: d3dnthal.h:163
LPD3DNTHAL_TEXTURECREATECB TextureCreate
Definition: d3dnthal.h:146
LPD3DNTHAL_TEXTUREGETSURFCB TextureGetSurf
Definition: d3dnthal.h:149
ULONG_PTR dwReserved6
Definition: d3dnthal.h:167
ULONG_PTR dwReserved0
Definition: d3dnthal.h:161
ULONG_PTR dwReserved1
Definition: d3dnthal.h:162
ULONG_PTR dwReserved4
Definition: d3dnthal.h:165
ULONG_PTR dwReserved9
Definition: d3dnthal.h:170
LPD3DNTHAL_CONTEXTCREATECB ContextCreate
Definition: d3dnthal.h:137
LPD3DNTHAL_TEXTUREDESTROYCB TextureDestroy
Definition: d3dnthal.h:147
LPD3DNTHAL_CONTEXTDESTROYALLCB ContextDestroyAll
Definition: d3dnthal.h:139
ULONG_PTR dwReserved3
Definition: d3dnthal.h:164
ULONG_PTR dwhContext
Definition: d3dnthal.h:193
LPD3DRECT lpRects
Definition: d3dnthal.h:198
D3DVALUE dvFillDepth
Definition: d3dnthal.h:196
PDD_DIRECTDRAW_GLOBAL lpDDGbl
Definition: d3dnthal.h:42
PDD_SURFACE_LOCAL lpDDS
Definition: d3dnthal.h:46
PDD_SURFACE_LOCAL lpDDSZ
Definition: d3dnthal.h:50
PDD_DIRECTDRAW_LOCAL lpDDLcl
Definition: d3dnthal.h:43
PDD_SURFACE_LOCAL lpDDSZLcl
Definition: d3dnthal.h:51
PDD_SURFACE_LOCAL lpDDSLcl
Definition: d3dnthal.h:47
PDD_SURFACE_LOCAL lpDDCommands
Definition: d3dnthal.h:215
PDD_SURFACE_LOCAL lpDDVertex
Definition: d3dnthal.h:219
D3DNTHALDEVICEDESC_V1 hwCaps
Definition: d3dnthal.h:128
LPDDSURFACEDESC lpTextureFormats
Definition: d3dnthal.h:132
PDD_SURFACE_LOCAL lpDDSZ
Definition: d3dnthal.h:176
PDD_SURFACE_LOCAL lpDDS
Definition: d3dnthal.h:175
uint32_t * LPDWORD
Definition: typedefs.h:59
uint32_t ULONG_PTR
Definition: typedefs.h:65