ATPRspCancel
ATPRspCancel Dequeue a call
#include <AppleTalk.h> AppleTalk Manager
OSErr ATPRspCancel(abRecord , async);
ATATPRecHandle abRecord; handle to an ATATPRec
Boolean async ; 0=await completion; 1=immediate return
returns Error Code; 0=no error
ATPRspCancel is part of the AppleTalk alternate interface. It is
recommended that you use the preferred call, PRelRspCB instead.
ATPRspCancelde queues an ATPSndRsp or ATPResponse call.
abRecord is a handle to an ATATPRec structure
async is a Boolean value. Use FALSE for normal ( synchronous) operation
or TRUE to enqueue the request and resume control immediately. See
Async I/O.
Returns: an operating system Error Code. It will be one of:
noErr (0) No error
cbNotFound (-1102) ATP Control Block not found

Notes: Given the handle to the ATATPRec of a previously made ATPSndRsp or
ATPResponse call, ATPRspCancel de queues the ATPSndRsp or
ATPResponse call, provided that the call has not already completed.
ATPRspCancel returns noErr if the ATPSndRsp or ATPResponse call
is successfully removed from the queue. If it returns cbNotFound, check
the abResult field of abRecord to verify that the ATPSndRsp or
ATPResponse call has completed and determine its outcome.