ReactOS  0.4.14-dev-384-g5b37caa
DirectD3D3_Vtable.c
Go to the documentation of this file.
1 #include <windows.h>
2 #include <stdio.h>
3 #include <ddraw.h>
4 #include <ddrawi.h>
5 #include <d3dhal.h>
6 #include <ddrawgdi.h>
7 
8 #if defined(_WIN32) && !defined(_NO_COM )
9 #define COM_NO_WINDOWS_H
10 #include <objbase.h>
11 #else
12 #define IUnknown void
13 #if !defined(NT_BUILD_ENVIRONMENT) && !defined(WINNT)
14  #define CO_E_NOTINITIALIZED 0x800401F0
15 #endif
16 #endif
17 
21 HRESULT WINAPI Main_D3D_EnumDevices(LPDIRECT3D3 iface, LPD3DENUMDEVICESCALLBACK lpEnumDevicesCallback, LPVOID lpUserArg);
22 HRESULT WINAPI Main_D3D_CreateLight(LPDIRECT3D3 iface, LPDIRECT3DLIGHT *lplpDirect3DLight, IUnknown *pUnkOuter);
23 HRESULT WINAPI Main_D3D_CreateMaterial(LPDIRECT3D3 iface, LPDIRECT3DMATERIAL3 *lplpDirect3DMaterial3, IUnknown *pUnkOuter);
30 
31 IDirect3D3Vtbl IDirect3D3_Vtbl =
32 {
45 };
46 
47 
HRESULT WINAPI Main_D3D_EvictManagedTextures(LPDIRECT3D3 iface)
HRESULT WINAPI Main_D3D_CreateMaterial(LPDIRECT3D3 iface, LPDIRECT3DMATERIAL3 *lplpDirect3DMaterial3, IUnknown *pUnkOuter)
#define REFIID
Definition: guiddef.h:118
REFIID riid
Definition: precomp.h:44
#define REFCLSID
Definition: guiddef.h:117
HRESULT(CALLBACK * LPD3DENUMDEVICESCALLBACK)(GUID *lpGuid, LPSTR lpDeviceDescription, LPSTR lpDeviceName, LPD3DDEVICEDESC, LPD3DDEVICEDESC, LPVOID)
Definition: d3dcaps.h:466
HRESULT WINAPI Main_D3D_EnumZBufferFormats(LPDIRECT3D3 iface, REFCLSID riidDevice, LPD3DENUMPIXELFORMATSCALLBACK lpEnumCallback, LPVOID lpContext)
static LPUNKNOWN
Definition: ndr_ole.c:49
HRESULT(CALLBACK * LPD3DENUMPIXELFORMATSCALLBACK)(DDPIXELFORMAT *format, void *ctx)
Definition: d3dtypes.h:85
struct IDirect3DVertexBuffer * LPDIRECT3DVERTEXBUFFER
Definition: d3d.h:100
ULONG WINAPI Main_D3D_Release(LPDIRECT3D3 iface)
struct IDirect3DLight * LPDIRECT3DLIGHT
Definition: d3d.h:80
LONG HRESULT
Definition: typedefs.h:77
#define WINAPI
Definition: msvc.h:8
HRESULT WINAPI Main_D3D_CreateVertexBuffer3(LPDIRECT3D3 iface, LPD3DVERTEXBUFFERDESC lpD3DVertBufDesc, LPDIRECT3DVERTEXBUFFER *lplpD3DVertBuf, DWORD dwFlags, LPUNKNOWN lpUnk)
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT WINAPI Main_D3D_CreateViewport(LPDIRECT3D3 iface, LPDIRECT3DVIEWPORT3 *lplpD3DViewport3, IUnknown *pUnkOuter)
HRESULT WINAPI Main_D3D_CreateDevice3(LPDIRECT3D3 iface, REFCLSID rclsid, LPDIRECTDRAWSURFACE4 lpDDS, LPDIRECT3DDEVICE3 *lplpD3DDevice3, LPUNKNOWN lpUnk)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
struct IDirect3DMaterial3 * LPDIRECT3DMATERIAL3
Definition: d3d.h:93
struct IDirect3D3 * LPDIRECT3D3
Definition: d3d.h:77
ULONG WINAPI Main_D3D_AddRef(LPDIRECT3D3 iface)
HRESULT WINAPI Main_D3D_FindDevice(LPDIRECT3D3 iface, LPD3DFINDDEVICESEARCH lpD3DDFS, LPD3DFINDDEVICERESULT lpD3DFDR)
IDirect3D3Vtbl IDirect3D3_Vtbl
HRESULT WINAPI Main_D3D_EnumDevices(LPDIRECT3D3 iface, LPD3DENUMDEVICESCALLBACK lpEnumDevicesCallback, LPVOID lpUserArg)
struct IDirect3DViewport3 * LPDIRECT3DVIEWPORT3
Definition: d3d.h:89
HRESULT WINAPI Main_D3D_CreateLight(LPDIRECT3D3 iface, LPDIRECT3DLIGHT *lplpDirect3DLight, IUnknown *pUnkOuter)
unsigned int ULONG
Definition: retypes.h:1
struct IDirect3DDevice3 * LPDIRECT3DDEVICE3
Definition: d3d.h:84
HRESULT WINAPI Main_D3D_QueryInterface(LPDIRECT3D3 iface, REFIID riid, LPVOID *ppvObj)
struct IDirectDrawSurface4 * LPDIRECTDRAWSURFACE4
Definition: ddraw.h:718