PBGetVolMountInfoSize
the volume-mounting record.
pb is a pointer to a IOParam structure.The relevant fields are as follows:
Æ ioCompletion ProcPtr 4 12 Completion routine address (if async =TRUE) ¨ ioResult short 2 16 Error Code (0=no error, 1=not done yet)
Æ ioVRefNum short 2 22 Volume or working directory reference
Æ ioBuffer Ptr 4 32 pointer to storage for size (4 bytes of storage) 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
the size of the record needed to hold the volume's mounting information.
After ascertaining the size of the record needed and allocating storage, you
the information needed to mount the volume, except for passwords. You can
later pass this record to the PBVolumeMount function to mount the volume.