CreateDesktopW method

Pointer<HDESK__> CreateDesktopW(
  1. Pointer<Uint16> lpszDesktop,
  2. Pointer<Uint16> lpszDevice,
  3. Pointer<LPDEVMODEW> pDevmode,
  4. int dwFlags,
  5. int dwDesiredAccess,
  6. Pointer<LPSECURITY_ATTRIBUTES> lpsa,
)

Implementation

ffi.Pointer<HDESK__> CreateDesktopW(
  ffi.Pointer<ffi.Uint16> lpszDesktop,
  ffi.Pointer<ffi.Uint16> lpszDevice,
  ffi.Pointer<LPDEVMODEW> pDevmode,
  int dwFlags,
  int dwDesiredAccess,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpsa,
) {
  return (_CreateDesktopW ??=
      _dylib.lookupFunction<_c_CreateDesktopW, _dart_CreateDesktopW>(
          'CreateDesktopW'))(
    lpszDesktop,
    lpszDevice,
    pDevmode,
    dwFlags,
    dwDesiredAccess,
    lpsa,
  );
}