Trait winsafe::prelude::user_Hicon

source ·
pub trait user_Hicon: Handle {
    // Provided methods
    fn CopyIcon(&self) -> SysResult<DestroyIconGuard> { ... }
    fn GetIconInfo(&self) -> SysResult<ICONINFO> { ... }
    fn GetIconInfoEx(&self, icon_info: &mut ICONINFOEX) -> SysResult<()> { ... }
}
Available on crate features kernel and user only.
Expand description

This trait is enabled with the user feature, and provides methods for HICON.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

source

fn CopyIcon(&self) -> SysResult<DestroyIconGuard>

CopyIcon function.

source

fn GetIconInfo(&self) -> SysResult<ICONINFO>

GetIconInfo function.

source

fn GetIconInfoEx(&self, icon_info: &mut ICONINFOEX) -> SysResult<()>

GetIconInfoEx function.

Object Safety§

This trait is not object safe.

Implementors§