|
CX Framework
Cross-platform C utility framework
|
#include <process.h>
Data Fields | |
| ProcessID | pid |
| Process id; always present. | |
| ProcessID | ppid |
| Parent process id, or PROCESS_InvalidID if it could not be read. | |
| string | name |
| Process name; always present. | |
| string | exepath |
| Full path to the executable, or empty if it could not be read. | |
One process in a snapshot of the running process list
Follows the Init/Destroy pattern: the struct itself is the caller's, and procInfoDestroy() releases what is inside it without freeing the struct.