3 * COPYRIGHT: See COPYING in the top level directory
5 * FILE: lib/ddraw/main/clipper.c
6 * PURPOSE: IDirectDrawClipper Implementation
7 * PROGRAMMER: Maarten Bosma
15 DirectDrawClipper_Release(LPDIRECTDRAWCLIPPER iface
)
19 IDirectDrawClipperImpl
* This
= (IDirectDrawClipperImpl
*)iface
;
24 ref
= InterlockedDecrement( (PLONG
) &This
->ref
);
28 /* Add here if we need releae some memory pointer before
34 HeapFree(GetProcessHeap(), 0, This
);
42 DirectDrawClipper_AddRef (LPDIRECTDRAWCLIPPER iface
)
46 IDirectDrawClipperImpl
* This
= (IDirectDrawClipperImpl
*)iface
;
52 ref
= InterlockedIncrement( (PLONG
) &This
->ref
);
58 DirectDrawClipper_Initialize( LPDIRECTDRAWCLIPPER iface
,
62 /* FIXME not implment */
68 DirectDrawClipper_SetHwnd( LPDIRECTDRAWCLIPPER iface
,
72 /* FIXME not implment */
78 DirectDrawClipper_GetClipList( LPDIRECTDRAWCLIPPER iface
,
88 DirectDrawClipper_SetClipList( LPDIRECTDRAWCLIPPER iface
,
97 DirectDrawClipper_QueryInterface( LPDIRECTDRAWCLIPPER iface
,
106 DirectDrawClipper_GetHWnd( LPDIRECTDRAWCLIPPER iface
,
114 DirectDrawClipper_IsClipListChanged( LPDIRECTDRAWCLIPPER iface
,
121 IDirectDrawClipperVtbl DirectDrawClipper_Vtable
=
123 DirectDrawClipper_QueryInterface
,
124 DirectDrawClipper_AddRef
,
125 DirectDrawClipper_Release
,
126 DirectDrawClipper_GetClipList
,
127 DirectDrawClipper_GetHWnd
,
128 DirectDrawClipper_Initialize
,
129 DirectDrawClipper_IsClipListChanged
,
130 DirectDrawClipper_SetClipList
,
131 DirectDrawClipper_SetHwnd