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: Networking /
Chapter 2 - AppleTalk Utilities / AppleTalk Utilities Reference
Routines / Opening and Closing Drivers


IsATPOpen

The IsATPOpen function determines and reports whether or not the .ATP driver is loaded and running.

FUNCTION IsATPOpen: Boolean;
DESCRIPTION
If the .ATP driver is open, the IsATPOpen function returns a value of TRUE; if the
.ATP driver is not open, it returns FALSE. Because the .MPP driver opens the .ATP driver, this function is seldom used. It is included to provide a complete description
of the AppleTalk programmatic interface.

RESULT CODES
noErr0No error
SEE ALSO
To open the .ATP driver, you open the .MPP driver. You can use the Device Manager's OpenDriver function to ensure that the .MPP driver is open. If the .MPP driver is open, then the .ATP driver is also open. If the .MPP and .ATP drivers are already open, the OpenDriver function will return the .MPP driver reference number without performing additional processing, and therefore without incurring much additional overhead.

For information on the OpenDriver function, see the chapter "Device Manager" in Inside Macintosh: Devices.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996