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