InitiateSystemShutdownExA method
Implementation
int InitiateSystemShutdownExA(
ffi.Pointer<ffi.Int8> lpMachineName,
ffi.Pointer<ffi.Int8> lpMessage,
int dwTimeout,
int bForceAppsClosed,
int bRebootAfterShutdown,
int dwReason,
) {
return (_InitiateSystemShutdownExA ??= _dylib.lookupFunction<
_c_InitiateSystemShutdownExA,
_dart_InitiateSystemShutdownExA>('InitiateSystemShutdownExA'))(
lpMachineName,
lpMessage,
dwTimeout,
bForceAppsClosed,
bRebootAfterShutdown,
dwReason,
);
}