ReactOS 0.4.15-dev-7934-g1dc8d80
kernel_stubs.c File Reference
#include "rosdraw.h"
Include dependency graph for kernel_stubs.c:

Go to the source code of this file.

Functions

ULONG WINAPI DirectDrawKernel_AddRef (LPDIRECTDRAWKERNEL iface)
 
ULONG WINAPI DirectDrawKernel_Release (LPDIRECTDRAWKERNEL iface)
 
HRESULT WINAPI DirectDrawKernel_QueryInterface (LPDIRECTDRAWKERNEL iface, REFIID riid, LPVOID *ppvObj)
 
HRESULT WINAPI DirectDrawKernel_GetKernelHandle (LPDIRECTDRAWKERNEL iface, ULONG *handle)
 
HRESULT WINAPI DirectDrawKernel_ReleaseKernelHandle (LPDIRECTDRAWKERNEL iface)
 
ULONG WINAPI DDSurfaceKernel_AddRef (LPDIRECTDRAWSURFACEKERNEL iface)
 
ULONG WINAPI DDSurfaceKernel_Release (LPDIRECTDRAWSURFACEKERNEL iface)
 
HRESULT WINAPI DDSurfaceKernel_QueryInterface (LPDIRECTDRAWSURFACEKERNEL iface, REFIID riid, LPVOID *ppvObj)
 
HRESULT WINAPI DDSurfaceKernel_GetKernelHandle (LPDIRECTDRAWSURFACEKERNEL iface, ULONG *handle)
 
HRESULT WINAPI DDSurfaceKernel_ReleaseKernelHandle (LPDIRECTDRAWSURFACEKERNEL iface)
 

Variables

IDirectDrawKernelVtbl DirectDrawKernel_Vtable
 
IDirectDrawSurfaceKernelVtbl DirectDrawSurfaceKernel_Vtable
 

Function Documentation

◆ DDSurfaceKernel_AddRef()

ULONG WINAPI DDSurfaceKernel_AddRef ( LPDIRECTDRAWSURFACEKERNEL  iface)

Definition at line 57 of file kernel_stubs.c.

58{
60
62
63 if (iface!=NULL)
64 {
65 This->dwIntRefCnt++;
66 //This->lpLcl->dwLocalRefCnt++;
67
68 //if (This->lpLcl->lpGbl != NULL)
69 //{
70 // This->lpLcl->lpGbl->dwRefCnt++;
71 //}
72 }
73 return This->dwIntRefCnt;
74}
#define NULL
Definition: types.h:112
struct _DDRAWI_DDKERNELSURFACE_INT * LPDDRAWI_DDKERNELSURFACE_INT
#define DX_WINDBG_trace()
Definition: rosdraw.h:262

◆ DDSurfaceKernel_GetKernelHandle()

HRESULT WINAPI DDSurfaceKernel_GetKernelHandle ( LPDIRECTDRAWSURFACEKERNEL  iface,
ULONG handle 
)

Definition at line 99 of file kernel_stubs.c.

101{
103 DX_STUB;
104}
#define DX_STUB
Definition: rosdraw.h:224

◆ DDSurfaceKernel_QueryInterface()

HRESULT WINAPI DDSurfaceKernel_QueryInterface ( LPDIRECTDRAWSURFACEKERNEL  iface,
REFIID  riid,
LPVOID ppvObj 
)

Definition at line 90 of file kernel_stubs.c.

93{
95 DX_STUB;
96}

◆ DDSurfaceKernel_Release()

ULONG WINAPI DDSurfaceKernel_Release ( LPDIRECTDRAWSURFACEKERNEL  iface)

Definition at line 77 of file kernel_stubs.c.

78{
80
82 /* FIXME
83 This is not right exiame how it should be done
84 */
85 DX_STUB_str("FIXME This is not right exiame how it should be done\n");
86 return This->dwIntRefCnt;
87}
#define DX_STUB_str(x)
Definition: rosdraw.h:254

◆ DDSurfaceKernel_ReleaseKernelHandle()

