This handler is optionally used to implement special actions as a result of calling CancelRtTransaction or DeleteRtPort. It is also called if a transaction is canceled as a result of deleting a port. Implementation is optional, and it need not be implemented for proper operation of CancelRtTransaction. If it is implemented, it must return a status of E_OK in the pExcep parameter for the operation to complete normally.
If implementation is not required, the pCancelTransaction field of the SERVICEDESC structure should be set to NULL.
void CancelTransaction(
LPSERVICEDESC pService,
RTHANDLE hPort,
WORD wTransID,
LPWORD pExcep
);
Return status code in pExcep.
RT Service handlers, CancelRtTransaction, DeleteRtPort, SERVICEDESC