CreateDesktopA method

Pointer<HDESK__> CreateDesktopA(
  1. Pointer<Int8> lpszDesktop,
  2. Pointer<Int8> lpszDevice,
  3. Pointer<LPDEVMODEA> pDevmode,
  4. int dwFlags,
  5. int dwDesiredAccess,
  6. Pointer<LPSECURITY_ATTRIBUTES> lpsa,
)

Implementation

ffi.Pointer<HDESK__> CreateDesktopA(
  ffi.Pointer<ffi.Int8> lpszDesktop,
  ffi.Pointer<ffi.Int8> lpszDevice,
  ffi.Pointer<LPDEVMODEA> pDevmode,
  int dwFlags,
  int dwDesiredAccess,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpsa,
) {
  return (_CreateDesktopA ??=
      _dylib.lookupFunction<_c_CreateDesktopA, _dart_CreateDesktopA>(
          'CreateDesktopA'))(
    lpszDesktop,
    lpszDevice,
    pDevmode,
    dwFlags,
    dwDesiredAccess,
    lpsa,
  );
}