HRESULT WINAPI DDSurfaceKernel_ReleaseKernelHandle ( LPDIRECTDRAWSURFACEKERNEL  iface)

Definition at line 107 of file kernel_stubs.c.

108{
110 DX_STUB;
111}

◆ DirectDrawKernel_AddRef()

ULONG WINAPI DirectDrawKernel_AddRef ( LPDIRECTDRAWKERNEL  iface)

Definition at line 16 of file kernel_stubs.c.

17{
19
20 DX_STUB;
21}

◆ DirectDrawKernel_GetKernelHandle()

HRESULT WINAPI DirectDrawKernel_GetKernelHandle ( LPDIRECTDRAWKERNEL  iface,
ULONG handle 
)

Definition at line 41 of file kernel_stubs.c.

43{
45 DX_STUB;
46}

◆ DirectDrawKernel_QueryInterface()

HRESULT WINAPI DirectDrawKernel_QueryInterface ( LPDIRECTDRAWKERNEL  iface,
REFIID  riid,
LPVOID ppvObj 
)

Definition at line 32 of file kernel_stubs.c.

35{
37 DX_STUB;
38}

◆ DirectDrawKernel_Release()

ULONG WINAPI DirectDrawKernel_Release ( LPDIRECTDRAWKERNEL  iface)

Definition at line 24 of file kernel_stubs.c.

25{
27
28 DX_STUB;
29}

◆ DirectDrawKernel_ReleaseKernelHandle()

HRESULT WINAPI DirectDrawKernel_ReleaseKernelHandle ( LPDIRECTDRAWKERNEL  iface)

Definition at line 49 of file kernel_stubs.c.

50{
52 DX_STUB;
53}

Variable Documentation

◆ DirectDrawKernel_Vtable

IDirectDrawKernelVtbl DirectDrawKernel_Vtable
Initial value:
=
{
}
ULONG WINAPI DirectDrawKernel_Release(LPDIRECTDRAWKERNEL iface)
Definition: kernel_stubs.c:24
HRESULT WINAPI DirectDrawKernel_ReleaseKernelHandle(LPDIRECTDRAWKERNEL iface)
Definition: kernel_stubs.c:49
HRESULT WINAPI DirectDrawKernel_GetKernelHandle(LPDIRECTDRAWKERNEL iface, ULONG *handle)
Definition: kernel_stubs.c:41
ULONG WINAPI DirectDrawKernel_AddRef(LPDIRECTDRAWKERNEL iface)
Definition: kernel_stubs.c:16
HRESULT WINAPI DirectDrawKernel_QueryInterface(LPDIRECTDRAWKERNEL iface, REFIID riid, LPVOID *ppvObj)
Definition: kernel_stubs.c:32

Definition at line 114 of file kernel_stubs.c.

◆ DirectDrawSurfaceKernel_Vtable

IDirectDrawSurfaceKernelVtbl DirectDrawSurfaceKernel_Vtable
Initial value:
=
{
}
HRESULT WINAPI DDSurfaceKernel_QueryInterface(LPDIRECTDRAWSURFACEKERNEL iface, REFIID riid, LPVOID *ppvObj)
Definition: kernel_stubs.c:90
HRESULT WINAPI DDSurfaceKernel_GetKernelHandle(LPDIRECTDRAWSURFACEKERNEL iface, ULONG *handle)
Definition: kernel_stubs.c:99
ULONG WINAPI DDSurfaceKernel_AddRef(LPDIRECTDRAWSURFACEKERNEL iface)
Definition: kernel_stubs.c:57
ULONG WINAPI DDSurfaceKernel_Release(LPDIRECTDRAWSURFACEKERNEL iface)
Definition: kernel_stubs.c:77
HRESULT WINAPI DDSurfaceKernel_ReleaseKernelHandle(LPDIRECTDRAWSURFACEKERNEL iface)
Definition: kernel_stubs.c:107

Definition at line 123 of file kernel_stubs.c.

Referenced by Main_DDrawSurface_QueryInterface().