Guardian Procedure Errors and Messages Manual

8 PROCESS_GETPAIRINFO_ Errors
The PROCESS_GETPAIRINFO_ procedure retrieves basic information about a process pair. The
caller can specify a process handle or process descriptor, or can search through the named
processes in a given system.
The PROCESS_GETINFO_ procedure must be used when the caller requires only selected information
about a particular process.
Error Codes
This subsection lists each PROCESS_GETPAIRINFO_ procedure error code and provides a description
of each code.
0 NO ERROR
Cause The information returned is for the processes specified.
Effect The information is returned about the specified process pair.
Recovery None required.
2 PARAMETER ERROR
Cause The PROCESS_GETPAIRINFO_ call contained an illegal combination of options.
Effect The procedure sets the error code and returns without performing the requested operation.
Recovery Correct the call to PROCESS_GETPAIRINFO_ so that the options are correct and in the
proper order.
3 BOUNDS ERROR
Cause There was a bounds violation on a reference parameter.
Effect The procedure sets the error code.
Recovery Pass a correct reference address to PROCESS_GETPAIRINFO_.
4 SINGLE NAMED PROCESS
Cause A process pair was requested but only a single named process was found.
Effect Information is returned for the single named process, which can be the caller.
Recovery None.
5 CALLER'S PAIR - CALLER IS CURRENT PRIMARY
Cause The information returned is for the caller's pair, and the caller is the current primary.
Effect Information is successfully returned.
Recovery None required.
6 CALLER'S PAIR - CALLER IS CURRENT BACKUP
Cause The information returned is for the caller's pair, and the caller is the current backup.
192 PROCESS_GETPAIRINFO_ Errors