Important: The information in this document is obsolete and should not be used for new development.
IsMPPOpen
TheIsMPPOpenfunction determines and reports whether or not the .MPP driver is loaded and running.
FUNCTION IsMPPOpen: Boolean;DESCRIPTION
If the .MPP driver is open, theIsMPPOpenfunction 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 theIsMPPOpenfunction 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'sOpenDriverfunction to ensure that the .MPP driver is open. If it is not,OpenDriverwill open the .MPP driver and return the driver reference number. If the .MPP driver is already open, theOpenDriverfunction will return the reference number without performing additional processing, and therefore without incurring much additional overhead.