[DEVMGR] CDeviceView::RecurseChildDevices: Skip invalid device nodes
[reactos.git] / dll / directx / d3d9 / d3d9_resource.h
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS ReactX
4 * FILE: dll/directx/d3d9/d3d9_resource.h
5 * PURPOSE: d3d9.dll internal resource structures
6 * PROGRAMERS: Gregor Gullwi <gbrunmar (dot) ros (at) gmail (dot) com>
7 */
8 #ifndef _D3D9_RESOURCE_H_
9 #define _D3D9_RESOURCE_H_
10
11 #include "d3d9_baseobject.h"
12
13 typedef struct _Direct3DResource9_INT
14 {
15 /* 0x0000 */ D3D9BaseObject BaseObject;
16 /* 0x0020 */ BOOL bIsManaged;
17 /* 0x0024 */ DWORD dwUnknown24;
18 /* 0x0028 */ DWORD dwUnknown28;
19 /* 0x002c */ DWORD dwUnknown2c;
20 /* 0x0030 */ DWORD dwPriority;
21 /* 0x0034 */ BOOL bIsDirty;
22 /* 0x0038 */ D3DPOOL Pool;
23 /* 0x003c */ LPDWORD dwUnknown3c;
24 /* 0x0040 */ LPDWORD dwUnknown40;
25 } Direct3DResource9_INT;
26
27 void InitDirect3DResource9(Direct3DResource9_INT* pResource, D3DPOOL Pool, struct _Direct3DDevice9_INT* pDevice, enum REF_TYPE RefType);
28
29 #endif // _D3D9_RESOURCE_H_