ReactOS 0.4.16-dev-136-g52192f1
d3d9_surface.h
Go to the documentation of this file.
1#ifndef _D3D9_SURFACE_H_
2#define _D3D9_SURFACE_H_
3
4#include "d3d9_baseobject.h"
5
7
8typedef struct _D3D9BaseSurfaceVtbl
9{
11 ULONG (*AddRef)(struct _D3D9BaseSurface* iface);
12 ULONG (*Release)(struct _D3D9BaseSurface* iface);
13 IDirect3DDevice9* (*GetDevice)(struct _D3D9BaseSurface* iface);
17 DWORD (*SetPriority)(struct _D3D9BaseSurface* iface, DWORD NewPriority);
19 VOID (*Load)(struct _D3D9BaseSurface* iface);
21
23
24
25typedef struct _D3D9BaseSurface
26{
28/* 0x0024 */ D3DFORMAT DisplayFormat2; // Back buffer format?
29/* 0x0028 */ DWORD dwUnknown0028; // Constant/ref count? (1)
30/* 0x002c */ DWORD dwUnknown002c; // Refresh rate?
31/* 0x0030 */ D3DPOOL SurfacePool;
32/* 0x0034 */ DWORD dwUnknown0034;
33/* 0x0038 */ DWORD dwUnknown0038;
34/* 0x003c */ DWORD dwWidth;
35/* 0x0040 */ DWORD dwHeight;
36/* 0x0044 */ D3DPOOL ResourcePool;
38/* 0x004c */ DWORD dwUnknown004c;
39/* 0x0050 */ DWORD dwUnknown0050;
40/* 0x0054 */ DWORD dwUnknown0054;
41/* 0x0058 */ DWORD dwBpp;
43
44typedef struct _D3D9Surface
45{
49
50typedef struct _D3D9DriverSurface
51{
53/* 0x005c */ DWORD dwUnknown5c;
54/* 0x0060 */ DWORD dwUnknown60;
57/* 0x006c */ DWORD dwUnknown6c[8];
59
60#endif // _D3D9_SURFACE_H_
#define VOID
Definition: acefi.h:82
enum _D3DRESOURCETYPE D3DRESOURCETYPE
enum _D3DPOOL D3DPOOL
enum _D3DFORMAT D3DFORMAT
struct _D3D9BaseSurface D3D9BaseSurface
struct _D3D9BaseSurfaceVtbl ID3D9BaseSurfaceVtbl
struct _D3D9DriverSurface D3D9DriverSurface
struct _D3D9Surface D3D9Surface
unsigned long DWORD
Definition: ntddk_ex.h:95
REFIID riid
Definition: atlbase.h:39
_In_ NDIS_STATUS _In_ ULONG _In_ USHORT _In_opt_ PVOID _In_ ULONG DataSize
Definition: ndis.h:4755
#define DWORD
Definition: nt_native.h:44
#define CONST
Definition: pedump.c:81
#define REFIID
Definition: guiddef.h:118
HRESULT(* FreePrivateData)(struct _D3D9BaseSurface *iface, REFIID riid)
Definition: d3d9_surface.h:16
DWORD(* GetPriority)(struct _D3D9BaseSurface *iface)
Definition: d3d9_surface.h:18
DWORD(* SetPriority)(struct _D3D9BaseSurface *iface, DWORD NewPriority)
Definition: d3d9_surface.h:17
D3DRESOURCETYPE(* GetResourceType)(struct _D3D9BaseSurface *iface)
Definition: d3d9_surface.h:20
HRESULT(* SetPrivateData)(struct _D3D9BaseSurface *iface, REFIID riid, CONST LPVOID pData, DWORD DataSize, DWORD Flags)
Definition: d3d9_surface.h:14
HRESULT(* QueryInterface)(struct _D3D9BaseSurface *iface, REFIID riid, LPVOID *ppvObject)
Definition: d3d9_surface.h:10
HRESULT(* GetPrivateData)(struct _D3D9BaseSurface *iface, REFIID riid, LPVOID pData, DWORD *DataSize)
Definition: d3d9_surface.h:15
VOID(* Load)(struct _D3D9BaseSurface *iface)
Definition: d3d9_surface.h:19
ULONG(* AddRef)(struct _D3D9BaseSurface *iface)
Definition: d3d9_surface.h:11
ULONG(* Release)(struct _D3D9BaseSurface *iface)
Definition: d3d9_surface.h:12
D3DPOOL ResourcePool
Definition: d3d9_surface.h:36
D3DFORMAT DisplayFormat2
Definition: d3d9_surface.h:28
ID3D9BaseSurfaceVtbl * lpVtbl
Definition: d3d9_surface.h:27
D3DFORMAT DisplayFormat
Definition: d3d9_surface.h:37
D3DPOOL SurfacePool
Definition: d3d9_surface.h:31
D3D9Surface BaseD3D9Surface
Definition: d3d9_surface.h:52
DWORD dwUnknown6c[8]
Definition: d3d9_surface.h:57
struct _D3D9DriverSurface * pPreviousDriverSurface
Definition: d3d9_surface.h:55
struct _D3D9DriverSurface * pNextDriverSurface
Definition: d3d9_surface.h:56
D3D9BaseObject BaseObject
Definition: d3d9_surface.h:46
D3D9BaseSurface BaseSurface
Definition: d3d9_surface.h:47
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
Definition: twain.h:1830
uint32_t ULONG
Definition: typedefs.h:59
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
Definition: wincrypt.h:6082
#define HRESULT
Definition: msvc.h:7
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170