Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-213
PROCESSHANDLE_DECOMPOSE_ Procedure
PROCESSHANDLE_DECOMPOSE_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Related Programming Manual
Summary
The PROCESSHANDLE_DECOMPOSE_ procedure returns one or more parts of a
process handle.
Syntax for C Programmers
The character-string parameters nodename and procname are each followed by a
parameter
maxlen that specifies the maximum length in bytes of the character string
and an additional parameter that returns the actual length of the string. In each case,
the character-string parameter and the two parameters that follow it must either all be
supplied or all be absent.
Note. In the TNS/E environment the CEXTDECS file uses the int data type for 32-bit values.
This is a change from the TNS and TNS/R environments where CEXTDECS uses the long
data type for 32-bit values.
#include <cextdecs(PROCESSHANDLE_DECOMPOSE_)>
short PROCESSHANDLE_DECOMPOSE_ (
short *processhandle
,[ short *cpu ]
,[ short *pin ]
,[ __int32_t *nodenumber ]
,[ char *nodename ]
,[ short maxlen ]
,[ short *nodename-length ]
,[ char *procname ]
,[ short maxlen ]
,[ short *procname-length ]
,[ long long *sequence-number ] );