Function win_msgbox::show

source ·
pub fn show<T: Options>(text: impl Into<PCWSTR>) -> Result<T, WIN32_ERROR>
Expand description

Shows a message box with a specified text to be displayed.

For more options see MessageBox.

Examples found in repository?
examples/minimal.rs (line 5)
4
5
6
fn main() {
    assert_eq!(win_msgbox::show::<Okay>(w!("Hello World")), Ok(Okay));
}