3 * COPYRIGHT: See COPYING in the top level directory
5 * FILE: lib/ddraw/main/kernel.c
6 * PURPOSE: IDirectDrawKernel and IDirectDrawSurfaceKernel Implementation
7 * PROGRAMMER: Maarten Bosma
14 /***** IDirectDrawKernel ****/
16 ULONG WINAPI
Main_DirectDrawKernel_AddRef (LPDIRECTDRAWKERNEL iface
)
21 ULONG WINAPI
Main_DirectDrawKernel_Release (LPDIRECTDRAWKERNEL iface
)
26 HRESULT WINAPI
Main_DirectDrawKernel_QueryInterface (LPDIRECTDRAWKERNEL iface
, REFIID riid
, LPVOID
* ppvObj
)
31 HRESULT WINAPI
Main_DirectDrawKernel_GetKernelHandle (LPDIRECTDRAWKERNEL iface
, ULONG
* handle
)
36 HRESULT WINAPI
Main_DirectDrawKernel_ReleaseKernelHandle (LPDIRECTDRAWKERNEL iface
)
42 /***** IDirectDrawSurfaceKernel ****/
44 ULONG WINAPI
Main_DDSurfaceKernel_AddRef (LPDIRECTDRAWSURFACEKERNEL iface
)
49 ULONG WINAPI
Main_DDSurfaceKernel_Release (LPDIRECTDRAWSURFACEKERNEL iface
)
54 HRESULT WINAPI
Main_DDSurfaceKernel_QueryInterface (LPDIRECTDRAWSURFACEKERNEL iface
, REFIID riid
, LPVOID
* ppvObj
)
59 HRESULT WINAPI
Main_DDSurfaceKernel_GetKernelHandle (LPDIRECTDRAWSURFACEKERNEL iface
, ULONG
* handle
)
64 HRESULT WINAPI
Main_DDSurfaceKernel_ReleaseKernelHandle (LPDIRECTDRAWSURFACEKERNEL iface
)
70 IDirectDrawKernelVtbl DirectDrawKernel_Vtable
=
72 Main_DirectDrawKernel_QueryInterface
,
73 Main_DirectDrawKernel_AddRef
,
74 Main_DirectDrawKernel_Release
,
75 Main_DirectDrawKernel_GetKernelHandle
,
76 Main_DirectDrawKernel_ReleaseKernelHandle
79 IDirectDrawSurfaceKernelVtbl DirectDrawSurfaceKernel_Vtable
=
81 Main_DDSurfaceKernel_QueryInterface
,
82 Main_DDSurfaceKernel_AddRef
,
83 Main_DDSurfaceKernel_Release
,
84 Main_DDSurfaceKernel_GetKernelHandle
,
85 Main_DDSurfaceKernel_ReleaseKernelHandle