ASAP 1.1 Hybrid Manual
HP NonStop ASAP Hybrid Manual – 529729-004 
Page 4-25 
  A different range of values and possible errors is returned. 
Example 
short ErrorDetail;     // Error detail from call 
short ReturnValue;    // Return value from call 
ReturnValue = ::asap_opstate(Handle,  // Handle from asap_register 
  "Object down",  // Status text; 15 bytes max 
  ASAP_STATE_CRITICAL, // Critical state 
  &ErrorDetail);  // Returned error information 










