InitiateSystemShutdownA method
Implementation
int InitiateSystemShutdownA(
ffi.Pointer<ffi.Int8> lpMachineName,
ffi.Pointer<ffi.Int8> lpMessage,
int dwTimeout,
int bForceAppsClosed,
int bRebootAfterShutdown,
) {
return (_InitiateSystemShutdownA ??= _dylib.lookupFunction<
_c_InitiateSystemShutdownA,
_dart_InitiateSystemShutdownA>('InitiateSystemShutdownA'))(
lpMachineName,
lpMessage,
dwTimeout,
bForceAppsClosed,
bRebootAfterShutdown,
);
}