Retrieves the fully-qualified path for the file containing the specified module.
#Include <WinAPIEx.au3>
_WinAPI_GetModuleFileNameEx ( $hProcess [, $hModule] )
$hProcess | Handle to the process that contains the module. The handle must have the $PROCESS_QUERY_INFORMATION or $PROCESS_QUERY_LIMITED_INFORMATION access right and the $PROCESS_VM_READ access right. |
$hModule | [可选参数] Handle to the module. If this parameter is 0, the function retrieves the path of the executable file of the process. |
Success | The fully-qualified path to the module. |
Failure | Empty string and sets the @error flag to non-zero. |
在MSDN中搜索