Carbon


URLReleaseBuffer

Header: URLAccess.h Carbon status: Supported

Releases a buffer.

OSStatus URLReleaseBuffer (
    URLReference urlRef, 
    void *buffer
);
Parameter descriptions
urlRef

A reference to the URL whose buffer you want to release.

buffer

A pointer to the buffer you want to release.

function result

A result code.

DISCUSSION

The URLReleaseBuffer function releases the buffer obtained by calling the function URLGetBuffer. To prevent the URL Access Manager from running out of buffers, you should call URLReleaseBuffer after each call to URLGetBuffer.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


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