/reactos/dll/win32/msvfw32/ |
H A D | drawdib.c | 138 whdd->hpal = 0; /* Do not free this */ in DrawDibEnd() 292 whdd->hpal = 0; in DrawDibBegin() 398 if (!(wFlags & DDF_DONTDRAW) && whdd->hpal) in DrawDibDraw() 401 SelectPalette(hdc, whdd->hpal, TRUE); in DrawDibDraw() 403 SelectPalette(hdc, whdd->hpal, FALSE); in DrawDibDraw() 445 TRACE("(%p, %p)\n", hdd, hpal); in DrawDibSetPalette() 450 whdd->hpal = hpal; in DrawDibSetPalette() 454 SelectPalette(whdd->hdc, hpal, 0); in DrawDibSetPalette() 482 return whdd->hpal; in DrawDibGetPalette() 504 if (!whdd->hpal) in DrawDibRealize() [all …]
|
H A D | msvideo_main.c | 1185 HPALETTE hpal, /* [in] palette to draw with */ in ICDrawBegin() argument 1204 hic, dwFlags, hpal, hwnd, hdc, xDst, yDst, dxDst, dyDst, in ICDrawBegin() 1208 icdb.hpal = hpal; in ICDrawBegin()
|
/reactos/win32ss/gdi/gdi32/objects/ |
H A D | palette.c | 44 AnimatePalette(HPALETTE hpal, in AnimatePalette() argument 49 return NtGdiDoPalette(hpal, iStartIndex, cEntries, (PALETTEENTRY*)ppe, GdiPalAnimate, TRUE); in AnimatePalette() 64 GetPaletteEntries(HPALETTE hpal, in GetPaletteEntries() argument 69 return NtGdiDoPalette(hpal, iStartIndex, cEntries, ppe, GdiPalGetEntries, FALSE); in GetPaletteEntries() 74 SetPaletteEntries(HPALETTE hpal, in SetPaletteEntries() argument 79 return NtGdiDoPalette(hpal, iStartIndex, cEntries, (PALETTEENTRY*)ppe, GdiPalSetEntries, TRUE); in SetPaletteEntries()
|
H A D | dc.c | 1314 HPALETTE hpal, 1321 HPALETTE hpal, in SelectPalette() argument 1328 return (HPALETTE)((ULONG_PTR)METADC_SelectPalette(hdc, hpal)); in SelectPalette() 1338 if ( pLDC->iType == LDC_EMFLDC && !(EMFDC_SelectPalette(pLDC, hpal)) ) in SelectPalette() 1344 return NtUserSelectPalette(hdc, hpal, bForceBackground); in SelectPalette()
|
/reactos/win32ss/gdi/ntgdi/ |
H A D | palette.c | 384 HPALETTE hpal; in EngCreatePalette() local 390 if (!hpal) in EngCreatePalette() 398 return hpal; in EngCreatePalette() 452 HPALETTE hpal = NULL; in GreCreatePaletteInternal() local 469 return hpal; in GreCreatePaletteInternal() 513 return hpal; in NtGdiCreatePaletteInternal() 590 return hpal; in NtGdiCreateHalftonePalette() 596 HPALETTE hpal, in NtGdiResizePalette() argument 709 HPALETTE hpal, in NtGdiGetNearestPaletteIndex() argument 851 HPALETTE hpal, in IntGetPaletteEntries() argument [all …]
|
H A D | dcobjs.c | 201 HPALETTE hpal, in GdiSelectPalette() argument 216 ppal = PALETTE_ShareLockPalette(hpal); in GdiSelectPalette() 231 oldPal = pdc->dclevel.hpal; in GdiSelectPalette() 232 pdc->dclevel.hpal = hpal; in GdiSelectPalette() 662 SelObject = pdc->dclevel.hpal; in NtGdiGetDCObject()
|
H A D | palette.h | 57 #define PALETTE_ShareLockPalette(hpal) \ argument 58 ((PPALETTE)GDIOBJ_ShareLockObj((HGDIOBJ)hpal, GDI_OBJECT_TYPE_PALETTE))
|
H A D | dcstate.c | 39 pdcDst->dclevel.hpal = pdcSrc->dclevel.hpal; in DC_vCopyState()
|
H A D | dc.h | 51 HPALETTE hpal; member 161 _In_ HPALETTE hpal,
|
H A D | intgdi.h | 122 IntGetPaletteEntries(HPALETTE hpal,
|
H A D | dibobj.c | 881 PPALETTE pDcPal = PALETTE_ShareLockPalette(pDC->dclevel.hpal); in GreGetDIBitsInternal() 2199 HPALETTE hpal; in DIB_MapPaletteColors() local 2228 hpal = ppalNew->BaseObject.hHmgr; in DIB_MapPaletteColors() 2231 return hpal; in DIB_MapPaletteColors()
|
/reactos/modules/rostests/winetests/gdi32/ |
H A D | palette.c | 51 HPALETTE hpal, hpalOld; in test_DIB_PAL_COLORS() local 59 hpal = CreatePalette( logpalette ); in test_DIB_PAL_COLORS() 60 hpalOld = SelectPalette( memhdc, hpal, FALSE ); in test_DIB_PAL_COLORS() 115 DeleteObject( hpal ); in test_DIB_PAL_COLORS() 126 HPALETTE hpal; in test_palette_entries() local 135 hpal = CreatePalette( logpalette ); in test_palette_entries() 138 SetPaletteEntries(hpal, 0, 1, &palEntry); in test_palette_entries() 141 res = GetPaletteEntries(hpal, 0, 1, &getEntryResult); in test_palette_entries()
|
H A D | gdiobj.c | 202 HPALETTE hpal; in test_GetCurrentObject() local 232 hpal = CreateHalftonePalette(hdc); in test_GetCurrentObject() 233 assert(hpal != 0); in test_GetCurrentObject() 234 SelectPalette(hdc, hpal, FALSE); in test_GetCurrentObject() 236 ok(hobj == hpal, "OBJ_PAL is wrong: %p\n", hobj); in test_GetCurrentObject()
|
H A D | dib.c | 1551 HPALETTE hpal, old_hpal; in draw_graphics() local 2643 hpal = CreatePalette( pal ); in draw_graphics() 2644 old_hpal = SelectPalette( hdc, hpal, FALSE ); in draw_graphics() 2648 SetPaletteEntries( hpal, 0, 40, entries + 40 ); in draw_graphics() 2656 SetPaletteEntries( hpal, 0, 40, entries ); in draw_graphics() 2665 SetPaletteEntries( hpal, 0, 40, entries + 40 ); in draw_graphics() 2672 DeleteObject( hpal ); in draw_graphics()
|
/reactos/dll/win32/wing32/ |
H A D | wing32.c | 103 HPALETTE hpal; in WinGCreateHalftonePalette() local 106 hpal = CreateHalftonePalette( hdc ); in WinGCreateHalftonePalette() 109 return hpal; in WinGCreateHalftonePalette()
|
/reactos/modules/rostests/apitests/gdi32/ |
H A D | SetPixel.c | 72 HPALETTE hpal, hpalOld; in Test_SetPixel_PAL() local 139 hpal = CreatePalette((LOGPALETTE*)&gpal); in Test_SetPixel_PAL() 140 hpalOld = SelectPalette(hdc, hpal, FALSE); in Test_SetPixel_PAL()
|
/reactos/win32ss/gdi/gdi32/misc/ |
H A D | historic.c | 120 GdiConvertPalette(HPALETTE hpal) in GdiConvertPalette() argument 123 return hpal; in GdiConvertPalette()
|
/reactos/dll/win32/oleaut32/ |
H A D | oleaut.c | 694 HPALETTE hpal, in OleTranslateColor() argument 700 TRACE("(%08x, %p, %p)\n", clr, hpal, pColorRef); in OleTranslateColor() 712 if (hpal != 0) in OleTranslateColor() 724 if (hpal != 0) in OleTranslateColor() 730 if (GetPaletteEntries(hpal, LOWORD(clr), 1, &pe) == 0) in OleTranslateColor()
|
H A D | olepicture.c | 569 *phandle = HandleToUlong(This->desc.u.bmp.hpal); in OLEPictureImpl_get_hPal() 770 OLE_HANDLE hpal) in OLEPictureImpl_set_hPal() argument 774 TRACE("(%p)->(%08x)\n", This, hpal); in OLEPictureImpl_set_hPal() 778 This->desc.u.bmp.hpal = ULongToHandle(hpal); in OLEPictureImpl_set_hPal()
|
/reactos/modules/rostests/winetests/windowscodecs/ |
H A D | bitmap.c | 819 HPALETTE hpal; in test_CreateBitmapFromHBITMAP() local 864 hpal = CreatePalette(pal); in test_CreateBitmapFromHBITMAP() 865 ok(hpal != 0, "CreatePalette failed\n"); in test_CreateBitmapFromHBITMAP() 868 …hr = IWICImagingFactory_CreateBitmapFromHBITMAP(factory, hbmp, hpal, WICBitmapIgnoreAlpha, &bitmap… in test_CreateBitmapFromHBITMAP() 899 DeleteObject(hpal); in test_CreateBitmapFromHBITMAP() 906 hpal = CreatePalette(pal); in test_CreateBitmapFromHBITMAP() 907 ok(hpal != 0, "CreatePalette failed\n"); in test_CreateBitmapFromHBITMAP() 910 …hr = IWICImagingFactory_CreateBitmapFromHBITMAP(factory, hbmp, hpal, WICBitmapIgnoreAlpha, &bitmap… in test_CreateBitmapFromHBITMAP() 946 DeleteObject(hpal); in test_CreateBitmapFromHBITMAP()
|
/reactos/sdk/include/psdk/ |
H A D | olectl.h | 144 HPALETTE hpal; member 220 HRESULT WINAPI OleTranslateColor( OLE_COLOR clr, HPALETTE hpal,
|
H A D | gdiplusheaders.h | 409 Bitmap(HBITMAP hbm, HPALETTE hpal) in Bitmap() argument 412 lastStatus = DllExports::GdipCreateBitmapFromHBITMAP(hbm, hpal, &bitmap); in Bitmap() 525 FromHBITMAP(HBITMAP hbm, HPALETTE hpal) in FromHBITMAP() argument 527 return new Bitmap(hbm, hpal); in FromHBITMAP()
|
/reactos/dll/win32/windowscodecs/ |
H A D | imgfactory.c | 726 HBITMAP hbm, HPALETTE hpal, WICBitmapAlphaChannelOption option, IWICBitmap **bitmap) in ImagingFactory_CreateBitmapFromHBITMAP() argument 735 TRACE("(%p,%p,%p,%u,%p)\n", iface, hbm, hpal, option, bitmap); in ImagingFactory_CreateBitmapFromHBITMAP() 742 if (hpal) in ImagingFactory_CreateBitmapFromHBITMAP() 744 num_palette_entries = GetPaletteEntries(hpal, 0, 256, entry); in ImagingFactory_CreateBitmapFromHBITMAP() 1208 …I ComponentFactory_CreateBitmapFromHBITMAP(IWICComponentFactory *iface, HBITMAP hbm, HPALETTE hpal, in ComponentFactory_CreateBitmapFromHBITMAP() argument 1212 …return IWICImagingFactory2_CreateBitmapFromHBITMAP(&This->IWICImagingFactory2_iface, hbm, hpal, op… in ComponentFactory_CreateBitmapFromHBITMAP()
|
/reactos/win32ss/user/ntuser/ |
H A D | windc.c | 1035 HPALETTE hpal, in NtUserSelectPalette() argument 1041 oldPal = GdiSelectPalette( hDC, hpal, ForceBackground); in NtUserSelectPalette()
|
/reactos/dll/win32/ieframe/ |
H A D | shellbrowser.c | 561 HPALETTE *hpal) in BrowserService_GetPalette() argument 564 FIXME("%p %p\n", This, hpal); in BrowserService_GetPalette()
|