ReactOS  0.4.13-dev-249-gcba1a2f
DirectD3D2_Vtable.c File Reference
#include <windows.h>
#include <stdio.h>
#include <ddraw.h>
#include <ddrawi.h>
#include <d3dhal.h>
#include <ddrawgdi.h>
Include dependency graph for DirectD3D2_Vtable.c:

Go to the source code of this file.

Macros

#define IUnknown   void
 
#define CO_E_NOTINITIALIZED   0x800401F0
 

Functions

HRESULT WINAPI Main_D3D_QueryInterface (LPDIRECT3D2 iface, REFIID riid, LPVOID *ppvObj)
 
ULONG WINAPI Main_D3D_AddRef (LPDIRECT3D2 iface)
 
ULONG WINAPI Main_D3D_Release (LPDIRECT3D2 iface)
 
HRESULT WINAPI Main_D3D_EnumDevices (LPDIRECT3D2 iface, LPD3DENUMDEVICESCALLBACK lpEnumDevicesCallback, LPVOID lpUserArg)
 
HRESULT WINAPI Main_D3D_CreateLight (LPDIRECT3D2 iface, LPDIRECT3DLIGHT *lplpDirect3DLight, IUnknown *pUnkOuter)
 
HRESULT WINAPI Main_D3D_CreateMaterial (LPDIRECT3D2 iface, LPDIRECT3DMATERIAL2 *lplpDirect3DMaterial2, IUnknown *pUnkOuter)
 
HRESULT WINAPI Main_D3D_CreateViewport (LPDIRECT3D2 iface, LPDIRECT3DVIEWPORT2 *lplpD3DViewport2, IUnknown *pUnkOuter)
 
HRESULT WINAPI Main_D3D_FindDevice (LPDIRECT3D2 iface, LPD3DFINDDEVICESEARCH lpD3DDFS, LPD3DFINDDEVICERESULT lpD3DFDR)
 
HRESULT WINAPI Main_D3D_CreateDevice2 (LPDIRECT3D2 iface, REFCLSID rclsid, LPDIRECTDRAWSURFACE lpDDS, LPDIRECT3DDEVICE2 *lplpD3DDevice2)
 

Variables

IDirect3D2Vtbl IDirect3D2_Vtbl
 

Macro Definition Documentation

◆ CO_E_NOTINITIALIZED

#define CO_E_NOTINITIALIZED   0x800401F0

Definition at line 14 of file DirectD3D2_Vtable.c.

◆ IUnknown

Definition at line 12 of file DirectD3D2_Vtable.c.

Function Documentation

◆ Main_D3D_AddRef()

ULONG WINAPI Main_D3D_AddRef ( LPDIRECT3D2  iface)

◆ Main_D3D_CreateDevice2()

HRESULT WINAPI Main_D3D_CreateDevice2 ( LPDIRECT3D2  iface,
REFCLSID  rclsid,
LPDIRECTDRAWSURFACE  lpDDS,
LPDIRECT3DDEVICE2 lplpD3DDevice2 
)

Definition at line 69 of file DirectD3D_main.c.

71 {
73  DX_STUB;
74 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_D3D_CreateLight()

HRESULT WINAPI Main_D3D_CreateLight ( LPDIRECT3D2  iface,
LPDIRECT3DLIGHT lplpDirect3DLight,
IUnknown pUnkOuter 
)

◆ Main_D3D_CreateMaterial()

HRESULT WINAPI Main_D3D_CreateMaterial ( LPDIRECT3D2  iface,
LPDIRECT3DMATERIAL2 lplpDirect3DMaterial2,
IUnknown pUnkOuter 
)

◆ Main_D3D_CreateViewport()

HRESULT WINAPI Main_D3D_CreateViewport ( LPDIRECT3D2  iface,
LPDIRECT3DVIEWPORT2 lplpD3DViewport2,
IUnknown pUnkOuter 
)

◆ Main_D3D_EnumDevices()

HRESULT WINAPI Main_D3D_EnumDevices ( LPDIRECT3D2  iface,
LPD3DENUMDEVICESCALLBACK  lpEnumDevicesCallback,
LPVOID  lpUserArg 
)

◆ Main_D3D_FindDevice()

HRESULT WINAPI Main_D3D_FindDevice ( LPDIRECT3D2  iface,
LPD3DFINDDEVICESEARCH  lpD3DDFS,
LPD3DFINDDEVICERESULT  lpD3DFDR 
)

◆ Main_D3D_QueryInterface()

HRESULT WINAPI Main_D3D_QueryInterface ( LPDIRECT3D2  iface,
REFIID  riid,
LPVOID ppvObj 
)

◆ Main_D3D_Release()

ULONG WINAPI Main_D3D_Release ( LPDIRECT3D2  iface)

Variable Documentation

◆ IDirect3D2_Vtbl

IDirect3D2Vtbl IDirect3D2_Vtbl
Initial value:
=
{
}
ULONG WINAPI Main_D3D_AddRef(LPDIRECT3D2 iface)
HRESULT WINAPI Main_D3D_EnumDevices(LPDIRECT3D2 iface, LPD3DENUMDEVICESCALLBACK lpEnumDevicesCallback, LPVOID lpUserArg)
HRESULT WINAPI Main_D3D_CreateLight(LPDIRECT3D2 iface, LPDIRECT3DLIGHT *lplpDirect3DLight, IUnknown *pUnkOuter)
HRESULT WINAPI Main_D3D_CreateViewport(LPDIRECT3D2 iface, LPDIRECT3DVIEWPORT2 *lplpD3DViewport2, IUnknown *pUnkOuter)
HRESULT WINAPI Main_D3D_CreateMaterial(LPDIRECT3D2 iface, LPDIRECT3DMATERIAL2 *lplpDirect3DMaterial2, IUnknown *pUnkOuter)
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)
HRESULT WINAPI Main_D3D_FindDevice(LPDIRECT3D2 iface, LPD3DFINDDEVICESEARCH lpD3DDFS, LPD3DFINDDEVICERESULT lpD3DFDR)

Definition at line 28 of file DirectD3D2_Vtable.c.

Referenced by Main_DDrawSurface_QueryInterface().