Sync with trunk rev.61910 to get latest improvements and bugfixes.
[reactos.git] / dll / directx / d3d9 / d3d9_caps.h
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
19 BOOL GetDeviceData(LPD3D9_DEVICEDATA pDeviceData);
20
21 BOOL CanReenableDirectDrawObject(D3D9_Unknown6BC* ppUnknown);
22
23 BOOL GetD3D9DriverInfo( D3D9_Unknown6BC* pUnknown6BC,
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_