检查一个变量基本类型是否是一个窗口句柄或者指针类型.
IsHWnd ( 变量 )
| 变量 | 需要检查的变量/表达式. | 
| 成功: | 返回 1 ,如果表达式是一个指针类型和有效的窗口句柄.(这里和应该为或,应该是官方口误) | 
| 失败: | 返回 0 ,如果表达式不是一个指针或者不是一个有效的窗口句柄. | 
Example()
Func Example()
    ; Run Notepad
    Run("notepad.exe")
    ; Wait 10 seconds for the Notepad window to appear.
    Local $hWnd = WinWait("[CLASS:Notepad]", "", 10)
    ; Test if the window was found and display the results.
    If IsHWnd($hWnd) Then
        MsgBox(4096, "", "It's a valid HWND")
    Else
        MsgBox(4096, "", "It's not a valid HWND")
    EndIf
EndFunc   ;==>Example