Searched refs:hScreenDC (Results 1 – 6 of 6) sorted by relevance
/reactos/modules/rostests/apitests/gdi32/ |
H A D | SetDCPenColor.c | 12 HDC hScreenDC, hDC; in Test_SetDCPenColor() local 21 hScreenDC = GetDC(NULL); in Test_SetDCPenColor() 22 ok(hScreenDC != 0, "GetDC failed, skipping tests\n"); in Test_SetDCPenColor() 23 if (hScreenDC == NULL) return; in Test_SetDCPenColor() 26 SetDCPenColor(hScreenDC, RGB(1,2,3)); in Test_SetDCPenColor() 27 ok(SetDCPenColor(hScreenDC, RGB(4,5,6)) == RGB(1,2,3), "\n"); in Test_SetDCPenColor() 30 hDC = CreateCompatibleDC(hScreenDC); in Test_SetDCPenColor() 31 ReleaseDC(0, hScreenDC); in Test_SetDCPenColor()
|
/reactos/base/applications/taskmgr/ |
H A D | trayicon.c | 16 HDC hScreenDC = NULL; in TrayIcon_GetProcessorUsageIcon() local 27 hScreenDC = GetDC(NULL); in TrayIcon_GetProcessorUsageIcon() 28 if (!hScreenDC) in TrayIcon_GetProcessorUsageIcon() 32 hDC = CreateCompatibleDC(hScreenDC); in TrayIcon_GetProcessorUsageIcon() 87 if (hScreenDC) in TrayIcon_GetProcessorUsageIcon() 88 ReleaseDC(NULL, hScreenDC); in TrayIcon_GetProcessorUsageIcon()
|
/reactos/modules/rostests/tests/enumfonts/ |
H A D | enumfonts.cpp | 113 HDC hScreenDC = GetDC(NULL); in AddScreenFonts() local 126 hScreenDC, &lf, in AddScreenFonts() 134 ReleaseDC(NULL, hScreenDC); in AddScreenFonts() 137 ReleaseDC(NULL, hScreenDC); in AddScreenFonts()
|
/reactos/modules/rostests/tests/primitives/ |
H A D | primitives.cpp | 214 HDC hScreenDC = GetDC(NULL); in MainWndProc() local 221 hScreenDC, "Impact", 20, ANSI_CHARSET, in MainWndProc() 229 ReleaseDC(NULL, hScreenDC); in MainWndProc() 231 ReleaseDC(NULL, hScreenDC); in MainWndProc()
|
/reactos/base/applications/mspaint/ |
H A D | dib.cpp | 236 HDC hScreenDC = ::GetDC(NULL); in InitializeImage() local 237 g_xDpi = (float)::GetDeviceCaps(hScreenDC, LOGPIXELSX); in InitializeImage() 238 g_yDpi = (float)::GetDeviceCaps(hScreenDC, LOGPIXELSY); in InitializeImage() 239 ::ReleaseDC(NULL, hScreenDC); in InitializeImage()
|
/reactos/dll/cpl/desk/ |
H A D | advappdlg.c | 350 HDC hScreenDC; in AdvAppearanceDlg_Init() local 418 hScreenDC = GetDC(0); in AdvAppearanceDlg_Init() 419 …EnumFontFamiliesEx(hScreenDC, &lfFont, (FONTENUMPROC)EnumFontFamExProc, (LPARAM)GetDlgItem(hwndDlg… in AdvAppearanceDlg_Init() 420 ReleaseDC(0, hScreenDC); in AdvAppearanceDlg_Init()
|