1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS DirectX
4 * FILE: dll/directx/ddraw/Gamma/gamma_stubs.c
5 * PURPOSE: IDirectDrawGamma Implementation
6 * PROGRAMMER: Maarten Bosma
7 *
8 */
9
10 #include "rosdraw.h"
11
12 ULONG WINAPI
DirectDrawGammaControl_AddRef(LPDIRECTDRAWGAMMACONTROL iface)13 DirectDrawGammaControl_AddRef( LPDIRECTDRAWGAMMACONTROL iface)
14 {
15 DX_WINDBG_trace();
16
17 DX_STUB;
18 }
19
20 ULONG WINAPI
DirectDrawGammaControl_Release(LPDIRECTDRAWGAMMACONTROL iface)21 DirectDrawGammaControl_Release( LPDIRECTDRAWGAMMACONTROL iface)
22 {
23 LPDDRAWI_DDGAMMACONTROL_INT This = (LPDDRAWI_DDGAMMACONTROL_INT)iface;
24
25 DX_WINDBG_trace();
26 /* FIXME
27 This is not right exiame how it should be done
28 */
29 DX_STUB_str("FIXME This is not right exiame how it should be done\n");
30 return This->dwIntRefCnt;
31 }
32
33 HRESULT WINAPI
DirectDrawGammaControl_QueryInterface(LPDIRECTDRAWGAMMACONTROL iface,REFIID riid,LPVOID * ppObj)34 DirectDrawGammaControl_QueryInterface( LPDIRECTDRAWGAMMACONTROL iface,
35 REFIID riid,
36 LPVOID *ppObj)
37 {
38 DX_WINDBG_trace();
39 DX_STUB;
40 }
41
42 HRESULT WINAPI
DirectDrawGammaControl_GetGammaRamp(LPDIRECTDRAWGAMMACONTROL iface,DWORD dwFlags,LPDDGAMMARAMP lpGammaRamp)43 DirectDrawGammaControl_GetGammaRamp( LPDIRECTDRAWGAMMACONTROL iface,
44 DWORD dwFlags,
45 LPDDGAMMARAMP lpGammaRamp)
46 {
47 DX_WINDBG_trace();
48 DX_STUB;
49 }
50
51 HRESULT WINAPI
DirectDrawGammaControl_SetGammaRamp(LPDIRECTDRAWGAMMACONTROL iface,DWORD dwFlags,LPDDGAMMARAMP lpGammaRamp)52 DirectDrawGammaControl_SetGammaRamp( LPDIRECTDRAWGAMMACONTROL iface,
53 DWORD dwFlags,
54 LPDDGAMMARAMP lpGammaRamp)
55 {
56 DX_WINDBG_trace();
57 DX_STUB;
58 }
59
60 IDirectDrawGammaControlVtbl DirectDrawGammaControl_Vtable =
61 {
62 DirectDrawGammaControl_QueryInterface,
63 DirectDrawGammaControl_AddRef,
64 DirectDrawGammaControl_Release,
65 DirectDrawGammaControl_GetGammaRamp,
66 DirectDrawGammaControl_SetGammaRamp
67 };
68