2008-09-16 19:21:02 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS ReactX
|
2008-09-23 17:01:40 +00:00
|
|
|
* FILE: dll/directx/d3d9/d3d9_resource.h
|
2008-09-16 19:21:02 +00:00
|
|
|
* PURPOSE: d3d9.dll internal resource structures
|
|
|
|
* PROGRAMERS: Gregor Gullwi <gbrunmar (dot) ros (at) gmail (dot) com>
|
|
|
|
*/
|
|
|
|
#ifndef _D3D9_RESOURCE_H_
|
|
|
|
#define _D3D9_RESOURCE_H_
|
|
|
|
|
|
|
|
#include "d3d9_baseobject.h"
|
|
|
|
|
2008-09-21 12:25:38 +00:00
|
|
|
typedef struct _Direct3DResource9_INT
|
2008-09-16 19:21:02 +00:00
|
|
|
{
|
|
|
|
/* 0x0000 */ D3D9BaseObject BaseObject;
|
2009-02-03 18:55:20 +00:00
|
|
|
/* 0x0020 */ BOOL bIsManaged;
|
2008-09-16 19:21:02 +00:00
|
|
|
/* 0x0024 */ DWORD dwUnknown24;
|
|
|
|
/* 0x0028 */ DWORD dwUnknown28;
|
|
|
|
/* 0x002c */ DWORD dwUnknown2c;
|
2009-02-03 18:55:20 +00:00
|
|
|
/* 0x0030 */ DWORD dwPriority;
|
|
|
|
/* 0x0034 */ BOOL bIsDirty;
|
2008-09-21 12:25:38 +00:00
|
|
|
/* 0x0038 */ D3DPOOL Pool;
|
2008-09-23 17:01:40 +00:00
|
|
|
/* 0x003c */ LPDWORD dwUnknown3c;
|
2008-09-21 12:25:38 +00:00
|
|
|
/* 0x0040 */ LPDWORD dwUnknown40;
|
|
|
|
} Direct3DResource9_INT;
|
|
|
|
|
2008-09-23 17:01:40 +00:00
|
|
|
void InitDirect3DResource9(Direct3DResource9_INT* pResource, D3DPOOL Pool, struct _Direct3DDevice9_INT* pDevice, enum REF_TYPE RefType);
|
2008-09-16 19:21:02 +00:00
|
|
|
|
|
|
|
#endif // _D3D9_RESOURCE_H_
|