Function Reference


_WinAPI_GetProcessName

Retrieves the name for the specified process

#include <WinAPIProc.au3>
_WinAPI_GetProcessName ( [$iPID = 0] )

Parameters

$iPID [optional] The PID of the process. Default (0) is the current process.

Return Value

Success: The process name.
Failure: Empty string and sets the @error flag to non-zero.