函数参考


_WinAPI_EnumWindowStations

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 值.

注意/说明

The _WinAPI_EnumWindowStations() enumerates only those window stations for which the calling process has the
$WINSTA_ENUMERATE access right.

相关

详情参考

在MSDN中搜索


示例/演示


#Include <Array.au3>
#Include <WinAPIEx.au3>

Opt('MustDeclareVars', 1)

Global $Data = _WinAPI_EnumWindowStations()

_ArrayDisplay($Data, '_WinAPI_EnumWindowStations')