关闭此前打开的DLL文件.
DllClose ( dll句柄 )
dll句柄 | 目标 DLL 的句柄,可由此前调用 DllOpen 函数的返回值获得. |
Local $dll = DllOpen("user32.dll")
Local $result
$result = DllCall($dll, "int", "MessageBoxW", "hwnd", 0, "wstr", "若干文本", "wstr", "若干标题", "int", 0)
$result = DllCall($dll, "int", "MessageBoxA", "hwnd", 0, "str", "若干文本", "str", "若干标题", "int", 0)
$result = DllCall($dll, "int", "MessageBox", "hwnd", 0, "str", "若干文本", "str", "若干标题", "int", 0)
DllClose($dll)