Compaq TP DESKTOP CONNECTOR AAPVNFGTE User Manual

Page 37

Advertising
background image

acmsdi_cancel

reserved

Type:
Access:
Mechanism:
This parameter is reserved for future use. Specify as NULL.

completion_status

Type: long int
Access: write
Mechanism: by reference
Optional parameter to contain the final completion status of the service.
The completion_status is set to ACMSDI_PENDING when the service starts
successfully. When the service is successful, completion_status is set to 0.

completion_routine

Type: function address

1

Access: read
Mechanism: by value
Address of a function to be called when the service completes. The completion_
routine
is called by the ACMSDI_DISPATCH_MESSAGE service when the
appropriate reply is received from the TP Desktop Connector gateway on the
OpenVMS system.

call_context

Type: void*
Access: read
Mechanism: by value
Optional parameter that is passed to the completion_routine to identify the
call. You can use this to supply application-specific context for the call that is
being canceled.

Return Status

The status values returned by the acmsdi_cancel service are listed in
Table 2–3.

1

For nonblocking only, see Section 2.3. Not applicable to forced nonblocking and will
cause an error if supplied.

TP Desktop Connector Portable API Client Services 2–19

Advertising