Enumerates all window stations in the current session
#include <WinAPISys.au3>
_WinAPI_EnumWindowStations ( )
Success: | The array of the window station names. The zeroth array element contains the number of window station. |
Failure: | Sets the @error flag to non-zero. |
The _WinAPI_EnumWindowStations() enumerates only those window stations for which the calling process has the
$WINSTA_ENUMERATE access right.
Search EnumWindowStations in MSDN Library.
#include <Array.au3>
#include <WinAPISys.au3>
Local $aData = _WinAPI_EnumWindowStations()
_ArrayDisplay($aData, '_WinAPI_EnumWindowStations')