xref: /reactos/dll/directx/ddraw/d3d/DirectD3D_main.c (revision c2c66aff)
1 #include "rosdraw.h"
2 
3 #include <string.h>
4 
5 HRESULT WINAPI
Main_D3D_QueryInterface(LPDIRECT3D iface,REFIID riid,LPVOID * ppvObj)6 Main_D3D_QueryInterface(LPDIRECT3D iface, REFIID riid, LPVOID * ppvObj)
7 {
8     DX_WINDBG_trace();
9     DX_STUB;
10 }
11 
12 ULONG WINAPI
Main_D3D_AddRef(LPDIRECT3D iface)13 Main_D3D_AddRef(LPDIRECT3D iface)
14 {
15     DX_WINDBG_trace();
16     DX_STUB;
17 }
18 
19 ULONG WINAPI
Main_D3D_Release(LPDIRECT3D iface)20 Main_D3D_Release(LPDIRECT3D iface)
21 {
22     DX_WINDBG_trace();
23     DX_STUB;
24 }
25 
26 HRESULT WINAPI
Main_D3D_Initialize(LPDIRECT3D iface,REFIID refiid)27 Main_D3D_Initialize(LPDIRECT3D iface, REFIID refiid)
28 {
29     DX_WINDBG_trace();
30     DX_STUB;
31 }
32 
33 HRESULT WINAPI
Main_D3D_EnumDevices(LPDIRECT3D iface,LPD3DENUMDEVICESCALLBACK Callback,LPVOID Context)34 Main_D3D_EnumDevices(LPDIRECT3D iface, LPD3DENUMDEVICESCALLBACK Callback, LPVOID Context)
35 {
36     DX_WINDBG_trace();
37     DX_STUB;
38 }
39 
40 HRESULT WINAPI
Main_D3D_CreateLight(LPDIRECT3D iface,LPDIRECT3DLIGHT * Light,IUnknown * pUnkOuter)41 Main_D3D_CreateLight(LPDIRECT3D iface, LPDIRECT3DLIGHT* Light,IUnknown* pUnkOuter)
42 {
43     DX_WINDBG_trace();
44     DX_STUB;
45 }
46 
47 HRESULT WINAPI
Main_D3D_CreateMaterial(LPDIRECT3D iface,LPDIRECT3DMATERIAL * Direct3DLight,IUnknown * pUnkOuter)48 Main_D3D_CreateMaterial(LPDIRECT3D iface,LPDIRECT3DMATERIAL* Direct3DLight,IUnknown* pUnkOuter)
49 {
50     DX_WINDBG_trace();
51     DX_STUB;
52 }
53 
54 HRESULT WINAPI
Main_D3D_CreateViewport(LPDIRECT3D iface,LPDIRECT3DVIEWPORT * Viewport,IUnknown * pUnkOuter)55 Main_D3D_CreateViewport(LPDIRECT3D iface, LPDIRECT3DVIEWPORT* Viewport,IUnknown* pUnkOuter)
56 {
57     DX_WINDBG_trace();
58     DX_STUB;
59 }
60 
61 HRESULT WINAPI
Main_D3D_FindDevice(LPDIRECT3D iface,LPD3DFINDDEVICESEARCH D3DDFS,LPD3DFINDDEVICERESULT D3DFDR)62 Main_D3D_FindDevice(LPDIRECT3D iface, LPD3DFINDDEVICESEARCH D3DDFS, LPD3DFINDDEVICERESULT D3DFDR)
63 {
64     DX_WINDBG_trace();
65     DX_STUB;
66 }
67 
68 HRESULT WINAPI
Main_D3D_CreateDevice2(LPDIRECT3D2 iface,REFCLSID rclsid,LPDIRECTDRAWSURFACE lpDDS,LPDIRECT3DDEVICE2 * lplpD3DDevice2)69 Main_D3D_CreateDevice2(LPDIRECT3D2 iface, REFCLSID rclsid, LPDIRECTDRAWSURFACE lpDDS,
70                                      LPDIRECT3DDEVICE2 *lplpD3DDevice2)
71 {
72     DX_WINDBG_trace();
73     DX_STUB;
74 }
75 
76 HRESULT WINAPI
Main_D3D_CreateDevice3(LPDIRECT3D3 iface,REFCLSID rclsid,LPDIRECTDRAWSURFACE4 lpDDS,LPDIRECT3DDEVICE3 * lplpD3DDevice3,LPUNKNOWN lpUnk)77 Main_D3D_CreateDevice3(LPDIRECT3D3 iface, REFCLSID rclsid,LPDIRECTDRAWSURFACE4 lpDDS,
78                       LPDIRECT3DDEVICE3 *lplpD3DDevice3,LPUNKNOWN lpUnk)
79 {
80     DX_WINDBG_trace();
81     DX_STUB;
82 }
83 
84 HRESULT WINAPI
Main_D3D_CreateVertexBuffer3(LPDIRECT3D3 iface,LPD3DVERTEXBUFFERDESC lpD3DVertBufDesc,LPDIRECT3DVERTEXBUFFER * lplpD3DVertBuf,DWORD dwFlags,LPUNKNOWN lpUnk)85 Main_D3D_CreateVertexBuffer3(LPDIRECT3D3 iface, LPD3DVERTEXBUFFERDESC lpD3DVertBufDesc,
86                             LPDIRECT3DVERTEXBUFFER *lplpD3DVertBuf,DWORD dwFlags,LPUNKNOWN lpUnk)
87 {
88     DX_WINDBG_trace();
89     DX_STUB;
90 }
91 
92 
93 HRESULT WINAPI
Main_D3D_CreateDevice7(LPDIRECT3D7 iface,REFCLSID rclsid,LPDIRECTDRAWSURFACE7 lpDDS,LPDIRECT3DDEVICE7 * lplpD3DDevice)94 Main_D3D_CreateDevice7(LPDIRECT3D7 iface, REFCLSID rclsid,LPDIRECTDRAWSURFACE7 lpDDS,
95                       LPDIRECT3DDEVICE7 *lplpD3DDevice)
96 {
97     DX_WINDBG_trace();
98     DX_STUB;
99 }
100 
101 HRESULT WINAPI
Main_D3D_CreateVertexBuffer7(LPDIRECT3D7 iface,LPD3DVERTEXBUFFERDESC lpD3DVertBufDesc,LPDIRECT3DVERTEXBUFFER7 * lplpD3DVertBuf,DWORD dwFlags)102 Main_D3D_CreateVertexBuffer7(LPDIRECT3D7 iface, LPD3DVERTEXBUFFERDESC lpD3DVertBufDesc,
103                             LPDIRECT3DVERTEXBUFFER7 *lplpD3DVertBuf,DWORD dwFlags)
104 {
105     DX_WINDBG_trace();
106     DX_STUB;
107 }
108 
109 HRESULT WINAPI
Main_D3D_EnumZBufferFormats(LPDIRECT3D7 iface,REFCLSID riidDevice,LPD3DENUMPIXELFORMATSCALLBACK lpEnumCallback,LPVOID lpContext)110 Main_D3D_EnumZBufferFormats(LPDIRECT3D7 iface, REFCLSID riidDevice, LPD3DENUMPIXELFORMATSCALLBACK lpEnumCallback,LPVOID lpContext)
111 {
112     DX_WINDBG_trace();
113     DX_STUB;
114 }
115 
116 HRESULT WINAPI
Main_D3D_EvictManagedTextures(LPDIRECT3D7 iface)117 Main_D3D_EvictManagedTextures(LPDIRECT3D7 iface)
118 {
119     DX_WINDBG_trace();
120     DX_STUB;
121 }
122 
123 
124