59 TRACE(
"%p increasing refcount to %u.\n", clipper, refcount);
69 TRACE(
"%p decreasing refcount to %u.\n", clipper, refcount);
108 WARN(
"Failed to get dc.\n");
114 ERR(
"Failed to create region.\n");
121 ERR(
"Failed to get window region.\n");
161 TRACE(
"iface %p, rect %s, clip_list %p, clip_list_size %p.\n",
171 WARN(
"Failed to get window region.\n");
180 WARN(
"No clip list set.\n");
192 ERR(
"Failed to create region.\n");
201 ERR(
"Failed to combine regions.\n");
256 ERR(
"Failed to create region.\n");
300 FIXME(
"iface %p, changed %p stub!\n", iface, changed);
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
static const char * wine_dbgstr_rect(const RECT *prc)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static HRESULT WINAPI ddraw_clipper_GetHWnd(IDirectDrawClipper *iface, HWND *window)
static HRESULT WINAPI ddraw_clipper_GetClipList(IDirectDrawClipper *iface, RECT *rect, RGNDATA *clip_list, DWORD *clip_list_size)
static HRESULT WINAPI ddraw_clipper_IsClipListChanged(IDirectDrawClipper *iface, BOOL *changed)
static HRGN get_window_region(HWND window)
static HRESULT WINAPI ddraw_clipper_SetHWnd(IDirectDrawClipper *iface, DWORD flags, HWND window)
HRESULT ddraw_clipper_init(struct ddraw_clipper *clipper)
static ULONG WINAPI ddraw_clipper_AddRef(IDirectDrawClipper *iface)
static ULONG WINAPI ddraw_clipper_Release(IDirectDrawClipper *iface)
struct ddraw_clipper * unsafe_impl_from_IDirectDrawClipper(IDirectDrawClipper *iface)
static HRESULT WINAPI ddraw_clipper_SetClipList(IDirectDrawClipper *iface, RGNDATA *region, DWORD flags)
static const struct IDirectDrawClipperVtbl ddraw_clipper_vtbl
static struct ddraw_clipper * impl_from_IDirectDrawClipper(IDirectDrawClipper *iface)
static HRESULT WINAPI ddraw_clipper_Initialize(IDirectDrawClipper *iface, IDirectDraw *ddraw, DWORD flags)
static HRESULT WINAPI ddraw_clipper_QueryInterface(IDirectDrawClipper *iface, REFIID iid, void **object)
static IHTMLWindow2 * window
#define IsEqualGUID(rguid1, rguid2)
DWORD WINAPI GetVersion()
#define DDERR_INVALIDPARAMS
#define DDERR_CLIPPERISUSINGHWND
#define DDERR_ALREADYINITIALIZED
IDirectDrawClipper IDirectDrawClipper_iface
#define CONTAINING_RECORD(address, type, field)
void WINAPI wined3d_mutex_unlock(void)
void WINAPI wined3d_mutex_lock(void)
HRGN WINAPI CreateRectRgn(_In_ int, _In_ int, _In_ int, _In_ int)
HRGN WINAPI ExtCreateRegion(_In_opt_ const XFORM *lpx, _In_ DWORD nCount, _In_reads_bytes_(nCount) const RGNDATA *lpData)
int WINAPI CombineRgn(_In_opt_ HRGN hrgnDest, _In_opt_ HRGN hrgnSrc1, _In_opt_ HRGN hrgnSrc2, _In_ int fnCombineMode)
int WINAPI OffsetRgn(_In_ HRGN, _In_ int, _In_ int)
int WINAPI GetRandomRgn(_In_ HDC, _In_ HRGN, _In_ INT)
DWORD WINAPI GetRegionData(_In_ HRGN hrgn, _In_ DWORD nCount, _Out_writes_bytes_to_opt_(nCount, return) LPRGNDATA lpRgnData)
HRGN WINAPI CreateRectRgnIndirect(_In_ LPCRECT)
BOOL WINAPI GetDCOrgEx(_In_ HDC, _Out_ LPPOINT)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
HDC WINAPI GetDC(_In_opt_ HWND)