Important: The information in this document is obsolete and should not be used for new development.
PBGetVolMountInfoSize
You use thePBGetVolMountInfoSizefunction to determine how much space to allocate for a volume mounting information record.
FUNCTION PBGetVolMountInfoSize (paramBlock: ParmBlkPtr): OSErr;
- paramBlock
- A pointer to a basic File Manager parameter block.
--> ioCompletionLongIntA pointer to a completion routine. <-- ioResultOSErrThe function's result code. --> ioVRefNumIntegerA volume specification. --> ioBufferLongIntA pointer to storage for size. DESCRIPTION
For a specified volume, thePBGetVolMountInfoSizefunction provides the size
of the record needed to hold the volume's mounting information. TheioBuffer
field is a pointer to the size information, which is of typeInteger(2 bytes). IfPBGetVolMountInfoSizereturnsnoErr, that integer contains the size of the
volume mounting information record.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector forPBGetVolMountInfoSizeare
Trap macro Selector _HFSDispatch $003F RESULT CODES
noErr 0 No error nsvErr -35 Volume not found paramErr -50 Parameter error extFSErr -58 External file system error; typically, function
is not available for that volume