關(guān)閉此前打開過的DLL文件。
DllClose ( dll句柄 )
參數(shù)
dll句柄 | 目標 DLL 的句柄,可由此前調(diào)用 DllOpen 函數(shù)的返回值獲得。 |
返回值
無
注意
若給定的 dll句柄 無效則 AutoIt 將拋出一個運行時錯誤,并且腳本程序?qū)⒔K止!
相關(guān)
DllCall, DllOpen
示例
$dll = DllOpen("user32.dll")
$result = DllCall($dll, "int", "MessageBox", "hwnd", 0, "str", "這是對話框的文本", "str", "這是對話框的標題", "int", 0)
DllClose($dll)