ReactOS  0.4.14-dev-49-gfb4591c
DirectD3D2_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(LPDIRECT3D2 iface, LPD3DENUMDEVICESCALLBACK lpEnumDevicesCallback, LPVOID lpUserArg);
22 HRESULT WINAPI Main_D3D_CreateLight(LPDIRECT3D2 iface, LPDIRECT3DLIGHT *lplpDirect3DLight, IUnknown *pUnkOuter);
23 HRESULT WINAPI Main_D3D_CreateMaterial(LPDIRECT3D2 iface, LPDIRECT3DMATERIAL2 *lplpDirect3DMaterial2, IUnknown *pUnkOuter);
27 
28 IDirect3D2Vtbl IDirect3D2_Vtbl =
29 {
39 };
40 
41 
#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
IDirect3D2Vtbl IDirect3D2_Vtbl
ULONG WINAPI Main_D3D_AddRef(LPDIRECT3D2 iface)
struct IDirect3D2 * LPDIRECT3D2
Definition: d3d.h:76
struct IDirect3DViewport2 * LPDIRECT3DVIEWPORT2
Definition: d3d.h:88
struct IDirect3DLight * LPDIRECT3DLIGHT
Definition: d3d.h:80
HRESULT WINAPI Main_D3D_EnumDevices(LPDIRECT3D2 iface, LPD3DENUMDEVICESCALLBACK lpEnumDevicesCallback, LPVOID lpUserArg)
LONG HRESULT
Definition: typedefs.h:77
HRESULT WINAPI Main_D3D_CreateLight(LPDIRECT3D2 iface, LPDIRECT3DLIGHT *lplpDirect3DLight, IUnknown *pUnkOuter)
#define WINAPI
Definition: msvc.h:8
HRESULT WINAPI Main_D3D_CreateViewport(LPDIRECT3D2 iface, LPDIRECT3DVIEWPORT2 *lplpD3DViewport2, IUnknown *pUnkOuter)
HRESULT WINAPI Main_D3D_CreateMaterial(LPDIRECT3D2 iface, LPDIRECT3DMATERIAL2 *lplpDirect3DMaterial2, IUnknown *pUnkOuter)
struct IDirect3DDevice2 * LPDIRECT3DDEVICE2
Definition: d3d.h:83
HRESULT WINAPI Main_D3D_QueryInterface(LPDIRECT3D2 iface, REFIID riid, LPVOID *ppvObj)
HRESULT WINAPI Main_D3D_CreateDevice2(LPDIRECT3D2 iface, REFCLSID rclsid, LPDIRECTDRAWSURFACE lpDDS, LPDIRECT3DDEVICE2 *lplpD3DDevice2)
ULONG WINAPI Main_D3D_Release(LPDIRECT3D2 iface)
struct IDirect3DMaterial2 * LPDIRECT3DMATERIAL2
Definition: d3d.h:92
unsigned int ULONG
Definition: retypes.h:1
HRESULT WINAPI Main_D3D_FindDevice(LPDIRECT3D2 iface, LPD3DFINDDEVICESEARCH lpD3DDFS, LPD3DFINDDEVICERESULT lpD3DFDR)