ReactOS 0.4.15-dev-6675-gcbc63d8
d3d9_resource.c
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_resource.c
5 * PURPOSE: d3d9.dll internal resource functions
6 * PROGRAMERS: Gregor Gullwi <gbrunmar (dot) ros (at) gmail (dot) com>
7 */
8#include "d3d9_resource.h"
9#include "d3d9_device.h"
10
12{
13 InitD3D9BaseObject(&pResource->BaseObject, RefType, (IUnknown*)&pBaseDevice->lpVtbl);
14
15 pResource->Pool = Pool;
16}
Definition: bufpool.h:50
enum _D3DPOOL D3DPOOL
VOID InitD3D9BaseObject(D3D9BaseObject *pBaseObject, enum REF_TYPE RefType, IUnknown *pUnknown)
REF_TYPE
void InitDirect3DResource9(Direct3DResource9_INT *pResource, D3DPOOL Pool, LPDIRECT3DDEVICE9_INT pBaseDevice, enum REF_TYPE RefType)
Definition: d3d9_resource.c:11
struct _IDirect3DDevice9Vtbl_INT * lpVtbl
Definition: d3d9_device.h:88
D3D9BaseObject BaseObject
Definition: d3d9_resource.h:15