Trait winsafe::prelude::gdi_Hbitmap
source · pub trait gdi_Hbitmap: Handle {
// Provided methods
fn CreateBitmap(
sz: SIZE,
num_planes: u32,
bit_count: u32,
bits: *mut u8
) -> SysResult<DeleteObjectGuard<HBITMAP>> { ... }
fn GetObject(&self, pv: &mut BITMAP) -> SysResult<()> { ... }
}
Available on crate features
kernel
and gdi
only.Expand description
This trait is enabled with the gdi
feature, and provides methods for
HBITMAP
.
Prefer importing this trait through the prelude:
use winsafe::prelude::*;
Provided Methods§
sourcefn CreateBitmap(
sz: SIZE,
num_planes: u32,
bit_count: u32,
bits: *mut u8
) -> SysResult<DeleteObjectGuard<HBITMAP>>
fn CreateBitmap( sz: SIZE, num_planes: u32, bit_count: u32, bits: *mut u8 ) -> SysResult<DeleteObjectGuard<HBITMAP>>
CreateBitmap
function.
Object Safety§
This trait is not object safe.