Enumerates all window stations in the current session.
#Include <WinAPIEx.au3>
_WinAPI_EnumWindowStations ( )
None. |
Success | The array of the window station names. The zeroth array element contains the number of window station. |
失败: | 返回 0 并设置 @error 标志为非 0 值. |
在MSDN中搜索
#Include <Array.au3>
#Include <WinAPIEx.au3>
Opt('MustDeclareVars', 1)
Global $Data = _WinAPI_EnumWindowStations()
_ArrayDisplay($Data, '_WinAPI_EnumWindowStations')