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


IsMPPOpen

The IsMPPOpen function determines and reports whether or not the .MPP driver is loaded and running.

FUNCTION IsMPPOpen: Boolean;
DESCRIPTION
If the .MPP driver is open, the IsMPPOpen function returns a value of TRUE; if the
.MPP driver is not open, it returns FALSE. If you want to obtain a node ID in the server range, you can request the assignment only when you first open the .MPP driver. In
this case, you can use the IsMPPOpen function to determine if the .MPP driver has already been opened.

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


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996