检索指定窗口的类名称
#Include <WinAPI.au3>
_WinAPI_GetClassName($hWnd)
| $hWnd | 窗口句柄 | 
| 成功: | 返回窗口的类名称 | |
| 失败: | 设置@error: | 
在MSDN中搜索
#include <WinAPI.au3>
_Main()
Func _Main()
    Local $hwnd
    $hwnd = GUICreate("test")
    MsgBox(4096, "Get ClassName", "ClassName of " & $hwnd & ": " & _WinAPI_GetClassName($hwnd))
EndFunc   ;==>_Main