Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberSession


SetConfigReference

Sets the Internet configuration specification.

ICError SetConfigReference (in ICConfigRefHandle ref, 
in long flags);
ref
A reference to the new Internet configuration specification.
flags
A set of flags whose values control the specification-setting operation, expressed as a 32-bit integer.
return value
An Internet Config error code.
DISCUSSION
You call this method to set the Internet configuration specification to be used by your Cyberdog session. All ICInstance objects instantiated by the AcquireICInstance method will reference this new specification. You are responsible for allocating and deallocating the ICConfigRefHandle object.

You can set the icNoUserInteraction_bit flag in the flags parameter to prevent Internet Config from displaying a modal dialog box to the user during this operation. See InternetConfig.h for the list of possible Internet Config error codes that may be returned.

Do not subclass this class.

SEE ALSO
The AcquireICInstance method (page 350).
The GetConfigReference method (page 360).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996