CreateWindowStationW method

Pointer<HWINSTA__> CreateWindowStationW(
  1. Pointer<Uint16> lpwinsta,
  2. int dwFlags,
  3. int dwDesiredAccess,
  4. Pointer<LPSECURITY_ATTRIBUTES> lpsa,
)

Implementation

ffi.Pointer<HWINSTA__> CreateWindowStationW(
  ffi.Pointer<ffi.Uint16> lpwinsta,
  int dwFlags,
  int dwDesiredAccess,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpsa,
) {
  return (_CreateWindowStationW ??= _dylib.lookupFunction<
      _c_CreateWindowStationW,
      _dart_CreateWindowStationW>('CreateWindowStationW'))(
    lpwinsta,
    dwFlags,
    dwDesiredAccess,
    lpsa,
  );
}