ReactOS 0.4.15-dev-5666-gc548b97
d3d9_device.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_device.h
5 * PURPOSE: d3d9.dll internal device structures
6 * PROGRAMERS: Gregor Brunmar <gregor (dot) brunmar (at) home (dot) se>
7 */
8#ifndef _D3D9_DEVICE_H_
9#define _D3D9_DEVICE_H_
10
11#include "d3d9_common.h"
12#include <d3d9.h>
13#include <d3d9types.h>
14#include "d3d9_private.h"
15#include "d3d9_swapchain.h"
16#include "d3d9_surface.h"
17
18#if !defined(__cplusplus) || defined(CINTERFACE)
20{
21 struct IDirect3DDevice9Vtbl PublicInterface;
22
23 HRESULT (WINAPI *SetRenderStateWorker)(LPDIRECT3DDEVICE9 iface, D3DRENDERSTATETYPE State, DWORD Value); // Value = D3DDEGREETYPE Degree );
27 HRESULT (WINAPI *SetVertexShader)(LPDIRECT3DDEVICE9 iface, IDirect3DVertexShader9* pShader);
31 HRESULT (WINAPI *SetPixelShader)(LPDIRECT3DDEVICE9 iface, IDirect3DPixelShader9* pShader);
36 HRESULT (WINAPI *SetTexture)(LPDIRECT3DDEVICE9 iface, DWORD Stage,IDirect3DBaseTexture9* pTexture);
37 HRESULT (WINAPI *SetIndices)(LPDIRECT3DDEVICE9 iface, IDirect3DIndexBuffer9* pIndexData);
38 HRESULT (WINAPI *SetStreamSource)(LPDIRECT3DDEVICE9 iface, UINT StreamNumber,IDirect3DVertexBuffer9* pStreamData,UINT OffsetInBytes,UINT Stride);
40 VOID (WINAPI *UpdateRenderState)(LPDIRECT3DDEVICE9 iface, DWORD Unknown1, DWORD Unknown2);
43 HRESULT (WINAPI *SetClipPlane)(LPDIRECT3DDEVICE9 iface, DWORD Index,CONST float* pPlane);
44 VOID (WINAPI *UpdateDriverState)(LPDIRECT3DDEVICE9 iface);
46 VOID (WINAPI *SetStreamSourceInt)(LPDIRECT3DDEVICE9 iface, LPVOID UnknownStreamData);
47 HRESULT (WINAPI *SetPixelShaderConstantFWorker)(LPDIRECT3DDEVICE9 iface, UINT StartRegister,CONST float* pConstantData,UINT Vector4fCount);
53 HRESULT (WINAPI *SetRenderStateInt)(LPDIRECT3DDEVICE9 iface, D3DRENDERSTATETYPE State, DWORD Value ); // Value = D3DDEGREETYPE Degree );
56 VOID (WINAPI *DrawPrimitivesWorker)(LPDIRECT3DDEVICE9 iface);
57 VOID (WINAPI *UpdateVertexShader)(LPDIRECT3DDEVICE9 iface);
60 VOID (WINAPI *InitState)(LPDIRECT3DDEVICE9 iface, INT State);
61 VOID (WINAPI *Destroy)(LPDIRECT3DDEVICE9 iface);
62 VOID (WINAPI *VirtualDestructor)(LPDIRECT3DDEVICE9 iface);
64#endif
65
66typedef struct _D3D9HeapTexture
67{
68/* 0x0000 */ DWORD dwUnknown00;
69/* 0x0004 */ DWORD dwUnknown04; // 0x400
70/* 0x0008 */ LPDWORD pUnknown08; // malloc(dwUnknown04 * 2)
72
74{
75#ifdef D3D_DEBUG_INFO
76/* N/A - 0x0000 */ DDSURFACEDESC SurfaceDesc[8];
77#endif
78/* 0x0000 - 0x0160 */ struct _Direct3DDevice9_INT* pBaseDevice;
79/* 0x0004 - 0x0164 */ DWORD dwUnknown0004;
80/* 0x0008 - 0x0168 */ DWORD dwUnknown0008;
81/* 0x000c - 0x016c */ DWORD MaxSimultaneousTextures;
82/* 0x0010 - 0x0170 */ DWORD dwUnknown0010;
83/* 0x0014 - 0x0174 */ D3D9HeapTexture* pTextureHeap;
85
87{
88/* 0x0000 */ struct _IDirect3DDevice9Vtbl_INT* lpVtbl;
90#ifdef D3D_DEBUG_INFO
91/* N/A - 0x001c */ DWORD dbg0004;
92/* N/A - 0x0020 */ DWORD dbg0008;
93/* N/A - 0x0024 */ DWORD dbg000c;
94/* N/A - 0x0028 */ DWORD dbg0010;
95/* N/A - 0x002c */ DWORD dbg0014;
96/* N/A - 0x0030 */ DWORD dbg0018;
97/* N/A - 0x0034 */ DWORD dbg001c;
98/* N/A - 0x0038 */ DWORD dbg0020;
99/* N/A - 0x003c */ DWORD dbg0024;
100/* N/A - 0x0040 */ DWORD dbg0028;
101/* N/A - 0x0044 */ DWORD dbg002c;
102/* N/A - 0x0048 */ DWORD dbg0030;
103/* N/A - 0x004c */ DWORD dbg0034;
104/* N/A - 0x0050 */ DWORD dbg0038;
105#endif
106/* 0x001c - 0x0054 */ BOOL bLockDevice;
107/* 0x0020 - 0x0058 */ DWORD dwProcessId;
108/* 0x0024 - 0x005c */ IUnknown* pUnknown;
109/* 0x0028 - 0x0060 */ DWORD dwDXVersion;
110/* 0x002c - 0x0064 */ DWORD unknown000011;
111/* 0x0030 - 0x0068 */ LONG lRefCnt;
112/* 0x0034 - 0x006c */ DWORD unknown000013;
114/* 0x003c - 0x0074 */ HWND hWnd;
115/* 0x0040 - 0x0078 */ DWORD AdjustedBehaviourFlags;
116/* 0x0044 - 0x007c */ DWORD BehaviourFlags;
117/* 0x0048 - 0x0080 */ D3D9BaseSurface* pUnknown0010;
118/* 0x004c - 0x0084 */ DWORD NumAdaptersInDevice;
125/* 0x1e54 */ DWORD unknown001941;
126/* 0x1e58 */ DWORD unknown001942;
127/* 0x1e5c */ DWORD unknown001943;
132/* 0x1e70 */ DWORD unknown001948;
135/* 0x1e7c */ DWORD unknown001951;
136/* 0x1e80 */ DWORD unknown001952;
137/* 0x1e84 */ DWORD unknown001953;
138/* 0x1e88 */ DWORD unknown001954;
139/* 0x1e8c */ DWORD unknown001955;
140/* 0x1e90 */ DWORD unknown001956;
141/* 0x1e94 */ DWORD unknown001957;
142/* 0x1e98 */ DWORD unknown001958;
143/* 0x1e9c */ DWORD unknown001959;
144/* 0x1ea0 */ DWORD unknown001960;
145/* 0x1ea4 */ DWORD unknown001961;
146/* 0x1ea8 */ DWORD unknown001962;
147/* 0x1eac */ DWORD unknown001963;
148/* 0x1eb0 */ DWORD unknown001964;
149/* 0x1eb4 */ DWORD unknown001965;
150/* 0x1eb8 */ DWORD unknown001966;
151/* 0x1ebc */ DWORD unknown001967;
152/* 0x1ec0 */ DWORD unknown001968;
153/* 0x1ec4 */ DWORD unknown001969;
154/* 0x1ec8 */ DWORD unknown001970;
155/* 0x1ecc */ DWORD unknown001971;
156/* 0x1ed0 */ DWORD unknown001972;
157/* 0x1ed4 */ DWORD unknown001973;
158/* 0x1ed8 */ DWORD unknown001974;
159/* 0x1edc */ DWORD unknown001975;
160/* 0x1ee0 */ DWORD unknown001976;
161/* 0x1ee4 */ DWORD unknown001977;
162/* 0x1ee8 */ DWORD unknown001978;
163/* 0x1eec */ DWORD unknown001979;
164/* 0x1ef0 */ DWORD unknown001980;
165/* 0x1ef4 */ DWORD unknown001981;
166/* 0x1ef8 */ DWORD unknown001982;
167/* 0x1efc */ DWORD unknown001983;
168/* 0x1f00 */ DWORD unknown001984;
169/* 0x1f04 */ DWORD unknown001985;
170/* 0x1f08 */ DWORD unknown001986;
171/* 0x1f0c */ DWORD unknown001987;
172/* 0x1f10 */ DWORD unknown001988;
173/* 0x1f14 */ DWORD unknown001989;
174/* 0x1f18 */ DWORD unknown001990;
175/* 0x1f1c */ DWORD unknown001991;
176/* 0x1f20 */ DWORD unknown001992;
177/* 0x1f24 */ DWORD unknown001993;
178/* 0x1f28 */ DWORD unknown001994;
179/* 0x1f2c */ DWORD unknown001995;
180/* 0x1f30 */ DWORD unknown001996;
181/* 0x1f34 */ DWORD unknown001997;
182/* 0x1f38 */ DWORD unknown001998;
183/* 0x1f3c */ DWORD unknown001999;
184/* 0x1f40 */ DWORD unknown002000;
185/* 0x1f44 */ DWORD unknown002001;
187
188/* Helper functions */
190
191/* IUnknown interface */
195
196/* IDirect3DDevice9 public interface */
204HRESULT WINAPI IDirect3DDevice9Base_SetCursorProperties(LPDIRECT3DDEVICE9 iface, UINT XHotSpot, UINT YHotSpot, IDirect3DSurface9* pCursorBitmap);
207HRESULT WINAPI IDirect3DDevice9Base_CreateAdditionalSwapChain(LPDIRECT3DDEVICE9 iface, D3DPRESENT_PARAMETERS* pPresentationParameters, IDirect3DSwapChain9** ppSwapChain);
208HRESULT WINAPI IDirect3DDevice9Base_GetSwapChain(LPDIRECT3DDEVICE9 iface, UINT iSwapChain, IDirect3DSwapChain9** ppSwapChain);
211HRESULT WINAPI IDirect3DDevice9Base_Present(LPDIRECT3DDEVICE9 iface, CONST RECT* pSourceRect, CONST RECT* pDestRect, HWND hDestWindowOverride, CONST RGNDATA* pDirtyRegion);
212HRESULT WINAPI IDirect3DDevice9Base_GetBackBuffer(LPDIRECT3DDEVICE9 iface, UINT iSwapChain, UINT iBackBuffer, D3DBACKBUFFER_TYPE Type, IDirect3DSurface9** ppBackBuffer);
219HRESULT WINAPI IDirect3DDevice9Base_CreateCubeTexture(LPDIRECT3DDEVICE9 iface, UINT EdgeLength, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DCubeTexture9** ppCubeTexture, HANDLE* pSharedHandle);
220HRESULT WINAPI IDirect3DDevice9Base_CreateVertexBuffer(LPDIRECT3DDEVICE9 iface, UINT Length, DWORD Usage, DWORD FVF, D3DPOOL Pool, IDirect3DVertexBuffer9** ppVertexBuffer, HANDLE* pSharedHandle);
221HRESULT WINAPI IDirect3DDevice9Base_CreateIndexBuffer(LPDIRECT3DDEVICE9 iface, UINT Length, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DIndexBuffer9** ppIndexBuffer, HANDLE* pSharedHandle);
222HRESULT WINAPI IDirect3DDevice9Base_CreateRenderTarget(LPDIRECT3DDEVICE9 iface, UINT Width, UINT Height, D3DFORMAT Format, D3DMULTISAMPLE_TYPE MultiSample, DWORD MultisampleQuality, BOOL Lockable, IDirect3DSurface9** ppSurface, HANDLE* pSharedHandle);
223HRESULT WINAPI IDirect3DDevice9Base_CreateDepthStencilSurface(LPDIRECT3DDEVICE9 iface, UINT Width, UINT Height, D3DFORMAT Format, D3DMULTISAMPLE_TYPE MultiSample, DWORD MultisampleQuality, BOOL Discard, IDirect3DSurface9** ppSurface, HANDLE* pSharedHandle);
224HRESULT WINAPI IDirect3DDevice9Base_UpdateSurface(LPDIRECT3DDEVICE9 iface, IDirect3DSurface9* pSourceSurface, CONST RECT* pSourceRect, IDirect3DSurface9* pDestinationSurface, CONST POINT* pDestPoint);
225HRESULT WINAPI IDirect3DDevice9Base_UpdateTexture(LPDIRECT3DDEVICE9 iface, IDirect3DBaseTexture9* pSourceTexture, IDirect3DBaseTexture9* pDestinationTexture);
226HRESULT WINAPI IDirect3DDevice9Base_GetRenderTargetData(LPDIRECT3DDEVICE9 iface, IDirect3DSurface9* pRenderTarget, IDirect3DSurface9* pDestSurface);
227HRESULT WINAPI IDirect3DDevice9Base_GetFrontBufferData(LPDIRECT3DDEVICE9 iface, UINT iSwapChain, IDirect3DSurface9* pDestSurface);
228HRESULT WINAPI IDirect3DDevice9Base_StretchRect(LPDIRECT3DDEVICE9 iface, IDirect3DSurface9* pSourceSurface, CONST RECT* pSourceRect, IDirect3DSurface9* pDestSurface, CONST RECT* pDestRect, D3DTEXTUREFILTERTYPE Filter);
231
232/* IDirect3DDevice9 private interface */
235
236#endif /* _D3D9_DEVICE_H_ */
Type
Definition: Type.h:7
#define VOID
Definition: acefi.h:82
Definition: bufpool.h:50
enum _D3DTEXTURESTAGESTATETYPE D3DTEXTURESTAGESTATETYPE
enum _D3DBACKBUFFER_TYPE D3DBACKBUFFER_TYPE
enum _D3DDEVTYPE D3DDEVTYPE
enum _D3DPOOL D3DPOOL
enum _D3DTRANSFORMSTATETYPE D3DTRANSFORMSTATETYPE
enum _D3DFORMAT D3DFORMAT
enum _D3DTEXTUREFILTERTYPE D3DTEXTUREFILTERTYPE
enum _D3DMULTISAMPLE_TYPE D3DMULTISAMPLE_TYPE
#define D3D9_INT_MAX_NUM_ADAPTERS
Definition: d3d9_private.h:15
struct IDirect3DDevice9 * LPDIRECT3DDEVICE9
Definition: d3d9.h:130
HRESULT WINAPI IDirect3DDevice9Base_CreateTexture(LPDIRECT3DDEVICE9 iface, UINT Width, UINT Height, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DTexture9 **ppTexture, HANDLE *pSharedHandle)
Definition: d3d9_device.c:789
HRESULT WINAPI IDirect3DDevice9Base_GetDeviceCaps(LPDIRECT3DDEVICE9 iface, D3DCAPS9 *pCaps)
Definition: d3d9_device.c:192
UINT WINAPI IDirect3DDevice9Base_GetNumberOfSwapChains(LPDIRECT3DDEVICE9 iface)
Definition: d3d9_device.c:455
VOID WINAPI IDirect3DDevice9Base_VirtualDestructor(LPDIRECT3DDEVICE9 iface)
Definition: d3d9_device.c:960
struct _Direct3DDevice9_INT DIRECT3DDEVICE9_INT
HRESULT WINAPI IDirect3DDevice9Base_GetRenderTargetData(LPDIRECT3DDEVICE9 iface, IDirect3DSurface9 *pRenderTarget, IDirect3DSurface9 *pDestSurface)
Definition: d3d9_device.c:876
LPDIRECT3DDEVICE9_INT IDirect3DDevice9ToImpl(LPDIRECT3DDEVICE9 iface)
Definition: d3d9_device.c:19
HRESULT WINAPI IDirect3DDevice9Base_CreateIndexBuffer(LPDIRECT3DDEVICE9 iface, UINT Length, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DIndexBuffer9 **ppIndexBuffer, HANDLE *pSharedHandle)
Definition: d3d9_device.c:841
HRESULT WINAPI IDirect3DDevice9Base_QueryInterface(LPDIRECT3DDEVICE9 iface, REFIID riid, void **ppvObject)
Definition: d3d9_device.c:35
VOID WINAPI IDirect3DDevice9Base_SetGammaRamp(LPDIRECT3DDEVICE9 iface, UINT iSwapChain, DWORD Flags, CONST D3DGAMMARAMP *pRamp)
Definition: d3d9_device.c:678
HRESULT WINAPI IDirect3DDevice9Base_CreateDepthStencilSurface(LPDIRECT3DDEVICE9 iface, UINT Width, UINT Height, D3DFORMAT Format, D3DMULTISAMPLE_TYPE MultiSample, DWORD MultisampleQuality, BOOL Discard, IDirect3DSurface9 **ppSurface, HANDLE *pSharedHandle)
Definition: d3d9_device.c:855
HRESULT WINAPI IDirect3DDevice9Base_EvictManagedResources(LPDIRECT3DDEVICE9 iface)
Definition: d3d9_device.c:128
HRESULT WINAPI IDirect3DDevice9Base_GetDisplayMode(LPDIRECT3DDEVICE9 iface, UINT iSwapChain, D3DDISPLAYMODE *pMode)
Definition: d3d9_device.c:232
HRESULT WINAPI IDirect3DDevice9Base_ColorFill(LPDIRECT3DDEVICE9 iface, IDirect3DSurface9 *pSurface, CONST RECT *pRect, D3DCOLOR color)
Definition: d3d9_device.c:940
HRESULT WINAPI IDirect3DDevice9Base_UpdateTexture(LPDIRECT3DDEVICE9 iface, IDirect3DBaseTexture9 *pSourceTexture, IDirect3DBaseTexture9 *pDestinationTexture)
Definition: d3d9_device.c:869
BOOL WINAPI IDirect3DDevice9Base_ShowCursor(LPDIRECT3DDEVICE9 iface, BOOL bShow)
Definition: d3d9_device.c:312
VOID WINAPI IDirect3DDevice9Base_SetCursorPosition(LPDIRECT3DDEVICE9 iface, int X, int Y, DWORD Flags)
Definition: d3d9_device.c:307
VOID WINAPI IDirect3DDevice9Base_Destroy(LPDIRECT3DDEVICE9 iface)
Definition: d3d9_device.c:955
HRESULT WINAPI IDirect3DDevice9Base_GetCreationParameters(LPDIRECT3DDEVICE9 iface, D3DDEVICE_CREATION_PARAMETERS *pParameters)
Definition: d3d9_device.c:279
HRESULT WINAPI IDirect3DDevice9Base_GetBackBuffer(LPDIRECT3DDEVICE9 iface, UINT iSwapChain, UINT iBackBuffer, D3DBACKBUFFER_TYPE Type, IDirect3DSurface9 **ppBackBuffer)
Definition: d3d9_device.c:568
struct _D3D9ResourceManager D3D9ResourceManager
struct _IDirect3DDevice9Vtbl_INT IDirect3DDevice9Vtbl_INT
HRESULT WINAPI IDirect3DDevice9Base_Reset(LPDIRECT3DDEVICE9 iface, D3DPRESENT_PARAMETERS *pPresentationParameters)
Definition: d3d9_device.c:468
ULONG WINAPI IDirect3DDevice9Base_Release(LPDIRECT3DDEVICE9 iface)
Definition: d3d9_device.c:58
struct _Direct3DDevice9_INT * LPDIRECT3DDEVICE9_INT
HRESULT WINAPI IDirect3DDevice9Base_GetFrontBufferData(LPDIRECT3DDEVICE9 iface, UINT iSwapChain, IDirect3DSurface9 *pDestSurface)
Definition: d3d9_device.c:905
HRESULT WINAPI IDirect3DDevice9Base_CreateVolumeTexture(LPDIRECT3DDEVICE9 iface, UINT Width, UINT Height, UINT Depth, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DVolumeTexture9 **ppVolumeTexture, HANDLE *pSharedHandle)
Definition: d3d9_device.c:820
HRESULT WINAPI IDirect3DDevice9Base_GetSwapChain(LPDIRECT3DDEVICE9 iface, UINT iSwapChain, IDirect3DSwapChain9 **ppSwapChain)
Definition: d3d9_device.c:402
VOID WINAPI IDirect3DDevice9Base_GetGammaRamp(LPDIRECT3DDEVICE9 iface, UINT iSwapChain, D3DGAMMARAMP *pRamp)
Definition: d3d9_device.c:724
HRESULT WINAPI IDirect3DDevice9Base_CreateVertexBuffer(LPDIRECT3DDEVICE9 iface, UINT Length, DWORD Usage, DWORD FVF, D3DPOOL Pool, IDirect3DVertexBuffer9 **ppVertexBuffer, HANDLE *pSharedHandle)
Definition: d3d9_device.c:834
HRESULT WINAPI IDirect3DDevice9Base_CreateAdditionalSwapChain(LPDIRECT3DDEVICE9 iface, D3DPRESENT_PARAMETERS *pPresentationParameters, IDirect3DSwapChain9 **ppSwapChain)
Definition: d3d9_device.c:343
HRESULT WINAPI IDirect3DDevice9Base_CreateCubeTexture(LPDIRECT3DDEVICE9 iface, UINT EdgeLength, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DCubeTexture9 **ppCubeTexture, HANDLE *pSharedHandle)
Definition: d3d9_device.c:827
HRESULT WINAPI IDirect3DDevice9Base_CreateOffscreenPlainSurface(LPDIRECT3DDEVICE9 iface, UINT Width, UINT Height, D3DFORMAT Format, D3DPOOL Pool, IDirect3DSurface9 **ppSurface, HANDLE *pSharedHandle)
Definition: d3d9_device.c:947
HRESULT WINAPI IDirect3DDevice9Base_UpdateSurface(LPDIRECT3DDEVICE9 iface, IDirect3DSurface9 *pSourceSurface, CONST RECT *pSourceRect, IDirect3DSurface9 *pDestinationSurface, CONST POINT *pDestPoint)
Definition: d3d9_device.c:862
HRESULT WINAPI IDirect3DDevice9Base_SetCursorProperties(LPDIRECT3DDEVICE9 iface, UINT XHotSpot, UINT YHotSpot, IDirect3DSurface9 *pCursorBitmap)
Definition: d3d9_device.c:300
HRESULT WINAPI IDirect3DDevice9Base_GetDirect3D(LPDIRECT3DDEVICE9 iface, IDirect3D9 **ppD3D9)
Definition: d3d9_device.c:153
struct _D3D9HeapTexture D3D9HeapTexture
UINT WINAPI IDirect3DDevice9Base_GetAvailableTextureMem(LPDIRECT3DDEVICE9 iface)
Definition: d3d9_device.c:106
ULONG WINAPI IDirect3DDevice9Base_AddRef(LPDIRECT3DDEVICE9 iface)
Definition: d3d9_device.c:50
HRESULT WINAPI IDirect3DDevice9Base_TestCooperativeLevel(LPDIRECT3DDEVICE9 iface)
Definition: d3d9_device.c:84
HRESULT WINAPI IDirect3DDevice9Base_CreateRenderTarget(LPDIRECT3DDEVICE9 iface, UINT Width, UINT Height, D3DFORMAT Format, D3DMULTISAMPLE_TYPE MultiSample, DWORD MultisampleQuality, BOOL Lockable, IDirect3DSurface9 **ppSurface, HANDLE *pSharedHandle)
Definition: d3d9_device.c:848
HRESULT WINAPI IDirect3DDevice9Base_Present(LPDIRECT3DDEVICE9 iface, CONST RECT *pSourceRect, CONST RECT *pDestRect, HWND hDestWindowOverride, CONST RGNDATA *pDirtyRegion)
Definition: d3d9_device.c:508
HRESULT WINAPI IDirect3DDevice9Base_GetRasterStatus(LPDIRECT3DDEVICE9 iface, UINT iSwapChain, D3DRASTER_STATUS *pRasterStatus)
Definition: d3d9_device.c:618
HRESULT WINAPI IDirect3DDevice9Base_SetDialogBoxMode(LPDIRECT3DDEVICE9 iface, BOOL bEnableDialogs)
Definition: d3d9_device.c:646
HRESULT WINAPI IDirect3DDevice9Base_StretchRect(LPDIRECT3DDEVICE9 iface, IDirect3DSurface9 *pSourceSurface, CONST RECT *pSourceRect, IDirect3DSurface9 *pDestSurface, CONST RECT *pDestRect, D3DTEXTUREFILTERTYPE Filter)
Definition: d3d9_device.c:933
enum _D3DSAMPLERSTATETYPE D3DSAMPLERSTATETYPE
D3DPRIMITIVETYPE
Definition: d3dtypes.h:822
D3DRENDERSTATETYPE
Definition: d3dtypes.h:874
#define Y(I)
#define FAR
Definition: zlib.h:34
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
_Must_inspect_result_ _In_opt_ PFLT_FILTER Filter
Definition: fltkernel.h:1801
GLuint color
Definition: glext.h:6243
_Must_inspect_result_ _In_ USAGE _In_ USHORT _In_ USAGE Usage
Definition: hidpi.h:384
REFIID riid
Definition: atlbase.h:39
unsigned int ULONG
Definition: retypes.h:1
static void Clear(void)
Definition: treeview.c:386
unsigned int UINT
Definition: ndis.h:50
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
#define CONST
Definition: pedump.c:81
long LONG
Definition: pedump.c:60
#define REFIID
Definition: guiddef.h:118
LPDWORD pUnknown08
Definition: d3d9_device.h:70
DWORD MaxSimultaneousTextures
Definition: d3d9_device.h:81
struct _Direct3DDevice9_INT * pBaseDevice
Definition: d3d9_device.h:78
D3D9HeapTexture * pTextureHeap
Definition: d3d9_device.h:83
LPDIRECT3D9_INT pDirect3D9
Definition: d3d9_device.h:130
D3D9DriverSurface * pDriverSurfaceList
Definition: d3d9_device.h:131
D3DDISPLAYMODE CurrentDisplayMode[D3D9_INT_MAX_NUM_ADAPTERS]
Definition: d3d9_device.h:119
D3D9BaseSurface * pUnknown0010
Definition: d3d9_device.h:117
LPDIRECT3DSWAPCHAIN9_INT pSwapChains[D3D9_INT_MAX_NUM_ADAPTERS]
Definition: d3d9_device.h:122
D3D9BaseSurface * pRenderTargetList
Definition: d3d9_device.h:124
LPDIRECT3DSWAPCHAIN9_INT pSwapChains2[D3D9_INT_MAX_NUM_ADAPTERS]
Definition: d3d9_device.h:123
DWORD AdapterIndexInGroup[D3D9_INT_MAX_NUM_ADAPTERS]
Definition: d3d9_device.h:120
D3D9BaseSurface * pUnknown001944
Definition: d3d9_device.h:128
CRITICAL_SECTION CriticalSection
Definition: d3d9_device.h:89
D3D9ResourceManager * pResourceManager
Definition: d3d9_device.h:113
struct _IDirect3DDevice9Vtbl_INT * lpVtbl
Definition: d3d9_device.h:88
D3DDEVTYPE DeviceType
Definition: d3d9_device.h:129
IDirect3DVertexShader9 * pShader
Definition: d3d9_device.h:27
HRESULT(WINAPI *SetPixelShaderConstantFWorker)(LPDIRECT3DDEVICE9 iface
HRESULT(WINAPI *SetPixelShader)(LPDIRECT3DDEVICE9 iface
HRESULT(WINAPI *SetVertexShader)(LPDIRECT3DDEVICE9 iface
CONST D3DMATERIAL9 * pMaterial
Definition: d3d9_device.h:26
UINT CONST float UINT Vector4fCount
Definition: d3d9_device.h:28
DWORD CONST D3DRECT DWORD Flags
Definition: d3d9_device.h:55
CONST D3DMATRIX * HRESULT(WINAPI *SetClipPlane)(LPDIRECT3DDEVICE9 iface
UINT IDirect3DVertexBuffer9 UINT UINT Stride
Definition: d3d9_device.h:38
D3DPRIMITIVETYPE UINT StartVertex
Definition: d3d9_device.h:50
HRESULT(WINAPI *DrawPrimitiveUPInt)(LPDIRECT3DDEVICE9 iface
VOID(WINAPI *DrawPrimitivesWorker)(LPDIRECT3DDEVICE9 iface)
VOID(WINAPI *UpdateDriverState)(LPDIRECT3DDEVICE9 iface)
UINT IDirect3DVertexBuffer9 UINT OffsetInBytes
Definition: d3d9_device.h:38
HRESULT(WINAPI *SetPixelShaderConstantI)(LPDIRECT3DDEVICE9 iface
D3DTRANSFORMSTATETYPE CONST D3DMATRIX * pMatrix
Definition: d3d9_device.h:41
D3DPRIMITIVETYPE UINT UINT UINT Unknown3
Definition: d3d9_device.h:58
HRESULT(WINAPI *SetMaterial)(LPDIRECT3DDEVICE9 iface
HRESULT(WINAPI *SetTransform)(LPDIRECT3DDEVICE9 iface
CONST D3DMATRIX DWORD CONST float * pPlane
Definition: d3d9_device.h:43
UINT CONST int UINT Vector4iCount
Definition: d3d9_device.h:29
HRESULT(WINAPI *SetRenderStateInt)(LPDIRECT3DDEVICE9 iface
UINT CONST BOOL UINT BoolCount
Definition: d3d9_device.h:30
D3DPRIMITIVETYPE UINT UINT UINT INT UINT Unknown5
Definition: d3d9_device.h:58
HRESULT(WINAPI *SetRenderStateWorker)(LPDIRECT3DDEVICE9 iface
D3DPRIMITIVETYPE UINT UINT UINT INT UINT INT Unknown6
Definition: d3d9_device.h:58
HRESULT(WINAPI *SetViewport)(LPDIRECT3DDEVICE9 iface
HRESULT(WINAPI *SetTextureStageStateI)(LPDIRECT3DDEVICE9 iface
D3DPRIMITIVETYPE PrimitiveType
Definition: d3d9_device.h:50
DWORD IDirect3DBaseTexture9 * pTexture
Definition: d3d9_device.h:36
DWORD CONST D3DRECT * pRects
Definition: d3d9_device.h:55
HRESULT(WINAPI *Init)(LPDIRECT3DDEVICE9 iface)
DWORD D3DTEXTURESTAGESTATETYPE Type
Definition: d3d9_device.h:24
HRESULT(WINAPI *SetTexture)(LPDIRECT3DDEVICE9 iface
VOID(WINAPI *Destroy)(LPDIRECT3DDEVICE9 iface)
HRESULT(WINAPI *SetPixelShaderConstantF)(LPDIRECT3DDEVICE9 iface
UINT IDirect3DVertexBuffer9 * pStreamData
Definition: d3d9_device.h:38
HRESULT(WINAPI *SetLight)(LPDIRECT3DDEVICE9 iface
D3DPRIMITIVETYPE UINT UINT UINT INT Unknown4
Definition: d3d9_device.h:58
struct IDirect3DDevice9Vtbl PublicInterface
Definition: d3d9_device.h:21
VOID(WINAPI *VirtualDestructor)(LPDIRECT3DDEVICE9 iface)
DWORD CONST D3DRECT DWORD D3DCOLOR float DWORD Stencil
Definition: d3d9_device.h:55
HRESULT(WINAPI *SetPixelShaderConstantBWorker)(LPDIRECT3DDEVICE9 iface
D3DRENDERSTATETYPE DWORD Value
Definition: d3d9_device.h:23
HRESULT(WINAPI *ValidateDrawCall)(LPDIRECT3DDEVICE9 iface
UINT CONST float * pConstantData
Definition: d3d9_device.h:28
HRESULT(WINAPI *SetIndices)(LPDIRECT3DDEVICE9 iface
D3DPRIMITIVETYPE UINT UINT PrimitiveCount
Definition: d3d9_device.h:50
DWORD CONST D3DLIGHT9 DWORD BOOL Enable
Definition: d3d9_device.h:52
HRESULT(WINAPI *SetVertexShaderConstantF)(LPDIRECT3DDEVICE9 iface
HRESULT(WINAPI *SetStreamSourceFreq)(LPDIRECT3DDEVICE9 iface
D3DRENDERSTATETYPE State
Definition: d3d9_device.h:23
VOID(WINAPI *UpdateVertexShader)(LPDIRECT3DDEVICE9 iface)
HRESULT(WINAPI *SetSamplerStateI)(LPDIRECT3DDEVICE9 iface
HRESULT(WINAPI *SetStreamSource)(LPDIRECT3DDEVICE9 iface
HRESULT(WINAPI *SetVertexShaderConstantI)(LPDIRECT3DDEVICE9 iface
HRESULT(WINAPI *SetPixelShaderConstantIWorker)(LPDIRECT3DDEVICE9 iface
IDirect3DIndexBuffer9 * pIndexData
Definition: d3d9_device.h:37
CONST D3DVIEWPORT9 * pViewport
Definition: d3d9_device.h:45
CONST D3DMATRIX DWORD Index
Definition: d3d9_device.h:43
HRESULT(WINAPI *SetPixelShaderConstantB)(LPDIRECT3DDEVICE9 iface
DWORD CONST D3DRECT DWORD D3DCOLOR float Z
Definition: d3d9_device.h:55
DWORD CONST D3DRECT DWORD D3DCOLOR Color
Definition: d3d9_device.h:55
uint32_t * LPDWORD
Definition: typedefs.h:59
int32_t INT
Definition: typedefs.h:58
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
Definition: font.h:126
_In_ HFONT _Out_ PUINT Height
Definition: font.h:125
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
Definition: wincrypt.h:6082
_In_ DD_SURFACE_LOCAL * pSurface
Definition: winddi.h:3481
#define HRESULT
Definition: msvc.h:7
#define WINAPI
Definition: msvc.h:6
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION _In_ ULONG _In_ SIZE_T _In_ ULONG _In_ USHORT Depth
Definition: exfuncs.h:819