ASAP 1.1 Hybrid Manual
HP NonStop ASAP Hybrid Manual – 529729-004 
Page 4-13 
The handle returned from the call to asap_register. This parameter is required. 
short *ptr_error_detail 
A detailed error code, if any. This parameter is optional. The default value is 
NULL, which means no detailed error code is returned. 
const bool deallocate_ind 
Flag to indicate whether resources should be deallocated for this domain. If the 
domain is being removed as part of application or process shut down, resources 
should be deallocated. If the application is removing a domain but planning to 
reregister it in the near future, resources can remain. This parameter is optional. 
The default value is true, which means that resources will be deallocated. 
Return Values 
ASAP_ERROR_NONE (0) 
No error. Removal 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_SHARED_SEGMENT (-109) 
Could not detach the shared segment. 
ASAP_ERROR_MUTEX (applies to asap_remove_ts only) (-113) 
No mutex was allocated for this domain, or there was an error accessing the 
mutex. The domain is not removed. To remove it, the application must use the 
standard asap_remove call. 
Differences from the NonStop ASAPX API 
  The segment^id parameter has been eliminated. 
  The flags parameter has been replaced by the Boolean parameter 
deallocate_ind, but this parameter still has the same purpose: to indicate 
whether or not resources should be deallocated for the domain. 










