Getting Information About the URL Access Manager


Mac OS X header: Carbon/Carbon.h
Mac OS 9 header: URLAccess.h


Getting Information About the URL Access Manager Functions
URLAccessAvailable Determines whether the URL Access Manager is installed and available.
URLGetURLAccessVersion Determines the version of URL Access Manager installed on the user’s system.


URLAccessAvailable

Carbon status: Under evaluation

Determines whether the URL Access Manager is installed and available.

Boolean URLAccessAvailable ();
function result

A Boolean value indicating whether the URL Access Manager is available. If true, your application can call URL Access Manager functions. In Mac OS X, URLAccessAvailable is always available.

Discussion

You should call the URLAccessAvailable function to determine whether the URL Access Manager is available before calling any other URL Access Manager functions. The URL Access Manager is part of Carbon Library 1.0.2, but is not currently part of Carbon.framework on Mac OS X. As a result, in Mac OS X, you must explicitly add URLAccess.framework to your project.


URLGetURLAccessVersion

Carbon status: Supported

Determines the version of URL Access Manager installed on the user’s system.

OSStatus URLGetURLAccessVersion (
    UInt32 *returnVers
);
Parameter descriptions
returnVers

On return, a pointer to the version number of the URL Access Manager installed on the user’s system.

function result

A result code.

Availability

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


© 2001 Apple Computer, Inc. (Last Updated July 21, 2001)