Carbon


NSLCancelRequest

Header: NSL.h Carbon status: Supported

Cancels an ongoing lookup.

NSLError NSLCancelRequest (
    NSLRequestRef ref
);
Parameter descriptions
ref

On input, the NSLRequestRef obtained by previously calling NSLPrepareRequest for the lookup that is to be canceled.

function result

If the value of NSLError.theErr is noErr, the request was canceled successfully. Other possible values are kNSLNotInitialized and kNSLBadReferenceErr.

DISCUSSION

The NSLCancelRequest function cancels an ongoing lookup. Any outstandingI/O is also canceled.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)