Function windows_sys::Win32::System::Shutdown::InitiateShutdownW
[−]pub unsafe extern "system" fn InitiateShutdownW(
lpmachinename: PWSTR,
lpmessage: PWSTR,
dwgraceperiod: u32,
dwshutdownflags: SHUTDOWN_FLAGS,
dwreason: SHUTDOWN_REASON
) -> u32Expand description
Required features: ‘Win32_System_Shutdown’, ‘Win32_Foundation’