69 return IUnknown_QueryInterface(pBaseObject->
pUnknown, &IID_IDirect3DDevice9, (
void**)ppDevice);
#define InterlockedIncrement
#define InterlockedDecrement
struct IDirect3DDevice9 * LPDIRECT3DDEVICE9
VOID D3D9BaseObject_LockDevice(D3D9BaseObject *pBaseObject)
HRESULT D3D9BaseObject_GetDevice(D3D9BaseObject *pBaseObject, IDirect3DDevice9 **ppDevice)
ULONG D3D9BaseObject_Release(D3D9BaseObject *pBaseObject)
ULONG D3D9BaseObject_AddRef(D3D9BaseObject *pBaseObject)
VOID InitD3D9BaseObject(D3D9BaseObject *pBaseObject, enum REF_TYPE RefType, IUnknown *pUnknown)
VOID D3D9BaseObject_Destroy(D3D9BaseObject *pBaseObject, BOOL bFreeThis)
HRESULT D3D9BaseObject_GetDeviceInt(D3D9BaseObject *pBaseObject, DIRECT3DDEVICE9_INT **ppDevice)
ID3D9BaseObjectVtbl D3D9BaseObject_Vtbl
VOID D3D9BaseObject_UnlockDevice(D3D9BaseObject *pBaseObject)
LPDIRECT3DDEVICE9_INT IDirect3DDevice9ToImpl(LPDIRECT3DDEVICE9 iface)
VOID AlignedFree(IN OUT LPVOID pObject)
#define D3DERR_INVALIDCALL
ID3D9BaseObjectVtbl * lpVtbl
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)