CreateDesktopExW method

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

Implementation

ffi.Pointer<HDESK__> CreateDesktopExW(
  ffi.Pointer<ffi.Uint16> lpszDesktop,
  ffi.Pointer<ffi.Uint16> lpszDevice,
  ffi.Pointer<LPDEVMODEW> pDevmode,
  int dwFlags,
  int dwDesiredAccess,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpsa,
  int ulHeapSize,
  ffi.Pointer<ffi.Void> pvoid,
) {
  return (_CreateDesktopExW ??=
      _dylib.lookupFunction<_c_CreateDesktopExW, _dart_CreateDesktopExW>(
          'CreateDesktopExW'))(
    lpszDesktop,
    lpszDevice,
    pDevmode,
    dwFlags,
    dwDesiredAccess,
    lpsa,
    ulHeapSize,
    pvoid,
  );
}