getproc

Description:

With getproc a calling process can retrieve a process information struct (PROCINFO) through its process identification (PID).

Function Prototype:

PROCINFO * getproc (BYTE pid)

Parameters:

pid

PID of the process to receivce the PROCINFO struct pointer for.

Return Values:

A pointer to a PROCINFO struct if the operation was successful. Otherwise the function will return a NULL pointer, the calling process should call then getlasterror to get extended error information.


See also createproc, getlasterror, killproc, isowner, sendsignal, setlasterror