JCL Help:GetProcessNameFromPid

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the name of the process which is identified by PID.


Pascal

 function GetProcessNameFromPid(PID: DWORD): string;


Parameters

Parameters Description
PID: DWORD Process identifier of the process whose name to retrieve.


Return Value

If the function succeeds it returns the name of the process, if it fails it returns an empty string.


Description

GetProcessNameFromPid returns the name of the process specified by it's process identifier (PID).


See Also

GetProcessNameFromWnd GetPidFromProcessName


About

Unit

JclSysInfo


Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page