ASAP 1.1 Hybrid Manual
HP NonStop ASAP Hybrid Manual – 529729-004 
Page 4-27 
Return Values 
ASAP_ERROR_NONE (0) 
No error. Operation was successful. 
ASAP_ERROR_INVALID_PARAM (-101) 
A parameter was invalid. If specified, *ptr_error_detail contains the incorrect 
parameter number (first param = 1). 
ASAP_ERROR_INVALID_SERVER(-114) 
The currently running version of the asapxserver does not support this capability. 
Note you must be running asapxserver version 1.1.6 or later to use this function. 
Differences from the NonStop ASAPX API 
A different range of values and possible errors is returned. 
Example 
long long LastTime;     // Last sample time 
short  ErrorDetail;     // Error detail from call 
short  ReturnValue;     // Return value from call 
ReturnValue = ::asap_getlastsampletime(Handle,  // Handle from asap_register 
   &LastSample, // Returned last sample time 
    &ErrorDetail); // Returned error information 










