ReactOS  0.4.15-dev-499-g1f31905
d3d9_caps.h
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS ReactX
4  * FILE: dll/directx/d3d9/d3d9_caps.h
5  * PURPOSE: d3d9.dll device/driver caps functions, defines and macros
6  * PROGRAMERS: Gregor Brunmar <gregor (dot) brunmar (at) home (dot) se>
7  */
8 
9 #ifndef _D3D9_CAPS_H_
10 #define _D3D9_CAPS_H_
11 
12 #include "d3d9_private.h"
13 #include <d3dhal.h>
14 
15 #define DX9_DDI_VERSION 4
16 
17 void CreateDisplayModeList(LPCSTR lpszDeviceName, D3DDISPLAYMODE* pDisplayModes, DWORD* pNumDisplayModes, D3DFORMAT DisplayFormat, D3D9_Unknown6BC* pUnknown6BC);
18 
20 
22 
24  LPD3D9_DRIVERCAPS pDriverCaps,
25  D3D9_CALLBACKS* pD3D9Callbacks,
26  LPCSTR lpszDeviceName,
27  HMODULE hD3dRefDll,
28  D3DHAL_GLOBALDRIVERDATA* pGblDriverData,
29  D3DHAL_D3DEXTENDEDCAPS* pD3dExtendedCaps,
30  LPDDSURFACEDESC puD3dTextureFormats,
31  DDPIXELFORMAT* pD3dZStencilFormatList,
32  D3DDISPLAYMODE* pD3dDisplayModeList,
33  D3DQUERYTYPE* pD3dQueryList,
34  LPDWORD pNumTextureFormats,
35  LPDWORD pNumZStencilFormats,
36  LPDWORD pNumExtendedFormats,
37  LPDWORD pNumQueries);
38 
39 #endif // _D3D9_CAPS_H_
BOOL GetD3D9DriverInfo(D3D9_Unknown6BC *pUnknown6BC, LPD3D9_DRIVERCAPS pDriverCaps, D3D9_CALLBACKS *pD3D9Callbacks, LPCSTR lpszDeviceName, HMODULE hD3dRefDll, D3DHAL_GLOBALDRIVERDATA *pGblDriverData, D3DHAL_D3DEXTENDEDCAPS *pD3dExtendedCaps, LPDDSURFACEDESC puD3dTextureFormats, DDPIXELFORMAT *pD3dZStencilFormatList, D3DDISPLAYMODE *pD3dDisplayModeList, D3DQUERYTYPE *pD3dQueryList, LPDWORD pNumTextureFormats, LPDWORD pNumZStencilFormats, LPDWORD pNumExtendedFormats, LPDWORD pNumQueries)
Definition: d3d9_caps.c:334
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL CanReenableDirectDrawObject(D3D9_Unknown6BC *ppUnknown)
Definition: d3d9_caps.c:299
enum _D3DFORMAT D3DFORMAT
const char * LPCSTR
Definition: xmlstorage.h:183
unsigned long DWORD
Definition: ntddk_ex.h:95
BOOL GetDeviceData(LPD3D9_DEVICEDATA pDeviceData)
Definition: d3d9_caps.c:126
D3DFORMAT DisplayFormat
Definition: d3d9_private.h:32
void CreateDisplayModeList(LPCSTR lpszDeviceName, D3DDISPLAYMODE *pDisplayModes, DWORD *pNumDisplayModes, D3DFORMAT DisplayFormat, D3D9_Unknown6BC *pUnknown6BC)
Definition: d3d9_caps.c:17
uint32_t * LPDWORD
Definition: typedefs.h:58
enum _D3DQUERYTYPE D3DQUERYTYPE