Trait winsafe::prelude::shell_Hwnd

source ·
pub trait shell_Hwnd: ole_Hwnd {
    // Provided methods
    fn DragAcceptFiles(&self, accept: bool) { ... }
    fn ShellAbout(
        &self,
        title_bar: &str,
        first_line: Option<&str>,
        other_stuff: Option<&str>,
        hicon: Option<&HICON>
    ) -> SysResult<()> { ... }
    fn ShellExecute(
        &self,
        operation: &str,
        file: &str,
        parameters: Option<&str>,
        directory: Option<&str>,
        show_cmd: SW
    ) -> Result<HINSTANCE, SE_ERR> { ... }
}
Available on crate features kernel and shell only.
Expand description

This trait is enabled with the shell feature, and provides methods for HWND.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

source

fn DragAcceptFiles(&self, accept: bool)

DragAcceptFiles function.

source

fn ShellAbout( &self, title_bar: &str, first_line: Option<&str>, other_stuff: Option<&str>, hicon: Option<&HICON> ) -> SysResult<()>

ShellAbout function.

source

fn ShellExecute( &self, operation: &str, file: &str, parameters: Option<&str>, directory: Option<&str>, show_cmd: SW ) -> Result<HINSTANCE, SE_ERR>

ShellExecute function.

Object Safety§

This trait is not object safe.

Implementors§