ReactOS 0.4.16-dev-258-g81860b4
DirectD3D3_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 DirectD3D3_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 (LPDIRECT3D3 iface, REFIID riid, LPVOID *ppvObj)
 
ULONG WINAPI Main_D3D_AddRef (LPDIRECT3D3 iface)
 
ULONG WINAPI Main_D3D_Release (LPDIRECT3D3 iface)
 
HRESULT WINAPI Main_D3D_EnumDevices (LPDIRECT3D3 iface, LPD3DENUMDEVICESCALLBACK lpEnumDevicesCallback, LPVOID lpUserArg)
 
HRESULT WINAPI Main_D3D_CreateLight (LPDIRECT3D3 iface, LPDIRECT3DLIGHT *lplpDirect3DLight, IUnknown *pUnkOuter)
 
HRESULT WINAPI Main_D3D_CreateMaterial (LPDIRECT3D3 iface, LPDIRECT3DMATERIAL3 *lplpDirect3DMaterial3, IUnknown *pUnkOuter)
 
HRESULT WINAPI Main_D3D_CreateViewport (LPDIRECT3D3 iface, LPDIRECT3DVIEWPORT3 *lplpD3DViewport3, IUnknown *pUnkOuter)
 
HRESULT WINAPI Main_D3D_FindDevice (LPDIRECT3D3 iface, LPD3DFINDDEVICESEARCH lpD3DDFS, LPD3DFINDDEVICERESULT lpD3DFDR)
 
HRESULT WINAPI Main_D3D_CreateDevice3 (LPDIRECT3D3 iface, REFCLSID rclsid, LPDIRECTDRAWSURFACE4 lpDDS, LPDIRECT3DDEVICE3 *lplpD3DDevice3, LPUNKNOWN lpUnk)
 
HRESULT WINAPI Main_D3D_CreateVertexBuffer3 (LPDIRECT3D3 iface, LPD3DVERTEXBUFFERDESC lpD3DVertBufDesc, LPDIRECT3DVERTEXBUFFER *lplpD3DVertBuf, DWORD dwFlags, LPUNKNOWN lpUnk)
 
HRESULT WINAPI Main_D3D_EnumZBufferFormats (LPDIRECT3D3 iface, REFCLSID riidDevice, LPD3DENUMPIXELFORMATSCALLBACK lpEnumCallback, LPVOID lpContext)
 
HRESULT WINAPI Main_D3D_EvictManagedTextures (LPDIRECT3D3 iface)
 

Variables

IDirect3D3Vtbl IDirect3D3_Vtbl
 

Macro Definition Documentation

◆ CO_E_NOTINITIALIZED

#define CO_E_NOTINITIALIZED   0x800401F0

Definition at line 14 of file DirectD3D3_Vtable.c.

◆ IUnknown

Definition at line 12 of file DirectD3D3_Vtable.c.

Function Documentation

◆ Main_D3D_AddRef()

ULONG WINAPI Main_D3D_AddRef ( LPDIRECT3D3  iface)

◆ Main_D3D_CreateDevice3()

HRESULT WINAPI Main_D3D_CreateDevice3 ( LPDIRECT3D3  iface,
REFCLSID  rclsid,
LPDIRECTDRAWSURFACE4  lpDDS,
LPDIRECT3DDEVICE3 lplpD3DDevice3,
LPUNKNOWN  lpUnk 
)

Definition at line 77 of file DirectD3D_main.c.

79{
81 DX_STUB;
82}
#define DX_STUB
Definition: rosdraw.h:224
#define DX_WINDBG_trace()
Definition: rosdraw.h:262

◆ Main_D3D_CreateLight()

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

◆ Main_D3D_CreateMaterial()

HRESULT WINAPI Main_D3D_CreateMaterial ( LPDIRECT3D3  iface,
LPDIRECT3DMATERIAL3 lplpDirect3DMaterial3,
IUnknown pUnkOuter 
)

◆ Main_D3D_CreateVertexBuffer3()

