OpenDesktopW method

Pointer<HDESK__> OpenDesktopW(
  1. Pointer<Uint16> lpszDesktop,
  2. int dwFlags,
  3. int fInherit,
  4. int dwDesiredAccess,
)

Implementation

ffi.Pointer<HDESK__> OpenDesktopW(
  ffi.Pointer<ffi.Uint16> lpszDesktop,
  int dwFlags,
  int fInherit,
  int dwDesiredAccess,
) {
  return (_OpenDesktopW ??= _dylib
      .lookupFunction<_c_OpenDesktopW, _dart_OpenDesktopW>('OpenDesktopW'))(
    lpszDesktop,
    dwFlags,
    fInherit,
    dwDesiredAccess,
  );
}