Home
last modified time | relevance | path

Searched refs:hScreenDC (Results 1 – 6 of 6) sorted by relevance

/reactos/modules/rostests/apitests/gdi32/
H A DSetDCPenColor.c12 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 Dtrayicon.c16 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 Denumfonts.cpp113 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 Dprimitives.cpp214 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 Ddib.cpp236 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 Dadvappdlg.c350 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()