Lines Matching refs:window
81 static HRESULT WINAPI ddraw_clipper_SetHWnd(IDirectDrawClipper *iface, DWORD flags, HWND window) in ddraw_clipper_SetHWnd() argument
85 TRACE("iface %p, flags %#x, window %p.\n", iface, flags, window); in ddraw_clipper_SetHWnd()
94 clipper->window = window; in ddraw_clipper_SetHWnd()
100 static HRGN get_window_region(HWND window) in get_window_region() argument
106 if (!(dc = GetDC(window))) in get_window_region()
115 ReleaseDC(window, dc); in get_window_region()
123 ReleaseDC(window, dc); in get_window_region()
133 ReleaseDC(window, dc); in get_window_region()
166 if (clipper->window) in ddraw_clipper_GetClipList()
168 if (!(region = get_window_region(clipper->window))) in ddraw_clipper_GetClipList()
193 if (clipper->window) in ddraw_clipper_GetClipList()
203 if (clipper->window) in ddraw_clipper_GetClipList()
208 if (clipper->window) in ddraw_clipper_GetClipList()
214 if (rect || clipper->window) in ddraw_clipper_GetClipList()
243 if (clipper->window) in ddraw_clipper_SetClipList()
265 static HRESULT WINAPI ddraw_clipper_GetHWnd(IDirectDrawClipper *iface, HWND *window) in ddraw_clipper_GetHWnd() argument
269 TRACE("iface %p, window %p.\n", iface, window); in ddraw_clipper_GetHWnd()
272 *window = clipper->window; in ddraw_clipper_GetHWnd()