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§

source

fn LoadImageBitmap( &self, name: IdObmStr, sz: SIZE, load: LR ) -> SysResult<DeleteObjectGuard<HBITMAP>>

LoadImage method for HBITMAP.

source

fn LoadImageCursor( &self, name: IdOcrStr, sz: SIZE, load: LR ) -> SysResult<DestroyCursorGuard>

LoadImage method for HCURSOR.

source

fn LoadImageIcon( &self, name: IdOicStr, sz: SIZE, load: LR ) -> SysResult<DestroyIconGuard>

LoadImage method for HICON.

Object Safety§

This trait is not object safe.

Implementors§