Trait winsafe::prelude::gdi_Hpalette
source · pub trait gdi_Hpalette: Handle {
// Provided method
fn CreatePalette(pal: &LOGPALETTE) -> SysResult<DeleteObjectPaletteGuard> { ... }
}
Available on crate features
kernel
and gdi
only.Expand description
This trait is enabled with the gdi
feature, and provides methods for
HFONT
.
Prefer importing this trait through the prelude:
use winsafe::prelude::*;
Provided Methods§
sourcefn CreatePalette(pal: &LOGPALETTE) -> SysResult<DeleteObjectPaletteGuard>
fn CreatePalette(pal: &LOGPALETTE) -> SysResult<DeleteObjectPaletteGuard>
CreatePalette
function.
Object Safety§
This trait is not object safe.