Trait winsafe::prelude::gdi_Hinstance
source · pub trait gdi_Hinstance: user_Hinstance {
// Provided methods
fn LoadImageBitmap(
&self,
name: IdObmStr,
sz: SIZE,
load: LR
) -> SysResult<DeleteObjectGuard<HBITMAP>> { ... }
fn LoadImageCursor(
&self,
name: IdOcrStr,
sz: SIZE,
load: LR
) -> SysResult<DestroyCursorGuard> { ... }
fn LoadImageIcon(
&self,
name: IdOicStr,
sz: SIZE,
load: LR
) -> SysResult<DestroyIconGuard> { ... }
}
Available on crate features
kernel
and gdi
only.Expand description
This trait is enabled with the gdi
feature, and provides methods for
HINSTANCE
.
Prefer importing this trait through the prelude:
use winsafe::prelude::*;
Provided Methods§
sourcefn LoadImageBitmap(
&self,
name: IdObmStr,
sz: SIZE,
load: LR
) -> SysResult<DeleteObjectGuard<HBITMAP>>
fn LoadImageBitmap( &self, name: IdObmStr, sz: SIZE, load: LR ) -> SysResult<DeleteObjectGuard<HBITMAP>>
sourcefn LoadImageCursor(
&self,
name: IdOcrStr,
sz: SIZE,
load: LR
) -> SysResult<DestroyCursorGuard>
fn LoadImageCursor( &self, name: IdOcrStr, sz: SIZE, load: LR ) -> SysResult<DestroyCursorGuard>
sourcefn LoadImageIcon(
&self,
name: IdOicStr,
sz: SIZE,
load: LR
) -> SysResult<DestroyIconGuard>
fn LoadImageIcon( &self, name: IdOicStr, sz: SIZE, load: LR ) -> SysResult<DestroyIconGuard>
Object Safety§
This trait is not object safe.