OpenDesktopA method

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

Implementation

ffi.Pointer<HDESK__> OpenDesktopA(
  ffi.Pointer<ffi.Int8> lpszDesktop,
  int dwFlags,
  int fInherit,
  int dwDesiredAccess,
) {
  return (_OpenDesktopA ??= _dylib
      .lookupFunction<_c_OpenDesktopA, _dart_OpenDesktopA>('OpenDesktopA'))(
    lpszDesktop,
    dwFlags,
    fInherit,
    dwDesiredAccess,
  );
}