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