GetDriverDiskFragment loads a native driver from a file.
OSErr GetDriverDiskFragment(
FSSpecPtr fragmentSpec,
CFragConnectionID *fragmentConnID,
DriverEntryPointPtr *fragmentMain,
DriverDescriptionPtr driverDesc);
Given a pointer to a CFM container file system specification, GetDriverDiskFragment uses the CFM to find and load a driver code fragment. It returns the loaded driver's CFM connectionID value in fragmentConnID, a pointer to its DoDriverIO entry point in fragmentMain, and a pointer to its driver description in driverDesc.
noErr
|
0 | No error |
fnfErr
|
-43 | File not found |
All CFM errors (see Inside Macintosh: PowerPC System Software) |