Function windows_sys::Win32::System::Shutdown::InitiateSystemShutdownExA
[−]pub unsafe extern "system" fn InitiateSystemShutdownExA(
lpmachinename: PCSTR,
lpmessage: PCSTR,
dwtimeout: u32,
bforceappsclosed: BOOL,
brebootaftershutdown: BOOL,
dwreason: SHUTDOWN_REASON
) -> BOOL
Expand description
Required features: "Win32_System_Shutdown"
, "Win32_Foundation"