CreateDesktopExA method

Pointer<HDESK__> CreateDesktopExA(
  1. Pointer<Int8> lpszDesktop,
  2. Pointer<Int8> lpszDevice,
  3. Pointer<LPDEVMODEA> pDevmode,
  4. int dwFlags,
  5. int dwDesiredAccess,
  6. Pointer<LPSECURITY_ATTRIBUTES> lpsa,
  7. int ulHeapSize,
  8. Pointer<Void> pvoid,
)

Implementation

ffi.Pointer<HDESK__> CreateDesktopExA(
  ffi.Pointer<ffi.Int8> lpszDesktop,
  ffi.Pointer<ffi.Int8> lpszDevice,
  ffi.Pointer<LPDEVMODEA> pDevmode,
  int dwFlags,
  int dwDesiredAccess,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpsa,
  int ulHeapSize,
  ffi.Pointer<ffi.Void> pvoid,
) {
  return (_CreateDesktopExA ??=
      _dylib.lookupFunction<_c_CreateDesktopExA, _dart_CreateDesktopExA>(
          'CreateDesktopExA'))(
    lpszDesktop,
    lpszDevice,
    pDevmode,
    dwFlags,
    dwDesiredAccess,
    lpsa,
    ulHeapSize,
    pvoid,
  );
}