Home
last modified time | relevance | path

Searched refs:DEFAULT_PALETTE (Results 1 – 18 of 18) sorted by relevance

/reactos/modules/rostests/apitests/win32nt/ntgdi/
H A DNtGdiCreateCompatibleDC.c20 hObj = SelectPalette(hDC, GetStockObject(DEFAULT_PALETTE), 0); in START_TEST()
22 ok_ptr(hObj, GetStockObject(DEFAULT_PALETTE)); in START_TEST()
H A DNtGdiDoPalette.c42 …ok_long(NtGdiDoPalette(GetStockObject(DEFAULT_PALETTE), 0, 1, palEntries, GdiPalAnimate, FALSE), 0… in Test_NtGdiDoPalette_GdiPalAnimate()
130 …ok_long(NtGdiDoPalette(GetStockObject(DEFAULT_PALETTE), 0, 1, palEntries, GdiPalSetEntries, TRUE),… in Test_NtGdiDoPalette_GdiPalSetEntries()
H A DNtGdiSelectBitmap.c68 TEST(hOldPalette == GetStockObject(DEFAULT_PALETTE)); in START_TEST()
H A DNtGdiGetStockObject.c102 handle = (HANDLE) NtGdiGetStockObject(DEFAULT_PALETTE); in START_TEST()
/reactos/modules/rostests/apitests/gdi32/
H A DGetCurrentObject.c155 …ok(hObj == GetStockObject(DEFAULT_PALETTE), "Expected %p, got %p\n", GetStockObject(DEFAULT_PALETT… in Test_GetCurrentObject()
H A DGetStockObject.c40 RTEST(GDI_HANDLE_GET_TYPE(GetStockObject(DEFAULT_PALETTE)) == GDI_OBJECT_TYPE_PALETTE); /* 15 */ in Test_GetStockObject()
H A DSelectObject.c82 hNewObj = GetStockObject(DEFAULT_PALETTE); in Test_SelectObject()
/reactos/win32ss/gdi/gdi32/wine/enhmfdrv/
H A Dobjects.c301 if (i != DEFAULT_PALETTE && hFont == GetStockObject(i)) in EMFDRV_SelectFont()
445 if (hPal == GetStockObject( DEFAULT_PALETTE )) in EMFDRV_SelectPalette()
447 index = DEFAULT_PALETTE | 0x80000000; in EMFDRV_SelectPalette()
/reactos/modules/rostests/winetests/gdi32/
H A Dpalette.c157 count = GetPaletteEntries( GetStockObject(DEFAULT_PALETTE), 0, 20, defpal ); in test_halftone_palette()
201 count = GetPaletteEntries( GetStockObject(DEFAULT_PALETTE), 0, 20, defpal ); in check_system_palette_entries()
H A Dbitmap.c2330 GetPaletteEntries( GetStockObject(DEFAULT_PALETTE), 0, 20, pal_ents ); in test_GetDIBits()
2369 GetPaletteEntries( GetStockObject(DEFAULT_PALETTE), 0, 20, pal_ents ); in test_GetDIBits()
/reactos/modules/rostests/apitests/win32nt/ntuser/
H A DNtUserSelectPalette.c88 TEST(hOldPal == GetStockObject(DEFAULT_PALETTE)); in START_TEST()
/reactos/win32ss/gdi/ntgdi/
H A Dstockobj.c273 StockObjects[DEFAULT_PALETTE] = (HGDIOBJ)gppalDefault->BaseObject.hHmgr; in CreateStockObjects()
H A Ddcutil.c900 if (pdc->dclevel.hpal != StockObjects[DEFAULT_PALETTE]) in TranslateCOLORREF()
H A Ddclife.c262 pdc->dclevel.hpal = StockObjects[DEFAULT_PALETTE]; in DC_vInitDc()
H A Dpalette.c788 if( hPal != NtGdiGetStockObject(DEFAULT_PALETTE) ) in IntAnimatePalette()
/reactos/win32ss/gdi/gdi32/wine/
H A Demfdc.c423 if (i != DEFAULT_PALETTE && font == GetStockObject(i)) in emfdc_select_font()
538 if (palette == GetStockObject( DEFAULT_PALETTE )) in EMFDC_SelectPalette()
540 index = DEFAULT_PALETTE | 0x80000000; in EMFDC_SelectPalette()
/reactos/modules/rostests/winetests/oleaut32/
H A Dolepicture.c653 hr = IPicture_set_hPal(pict, HandleToUlong(GetStockObject(DEFAULT_PALETTE))); in test_OleCreatePictureIndirect()
/reactos/sdk/include/psdk/
H A Dwingdi.h913 #define DEFAULT_PALETTE 15 macro