Important: The information in this document is obsolete and should not be used for new development.
IsMPPOpen
TheIsMPPOpen
function determines and reports whether or not the .MPP driver is loaded and running.
FUNCTION IsMPPOpen: Boolean;DESCRIPTION
If the .MPP driver is open, theIsMPPOpen
function returns a value ofTRUE
; if the
.MPP driver is not open, it returnsFALSE
. 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 theIsMPPOpen
function to determine if the .MPP driver has already been opened.RESULT CODES
noErr 0 No error SEE ALSO
You can also use the Device Manager'sOpenDriver
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, theOpenDriver
function will return the reference number without performing additional processing, and therefore without incurring much additional overhead.