OpenWindowStation function user32

int OpenWindowStation(
  1. Pointer<Utf16> lpszWinSta,
  2. int fInherit,
  3. int dwDesiredAccess
)

Opens the specified window station.

HWINSTA OpenWindowStationW(
  LPCWSTR     lpszWinSta,
  BOOL        fInherit,
  ACCESS_MASK dwDesiredAccess
);

Implementation

int OpenWindowStation(
        Pointer<Utf16> lpszWinSta, int fInherit, int dwDesiredAccess) =>
    _OpenWindowStation(lpszWinSta, fInherit, dwDesiredAccess);