Lines Matching refs:dc
42 HDC dc,
68 HDC dc;
83 dc = CreateDCW(L"DISPLAY", adapter->DeviceName, NULL, NULL);
87 widthMM = GetDeviceCaps(dc, HORZSIZE);
88 heightMM = GetDeviceCaps(dc, VERTSIZE);
92 widthMM = (int) (dm.dmPelsWidth * 25.4f / GetDeviceCaps(dc, LOGPIXELSX));
93 heightMM = (int) (dm.dmPelsHeight * 25.4f / GetDeviceCaps(dc, LOGPIXELSY));
96 DeleteDC(dc);
336 const HDC dc = GetDC(NULL);
337 xdpi = GetDeviceCaps(dc, LOGPIXELSX);
338 ydpi = GetDeviceCaps(dc, LOGPIXELSY);
339 ReleaseDC(NULL, dc);
499 HDC dc;
502 dc = CreateDCW(L"DISPLAY", monitor->win32.adapterName, NULL, NULL);
503 GetDeviceGammaRamp(dc, values);
504 DeleteDC(dc);
517 HDC dc;
531 dc = CreateDCW(L"DISPLAY", monitor->win32.adapterName, NULL, NULL);
532 SetDeviceGammaRamp(dc, values);
533 DeleteDC(dc);