#include <Files.h>
typedef struct { Size Offset Description
QElemPtr qLink; 0 4 Address of next queue element (0=last)
short qType; 2 4 Always ioQType (2)
short ioTrap; 2 6 (used internally by File Manager)
Ptr ioCmdAddr; 4 8 (used internally by File Manager) ProcPtr ioCompletion; 4 12 Completion routine address (see Async I/O)
yet, ...)
StringPtr ioNamePtr; 4 18 Address of p-string of current filename
short ioVRefNum; 2 22 Volume or working directory
reference
short filler1; 2 24 (not used)
short ioWDIndex; 2 26 Index (for indexed searches)
long ioWDProcID; 4 28 Working dir user ref (app's signature
or 0)
short ioWDVRefNum; 2 32 Volume in which working dir is
located
short filler2[7]; 14 34 (not used)
long ioWDDirID; 4 48 Working directory's directory ID
typedef WDPBRec *WDPBPtr;