InitiateSystemShutdownW method
Implementation
int InitiateSystemShutdownW(
ffi.Pointer<ffi.Uint16> lpMachineName,
ffi.Pointer<ffi.Uint16> lpMessage,
int dwTimeout,
int bForceAppsClosed,
int bRebootAfterShutdown,
) {
return (_InitiateSystemShutdownW ??= _dylib.lookupFunction<
_c_InitiateSystemShutdownW,
_dart_InitiateSystemShutdownW>('InitiateSystemShutdownW'))(
lpMachineName,
lpMessage,
dwTimeout,
bForceAppsClosed,
bRebootAfterShutdown,
);
}