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