Important: The information in this document is obsolete and should not be used for new development.
PBMountVol
You can use thePBMountVolfunction to mount a volume.
FUNCTION PBMountVol (paramBlock: ParmBlkPtr): OSErr;
paramBlock- A pointer to a basic FIle Manager parameter block.
<-- ioResultOSErrThe result code of the function. <-> ioVRefNumIntegerOn input, a drive number. On output, the volume reference number. DESCRIPTION
ThePBMountVolfunction mounts the volume in the specified drive. If there are no volumes already mounted, this volume becomes the default volume.Because you specify the volume to be mounted by providing a drive number, you can use
PBMountVolto mount only one volume per disk.The
PBMountVolfunction always executes synchronously.
- Note
- The
PBMountVolfunction opens two files needed for maintaining
file catalog and file mapping information. If no access paths are available for these two files,PBMountVolfails and returnstmfoErr
as its function result.![]()
ASSEMBLY-LANGUAGE INFORMATION
The trap macro forPBMountVolis_MountVol.RESULT CODES