Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygend3d9_surface.h
Go to the documentation of this file.
00001 #ifndef _D3D9_SURFACE_H_ 00002 #define _D3D9_SURFACE_H_ 00003 00004 #include "d3d9_baseobject.h" 00005 00006 struct _D3D9BaseSurface; 00007 00008 typedef struct _D3D9BaseSurfaceVtbl 00009 { 00010 HRESULT (*QueryInterface)(struct _D3D9BaseSurface* iface, REFIID riid, LPVOID* ppvObject); 00011 ULONG (*AddRef)(struct _D3D9BaseSurface* iface); 00012 ULONG (*Release)(struct _D3D9BaseSurface* iface); 00013 IDirect3DDevice9* (*GetDevice)(struct _D3D9BaseSurface* iface); 00014 HRESULT (*SetPrivateData)(struct _D3D9BaseSurface* iface, REFIID riid, CONST LPVOID pData, DWORD DataSize, DWORD Flags); 00015 HRESULT (*GetPrivateData)(struct _D3D9BaseSurface* iface, REFIID riid, LPVOID pData, DWORD* DataSize); 00016 HRESULT (*FreePrivateData)(struct _D3D9BaseSurface* iface, REFIID riid); 00017 DWORD (*SetPriority)(struct _D3D9BaseSurface* iface, DWORD NewPriority); 00018 DWORD (*GetPriority)(struct _D3D9BaseSurface* iface); 00019 VOID (*Load)(struct _D3D9BaseSurface* iface); 00020 D3DRESOURCETYPE (*GetResourceType)(struct _D3D9BaseSurface* iface); 00021 00022 } ID3D9BaseSurfaceVtbl; 00023 00024 00025 typedef struct _D3D9BaseSurface 00026 { 00027 /* 0x0020 */ ID3D9BaseSurfaceVtbl* lpVtbl; 00028 /* 0x0024 */ D3DFORMAT DisplayFormat2; // Back buffer format? 00029 /* 0x0028 */ DWORD dwUnknown0028; // Constant/ref count? (1) 00030 /* 0x002c */ DWORD dwUnknown002c; // Refresh rate? 00031 /* 0x0030 */ D3DPOOL SurfacePool; 00032 /* 0x0034 */ DWORD dwUnknown0034; 00033 /* 0x0038 */ DWORD dwUnknown0038; 00034 /* 0x003c */ DWORD dwWidth; 00035 /* 0x0040 */ DWORD dwHeight; 00036 /* 0x0044 */ D3DPOOL ResourcePool; 00037 /* 0x0048 */ D3DFORMAT DisplayFormat; 00038 /* 0x004c */ DWORD dwUnknown004c; 00039 /* 0x0050 */ DWORD dwUnknown0050; 00040 /* 0x0054 */ DWORD dwUnknown0054; 00041 /* 0x0058 */ DWORD dwBpp; 00042 } D3D9BaseSurface; 00043 00044 typedef struct _D3D9Surface 00045 { 00046 /* 0x0000 */ D3D9BaseObject BaseObject; 00047 /* 0x0020 */ D3D9BaseSurface BaseSurface; 00048 } D3D9Surface; 00049 00050 typedef struct _D3D9DriverSurface 00051 { 00052 /* 0x0000 */ D3D9Surface BaseD3D9Surface; 00053 /* 0x005c */ DWORD dwUnknown5c; 00054 /* 0x0060 */ DWORD dwUnknown60; 00055 /* 0x0064 */ struct _D3D9DriverSurface* pPreviousDriverSurface; 00056 /* 0x0068 */ struct _D3D9DriverSurface* pNextDriverSurface; 00057 /* 0x006c */ DWORD dwUnknown6c[8]; 00058 } D3D9DriverSurface; 00059 00060 #endif // _D3D9_SURFACE_H_ Generated on Sun May 27 2012 04:21:17 for ReactOS by
1.7.6.1
|