winapi::um::winreg

Function InitiateSystemShutdownExA

Source
pub unsafe extern "system" fn InitiateSystemShutdownExA(
    lpMachineName: LPSTR,
    lpMessage: LPSTR,
    dwTimeout: DWORD,
    bForceAppsClosed: BOOL,
    bRebootAfterShutdown: BOOL,
    dwReason: DWORD,
) -> BOOL