![]() |
HVolumeParam |
Header: Files.h |
struct HVolumeParam { QElemPtr qLink; SInt16 qType; SInt16 ioTrap; Ptr ioCmdAddr; IOCompletionUPP ioCompletion; volatile OSErr ioResult; StringPtr ioNamePtr; SInt16 ioVRefNum; SInt32 filler2; SInt16 ioVolIndex; UInt32 ioVCrDate; UInt32 ioVLsMod; SInt16 ioVAtrb; UInt16 ioVNmFls; UInt16 ioVBitMap; UInt16 ioAllocPtr; UInt16 ioVNmAlBlks; UInt32 ioVAlBlkSiz; UInt32 ioVClpSiz; UInt16 ioAlBlSt; UInt32 ioVNxtCNID; UInt16 ioVFrBlk; UInt16 ioVSigWord; SInt16 ioVDrvInfo; SInt16 ioVDRefNum; SInt16 ioVFSID; UInt32 ioVBkUp; SInt16 ioVSeqNum; UInt32 ioVWrCnt; UInt32 ioVFilCnt; UInt32 ioVDirCnt; SInt32 ioVFndrInfo[8]; }; typedef HVolumeParam HVolumeParamPtr;
A pointer to the next entry in the file I/O queue. (This field is used internally by the File Manager to keep track of asynchronous calls awaiting execution.)
The queue type. (This field is used internally by the File Manager.)
The trap number of the function that was called. (This field is used internally by the File Manager.)
The address of the function that was called. (This field is used internally by the File Manager.)
A pointer to a completion routine to be executed at the end of an asynchronous call. It should be NULL for asynchronous calls with no completion routine and is automatically set to NULL for all synchronous calls. See IOCompletionProcPtr for information about completion routines.
The result code of the function. For synchronous calls, this field is the same as the result code of the function call itself. To determine when an asynchronous call has actually been completed, your application can poll this field; its set to a positive number when the call is made and receives the actual result code when the call is completed.
A pointer to a pathname. Whenever a function description specifies that ioNamePtr is usedwhether for input, output, or bothits very important that you set this field to point to storage for a Str255 value (if youre using a pathname) or to NULL (if youre not).
A volume specification (volume reference number, working directory reference number, drive number, or 0 for default volume).
Reserved.
An index for use with the PBHGetVInfo function.
The date and time of volume initialization.
The date and time the volume information was last modified. (This field is not changed when information is written to a file and does not necessarily indicate when the volume was flushed.)
The volume attributes.
The number of files in the root directory.
The first block of the volume bitmap.
The block at which the next new file starts. Used internally.
The number of allocation blocks.
The size of allocation blocks.
The clump size.
The first block in the volume map.
The next unused catalog node ID.
The number of unused allocation blocks.
A signature word identifying the type of volume; its $D2D7 for MFS volumes and $4244 for volumes that support HFS calls.
The drive number of the drive containing the volume.
For online volumes, the reference number of the I/O driver for the drive identified by ioVDrvInfo.
The file-system identifier. It indicates which file system is servicing the volume; its zero for File Manager volumes and nonzero for volumes handled by an external file system.
The date and time the volume was last backed up (its 0 if never backed up).
Used internally.
The volume write count.
The total number of files on the volume.
The total number of directories (not including the root directory) on the volume.
Information used by the Finder.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)