HRESULT WINAPI Main_D3D_CreateVertexBuffer3 ( LPDIRECT3D3  iface,
LPD3DVERTEXBUFFERDESC  lpD3DVertBufDesc,
LPDIRECT3DVERTEXBUFFER lplpD3DVertBuf,
DWORD  dwFlags,
LPUNKNOWN  lpUnk 
)

Definition at line 85 of file DirectD3D_main.c.

87{
89 DX_STUB;
90}

◆ Main_D3D_CreateViewport()

HRESULT WINAPI Main_D3D_CreateViewport ( LPDIRECT3D3  iface,
LPDIRECT3DVIEWPORT3 lplpD3DViewport3,
IUnknown pUnkOuter 
)

◆ Main_D3D_EnumDevices()

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

◆ Main_D3D_EnumZBufferFormats()

HRESULT WINAPI Main_D3D_EnumZBufferFormats ( LPDIRECT3D3  iface,
REFCLSID  riidDevice,
LPD3DENUMPIXELFORMATSCALLBACK  lpEnumCallback,
LPVOID  lpContext 
)

◆ Main_D3D_EvictManagedTextures()

HRESULT WINAPI Main_D3D_EvictManagedTextures ( LPDIRECT3D3  iface)

◆ Main_D3D_FindDevice()

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

◆ Main_D3D_QueryInterface()

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

◆ Main_D3D_Release()

ULONG WINAPI Main_D3D_Release ( LPDIRECT3D3  iface)

Variable Documentation

◆ IDirect3D3_Vtbl

IDirect3D3Vtbl IDirect3D3_Vtbl
Initial value:
=
{
}
HRESULT WINAPI Main_D3D_CreateVertexBuffer3(LPDIRECT3D3 iface, LPD3DVERTEXBUFFERDESC lpD3DVertBufDesc, LPDIRECT3DVERTEXBUFFER *lplpD3DVertBuf, DWORD dwFlags, LPUNKNOWN lpUnk)
HRESULT WINAPI Main_D3D_EnumZBufferFormats(LPDIRECT3D3 iface, REFCLSID riidDevice, LPD3DENUMPIXELFORMATSCALLBACK lpEnumCallback, LPVOID lpContext)
ULONG WINAPI Main_D3D_AddRef(LPDIRECT3D3 iface)
HRESULT WINAPI Main_D3D_CreateLight(LPDIRECT3D3 iface, LPDIRECT3DLIGHT *lplpDirect3DLight, IUnknown *pUnkOuter)
HRESULT WINAPI Main_D3D_CreateViewport(LPDIRECT3D3 iface, LPDIRECT3DVIEWPORT3 *lplpD3DViewport3, IUnknown *pUnkOuter)
HRESULT WINAPI Main_D3D_CreateMaterial(LPDIRECT3D3 iface, LPDIRECT3DMATERIAL3 *lplpDirect3DMaterial3, IUnknown *pUnkOuter)
HRESULT WINAPI Main_D3D_QueryInterface(LPDIRECT3D3 iface, REFIID riid, LPVOID *ppvObj)
HRESULT WINAPI Main_D3D_EvictManagedTextures(LPDIRECT3D3 iface)
HRESULT WINAPI Main_D3D_EnumDevices(LPDIRECT3D3 iface, LPD3DENUMDEVICESCALLBACK lpEnumDevicesCallback, LPVOID lpUserArg)
HRESULT WINAPI Main_D3D_CreateDevice3(LPDIRECT3D3 iface, REFCLSID rclsid, LPDIRECTDRAWSURFACE4 lpDDS, LPDIRECT3DDEVICE3 *lplpD3DDevice3, LPUNKNOWN lpUnk)
HRESULT WINAPI Main_D3D_FindDevice(LPDIRECT3D3 iface, LPD3DFINDDEVICESEARCH lpD3DDFS, LPD3DFINDDEVICERESULT lpD3DFDR)
ULONG WINAPI Main_D3D_Release(LPDIRECT3D3 iface)

Definition at line 31 of file DirectD3D3_Vtable.c.

Referenced by Main_DDrawSurface_QueryInterface().