PKillNBP
PKillNBP Kill a PLookUpName, PRegisterName, or PConfirmName
#include <AppleTalk.h> AppleTalk Manager
OSErr PKillNBP( thePBptr, async);
ATPPBPtr thePBptr; pointer to an ATPParamBlock structure
Boolean async; 0=await completion; 1=immediate return
returns Error Code; 0=no error
PKillNBP aborts an outstanding PLookUpName, PRegisterName, or
PConfirmName request.
thePBptr is a pointer to an ATPParamBlock structure. The relevant fields are
as follows:
Out-InName Type Size Offset Description
Æ csCode short 2 26 Always PKillNBP
Æ aKillQEl Ptr 1 28 Pointer to a queue element
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) aKIllQEl does not point to a valid NBP queue element

Notes: PKillNBP will abort an outstanding PLookUpName, PRegisterName,
or PConfirmName request. To abort one of these calls, place a pointer to
the queue element of the call to abort in aKillQEl and issue the PKillNBP
call. The call will be completed with a reqAborted error.