Guardian Programming Reference Summary for C

Functions Summary (O-Q)
Guardian Programming Reference Summary for C522630-001
7-28
options
PROCESSHANDLE_TO_STRING_
Converts a process handle to the equivalent process string.
named-form
PROCESSINFO
(superseded by PROCESS_GETINFO_ and PROCESS_GETINFOLIST_) Obtains
process status information.
This procedure does not have a C syntax, because it is superseded and should not be
used for new development. This procedure is supported only for compatibility with
previous software.
Bits 0-14 Not currently used (specify 0).
Bit 15 For named processes: if set, specifies that the sequence number not be
included in filename for a named process.
#include <cextdecs(PROCESSHANDLE_TO_STRING_)>
short PROCESSHANDLE_TO_STRING_( short *processhandle /* i */
,char *process-string /* o */
,short maxlen /* i */
,short *process-string-length /* o */
,[ char *nodename ] /* i */
,[ short length ] /* i */
,[ short named-form ] ); /* i */
0 = Return process name if possible; if it is unavailable, return cpu,pin form.
1 = Return process name; if it is unavailable, report the error.
2=Return cpu,pin form in all cases.