#ifndef _WINSTA_H
// rev
NTSYSAPI
BOOLEAN
NTAPI
WinStationSetInformationW(
_In_opt_ HANDLE ServerHandle,
_In_ ULONG SessionId,
_In_ WINSTATIONINFOCLASS WinStationInformationClass,
_In_reads_bytes_(WinStationInformationLength) PVOID pWinStationInformation,
_In_ ULONG WinStationInformationLength
);
View code on GitHub
This function is a wrapper over an RPC method documented in the [MS-TSTS] specification.