Lines Matching refs:source_hdc
58 HDC source_hdc; /**< Source device context */
228 HDC source_hdc = NULL;
285 source_hdc = GetDC(hwnd);
286 if (!source_hdc) {
291 bpp = GetDeviceCaps(source_hdc, BITSPIXEL);
293 horzres = GetDeviceCaps(source_hdc, HORZRES);
294 vertres = GetDeviceCaps(source_hdc, VERTRES);
295 desktophorzres = GetDeviceCaps(source_hdc, DESKTOPHORZRES);
296 desktopvertres = GetDeviceCaps(source_hdc, DESKTOPVERTRES);
363 dest_hdc = CreateCompatibleDC(source_hdc);
413 gdigrab->source_hdc = source_hdc;
438 if (source_hdc)
439 ReleaseDC(hwnd, source_hdc);
444 if (source_hdc)
445 DeleteDC(source_hdc);
473 int horzres = GetDeviceCaps(gdigrab->source_hdc, HORZRES);
474 int vertres = GetDeviceCaps(gdigrab->source_hdc, VERTRES);
475 int desktophorzres = GetDeviceCaps(gdigrab->source_hdc, DESKTOPHORZRES);
476 int desktopvertres = GetDeviceCaps(gdigrab->source_hdc, DESKTOPVERTRES);
548 HDC source_hdc = gdigrab->source_hdc;
590 source_hdc,
634 if (s->source_hdc)
635 ReleaseDC(s->hwnd, s->source_hdc);
640 if (s->source_hdc)
641 DeleteDC(s->source_hdc);