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