#ifndef _NTUSER_H
// rev
/**
* The NtUserCreateWindowStationEx routine creates a new window station object with extended attributes.
*
* \param ObjectAttributes Pointer to an OBJECT_ATTRIBUTES structure specifying the window station object attributes.
* \param DesiredAccess The type of access to the window station.
* \param KeyboardLayoutHandle Optional handle to the keyboard layout.
* \param KeyboardLayoutOffset Optional offset to the keyboard layout data.
* \param NlsTableOffset Optional offset to the NLS table data.
* \param KeyboardDescriptor Optional pointer to the keyboard descriptor.
* \param LanguageIdString Optional pointer to a UNICODE_STRING containing the language ID.
* \param KeyboardLocale Optional keyboard locale identifier.
* \param Flags Window station creation flags (combination of CREATE_WINDOW_STATION_FLAGS).
* \returns A handle to the created window station, or NULL on failure. Argument mapping confirmed
* from user32!CommonCreateWindowStation and win32kfull!EditionCreateWindowStationEntryPointEx.
*/
_Kernel_entry_
NTSYSCALLAPI
HWINSTA
NTAPI
NtUserCreateWindowStationEx(
_In_ POBJECT_ATTRIBUTES ObjectAttributes,
_In_ ACCESS_MASK DesiredAccess,
_In_opt_ HANDLE KeyboardLayoutHandle,
_In_opt_ ULONG KeyboardLayoutOffset,
_In_opt_ ULONG NlsTableOffset,
_In_opt_ PVOID KeyboardDescriptor,
_In_opt_ PCUNICODE_STRING LanguageIdString,
_In_opt_ ULONG KeyboardLocale,
_In_ ULONG Flags
);
View code on GitHubNo description available.