ReactOS 0.4.15-dev-7924-g5949c20
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
27
28IDirect3D2Vtbl IDirect3D2_Vtbl =
29{
39};
40
41
HRESULT WINAPI Main_D3D_FindDevice(LPDIRECT3D2 iface, LPD3DFINDDEVICESEARCH lpD3DDFS, LPD3DFINDDEVICERESULT lpD3DFDR)
ULONG WINAPI Main_D3D_AddRef(LPDIRECT3D2 iface)
HRESULT WINAPI Main_D3D_CreateDevice2(LPDIRECT3D2 iface, REFCLSID rclsid, LPDIRECTDRAWSURFACE lpDDS, LPDIRECT3DDEVICE2 *lplpD3DDevice2)
HRESULT WINAPI Main_D3D_QueryInterface(LPDIRECT3D2 iface, REFIID riid, LPVOID *ppvObj)
HRESULT WINAPI Main_D3D_CreateLight(LPDIRECT3D2 iface, LPDIRECT3DLIGHT *lplpDirect3DLight, IUnknown *pUnkOuter)
ULONG WINAPI Main_D3D_Release(LPDIRECT3D2 iface)
HRESULT WINAPI Main_D3D_CreateViewport(LPDIRECT3D2 iface, LPDIRECT3DVIEWPORT2 *lplpD3DViewport2, IUnknown *pUnkOuter)
IDirect3D2Vtbl IDirect3D2_Vtbl
HRESULT WINAPI Main_D3D_CreateMaterial(LPDIRECT3D2 iface, LPDIRECT3DMATERIAL2 *lplpDirect3DMaterial2, IUnknown *pUnkOuter)
HRESULT WINAPI Main_D3D_EnumDevices(LPDIRECT3D2 iface, LPD3DENUMDEVICESCALLBACK lpEnumDevicesCallback, LPVOID lpUserArg)
struct IDirect3DDevice2 * LPDIRECT3DDEVICE2
Definition: d3d.h:83
struct IDirect3DLight * LPDIRECT3DLIGHT
Definition: d3d.h:80
struct IDirect3DViewport2 * LPDIRECT3DVIEWPORT2
Definition: d3d.h:88
struct IDirect3DMaterial2 * LPDIRECT3DMATERIAL2
Definition: d3d.h:92
struct IDirect3D2 * LPDIRECT3D2
Definition: d3d.h:76
HRESULT(CALLBACK * LPD3DENUMDEVICESCALLBACK)(GUID *lpGuid, LPSTR lpDeviceDescription, LPSTR lpDeviceName, LPD3DDEVICEDESC, LPD3DDEVICEDESC, LPVOID)
Definition: d3dcaps.h:466
REFIID riid
Definition: atlbase.h:39
#define REFIID
Definition: guiddef.h:118
#define REFCLSID
Definition: guiddef.h:117
uint32_t ULONG
Definition: typedefs.h:59
#define WINAPI
Definition: msvc.h:6