#ifndef _WINSTA_H
// Sessions
// rev
NTSYSAPI
BOOLEAN
NTAPI
WinStationEnumerateW(
_In_opt_ HANDLE ServerHandle,
_Out_ PSESSIONIDW *SessionIds,
_Out_ PULONG Count
);
View code on GitHub
This function is a wrapper over an RPC method documented in the [MS-TSTS] specification.