Home
last modified time | relevance | path

Searched refs:hOldPal (Results 1 – 5 of 5) sorted by relevance

/reactos/modules/rostests/apitests/win32nt/ntuser/
H A DNtUserSelectPalette.c26 HPALETTE hPal, hOldPal; in START_TEST() local
63 hOldPal = NtUserSelectPalette(NULL, hPal, 0); in START_TEST()
64 TEST(hOldPal == 0); in START_TEST()
70 TEST(hOldPal == 0); in START_TEST()
75 hOldPal = NtUserSelectPalette(hDC, NULL, 0); in START_TEST()
76 TEST(hOldPal == 0); in START_TEST()
82 TEST(hOldPal == 0); in START_TEST()
86 hOldPal = NtUserSelectPalette(hDC, hPal, 0); in START_TEST()
87 TEST(hOldPal != 0); in START_TEST()
95 TEST(hOldPal != 0); in START_TEST()
[all …]
/reactos/sdk/lib/3rdparty/cardlib/
H A Dcardwindow.cpp24 void RestorePalette(HDC hdc, HPALETTE hOldPal) in RestorePalette() argument
26 SelectPalette(hdc, hOldPal, TRUE); in RestorePalette()
280 HPALETTE hOldPal; in Paint() local
282 hOldPal = UseNicePalette(hdc, __hPalette); in Paint()
333 RestorePalette(hdc, hOldPal); in Paint()
H A Dcardbutton.cpp389 HPALETTE hOldPal = UseNicePalette(hdc, __hPalette); in Redraw() local
393 RestorePalette(hdc, hOldPal); in Redraw()
/reactos/modules/rostests/apitests/win32nt/ntgdi/
H A DNtGdiDoPalette.c113 HPALETTE hPal, hOldPal; in Test_NtGdiDoPalette_GdiPalSetEntries() local
170 hOldPal = SelectPalette(hDC, hPal, 0); in Test_NtGdiDoPalette_GdiPalSetEntries()
172 SelectPalette(hDC, hOldPal, 0); in Test_NtGdiDoPalette_GdiPalSetEntries()
/reactos/dll/win32/comctl32/
H A Dpropsheet.c3310 HPALETTE hOldPal = 0; in PROPSHEET_Paint() local
3324 hOldPal = SelectPalette(hdc, psInfo->ppshheader.hplWatermark, FALSE); in PROPSHEET_Paint()
3491 SelectPalette(hdc, hOldPal, FALSE); in PROPSHEET_Paint()