Carbon


URLNewReference

Header: URLAccess.h Carbon status: Supported

Creates a URL reference.

OSStatus URLNewReference (
    const char *url, 
    URLReference *urlRef
);
Parameter descriptions
url

A pointer to a C string representing the name of the URL you want to create.

urlRef

On return, a pointer to the newly-created URL reference.

function result

A result code.

DISCUSSION

The URLNewReference function creates a URL reference that you can use in subsequent calls to the URL Access Manager. When you no longer need a URL reference, you should dispose of its memory by calling the function URLDisposeReference.

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)