ReactOS  0.4.15-dev-1187-g119f102
DirectD3D_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 DirectD3D_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 (LPDIRECT3D iface, REFIID riid, LPVOID *ppvObj)
 
ULONG WINAPI Main_D3D_AddRef (LPDIRECT3D iface)
 
ULONG WINAPI Main_D3D_Release (LPDIRECT3D iface)
 
HRESULT WINAPI Main_D3D_Initialize (LPDIRECT3D iface, REFIID refiid)
 
HRESULT WINAPI Main_D3D_EnumDevices (LPDIRECT3D iface, LPD3DENUMDEVICESCALLBACK Callback, LPVOID Context)
 
HRESULT WINAPI Main_D3D_CreateLight (LPDIRECT3D iface, LPDIRECT3DLIGHT *Light, IUnknown *pUnkOuter)
 
HRESULT WINAPI Main_D3D_CreateMaterial (LPDIRECT3D iface, LPDIRECT3DMATERIAL *Direct3DLight, IUnknown *pUnkOuter)
 
HRESULT WINAPI Main_D3D_CreateViewport (LPDIRECT3D iface, LPDIRECT3DVIEWPORT *Viewport, IUnknown *pUnkOuter)
 
HRESULT WINAPI Main_D3D_FindDevice (LPDIRECT3D iface, LPD3DFINDDEVICESEARCH D3DDFS, LPD3DFINDDEVICERESULT D3DFDR)
 

Variables

IDirect3DVtbl IDirect3D_Vtbl
 

Macro Definition Documentation

◆ CO_E_NOTINITIALIZED

#define CO_E_NOTINITIALIZED   0x800401F0

Definition at line 14 of file DirectD3D_Vtable.c.

◆ IUnknown

Definition at line 12 of file DirectD3D_Vtable.c.

Function Documentation

◆ Main_D3D_AddRef()

ULONG WINAPI Main_D3D_AddRef ( LPDIRECT3D  iface)

Definition at line 13 of file DirectD3D_main.c.

14 {
16  DX_STUB;
17 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_D3D_CreateLight()

HRESULT WINAPI Main_D3D_CreateLight ( LPDIRECT3D  iface,
LPDIRECT3DLIGHT Light,
IUnknown pUnkOuter 
)

Definition at line 41 of file DirectD3D_main.c.

42 {
44  DX_STUB;
45 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_D3D_CreateMaterial()

HRESULT WINAPI Main_D3D_CreateMaterial ( LPDIRECT3D  iface,
LPDIRECT3DMATERIAL Direct3DLight,
IUnknown pUnkOuter 
)

Definition at line 48 of file DirectD3D_main.c.

49 {
51  DX_STUB;
52 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_D3D_CreateViewport()

HRESULT WINAPI Main_D3D_CreateViewport ( LPDIRECT3D  iface,
LPDIRECT3DVIEWPORT Viewport,
IUnknown pUnkOuter 
)

Definition at line 55 of file DirectD3D_main.c.

56 {
58  DX_STUB;
59 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_D3D_EnumDevices()

HRESULT WINAPI Main_D3D_EnumDevices ( LPDIRECT3D  iface,
LPD3DENUMDEVICESCALLBACK  Callback,
LPVOID  Context 
)

Definition at line 34 of file DirectD3D_main.c.

35 {
37  DX_STUB;
38 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_D3D_FindDevice()

HRESULT WINAPI Main_D3D_FindDevice ( LPDIRECT3D  iface,
LPD3DFINDDEVICESEARCH  D3DDFS,
LPD3DFINDDEVICERESULT  D3DFDR 
)

Definition at line 62 of file DirectD3D_main.c.

63 {
65  DX_STUB;
66 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_D3D_Initialize()

HRESULT WINAPI Main_D3D_Initialize ( LPDIRECT3D  iface,
REFIID  refiid 
)

Definition at line 27 of file DirectD3D_main.c.

28 {
30  DX_STUB;
31 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_D3D_QueryInterface()

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

Definition at line 6 of file DirectD3D_main.c.

7 {
9  DX_STUB;
10 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_D3D_Release()

ULONG WINAPI Main_D3D_Release ( LPDIRECT3D  iface)

Definition at line 20 of file DirectD3D_main.c.

21 {
23  DX_STUB;
24 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Variable Documentation

◆ IDirect3D_Vtbl

IDirect3DVtbl IDirect3D_Vtbl
Initial value:
=
{
}
HRESULT WINAPI Main_D3D_FindDevice(LPDIRECT3D iface, LPD3DFINDDEVICESEARCH D3DDFS, LPD3DFINDDEVICERESULT D3DFDR)
HRESULT WINAPI Main_D3D_CreateLight(LPDIRECT3D iface, LPDIRECT3DLIGHT *Light, IUnknown *pUnkOuter)
HRESULT WINAPI Main_D3D_QueryInterface(LPDIRECT3D iface, REFIID riid, LPVOID *ppvObj)
Definition: DirectD3D_main.c:6
HRESULT WINAPI Main_D3D_EnumDevices(LPDIRECT3D iface, LPD3DENUMDEVICESCALLBACK Callback, LPVOID Context)
ULONG WINAPI Main_D3D_Release(LPDIRECT3D iface)
HRESULT WINAPI Main_D3D_Initialize(LPDIRECT3D iface, REFIID refiid)
HRESULT WINAPI Main_D3D_CreateViewport(LPDIRECT3D iface, LPDIRECT3DVIEWPORT *Viewport, IUnknown *pUnkOuter)
HRESULT WINAPI Main_D3D_CreateMaterial(LPDIRECT3D iface, LPDIRECT3DMATERIAL *Direct3DLight, IUnknown *pUnkOuter)
ULONG WINAPI Main_D3D_AddRef(LPDIRECT3D iface)

Definition at line 28 of file DirectD3D_Vtable.c.

Referenced by Main_DDrawSurface_QueryInterface().