InitiateSystemShutdownExW method

int InitiateSystemShutdownExW(
  1. Pointer<Uint16> lpMachineName,
  2. Pointer<Uint16> lpMessage,
  3. int dwTimeout,
  4. int bForceAppsClosed,
  5. int bRebootAfterShutdown,
  6. int dwReason,
)

Implementation

int InitiateSystemShutdownExW(
  ffi.Pointer<ffi.Uint16> lpMachineName,
  ffi.Pointer<ffi.Uint16> lpMessage,
  int dwTimeout,
  int bForceAppsClosed,
  int bRebootAfterShutdown,
  int dwReason,
) {
  return _InitiateSystemShutdownExW(
    lpMachineName,
    lpMessage,
    dwTimeout,
    bForceAppsClosed,
    bRebootAfterShutdown,
    dwReason,
  );
}