CreateWindowStationA method

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

Implementation

ffi.Pointer<HWINSTA__> CreateWindowStationA(
  ffi.Pointer<ffi.Int8> lpwinsta,
  int dwFlags,
  int dwDesiredAccess,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpsa,
) {
  return (_CreateWindowStationA ??= _dylib.lookupFunction<
      _c_CreateWindowStationA,
      _dart_CreateWindowStationA>('CreateWindowStationA'))(
    lpwinsta,
    dwFlags,
    dwDesiredAccess,
    lpsa,
  );
}