InitiateShutdownW method
Implementation
int InitiateShutdownW(
ffi.Pointer<ffi.Uint16> lpMachineName,
ffi.Pointer<ffi.Uint16> lpMessage,
int dwGracePeriod,
int dwShutdownFlags,
int dwReason,
) {
return (_InitiateShutdownW ??=
_dylib.lookupFunction<_c_InitiateShutdownW, _dart_InitiateShutdownW>(
'InitiateShutdownW'))(
lpMachineName,
lpMessage,
dwGracePeriod,
dwShutdownFlags,
dwReason,
);
}