Important: The information in this document is obsolete and should not be used for new development.
IsATPOpen
TheIsATPOpenfunction determines and reports whether or not the .ATP driver is loaded and running.
FUNCTION IsATPOpen: Boolean;DESCRIPTION
If the .ATP driver is open, theIsATPOpenfunction returns a value ofTRUE; if the
.ATP driver is not open, it returnsFALSE. 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
noErr 0 No error SEE ALSO
To open the .ATP driver, you open the .MPP driver. You can use the Device Manager'sOpenDriverfunction 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, theOpenDriverfunction will return the .MPP driver reference number without performing additional processing, and therefore without incurring much additional overhead.For information on the
OpenDriverfunction, see the chapter "Device Manager" in Inside Macintosh: Devices.