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


AcquireICInstance

Opens an Internet Config session.

ICError AcquireICInstance (out ICInstance inst, 
in ODOSType creator);
inst
The connection instance for all subsequent calls to Internet Config.
creator
The creator that uniquely identifies your display part.
return value
An Internet Config error code.
DISCUSSION
You call this method to retrieve an ICInstance object instead of calling the Internet Config functions ICStart and ICFindConfigFile. One connection instance is required per creator. Cyberdog needs to maintain a list of all the ICInstance objects in use so that when the SetConfigReference method is called, it can redirect the ICInstance objects to the new file. See InternetConfig.h for the list of possible Internet Config error codes that may be returned.

Do not subclass this class.

SEE ALSO
The SetConfigReference method (page 373).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996