Important: The information in this document is obsolete and should not be used for new development.
Opening and Closing Drivers
This section describes the functions that you can use to open the .MPP and .XPP drivers,MPPOpen
andOpenXPP
. The .MPP driver opens the .ATP driver. This section also describes the function that closes the .MPP driver,MPPClose
.The
MPPOpen
andOpenXPP
functions are included to provide a complete description of the AppleTalk programmatic interface. Apple Computer, Inc. recommends that you use the Device Manager'sOpenDriver
function to open the .MPP and .XPP drivers. In addition to opening a driver, theOpenDriver
function returns the driver reference number. If the driver is already open, theOpenDriver
function simply returns the driver reference number. For information on theOpenDriver
function, see the chapter "Device Manager" in Inside Macintosh: Devices.The .MPP, .ATP, and .XPP drivers must always be open before you can use the AppleTalk protocols that they implement. The .MPP driver must be open before you open the .XPP driver. How to open the .DSP driver is described in the chapter "AppleTalk Data Stream Protocol (ADSP)" in this book.
This section also includes the
- WARNING
- Because coresident programs might also be using AppleTalk,
you should not close the AppleTalk drivers.IsMPPOpen
andIsATPOpen
functions that determine if the .MPP and the .ATP drivers are already open.
Subtopics
- MPPOpen
- MPPClose
- IsMPPOpen
- IsATPOpen
- OpenXPP