![]() |
DTPBRec |
Header: Files.h |
The desktop database functions use the desktop parameter block, a data structure of type DTPBRec.
struct DTPBRec { QElemPtr qLink; SInt16 qType; SInt16 ioTrap; Ptr ioCmdAddr; IOCompletionUPP ioCompletion; volatile OSErr ioResult; StringPtr ioNamePtr; SInt16 ioVRefNum; SInt16 ioDTRefNum; SInt16 ioIndex; SInt32 ioTagInfo; Ptr ioDTBuffer; SInt32 ioDTReqCount; SInt32 ioDTActCount; SInt8 ioFiller1; SInt8 ioIconType; SInt16 ioFiller2; SInt32 ioDirID; OSType ioFileCreator; OSType ioFileType; SInt32 ioFiller3; SInt32 ioDTLgLen; SInt32 ioDTPyLen; SInt16 ioFiller4[14]; SInt32 ioAPPLParID; }; typedef DTPBRec DTPBPtr;
The next queue entry.
The queue type.
The function trap.
The function address.
A completion function.
A result code.
The file, directory, or volume name.
The volume reference number.
The desktop database reference number.
The index into icon list.
The tag information.
The data buffer.
The requested length of data.
The actual length of data.
Unused.
The icon type.
Unused.
The parent directory ID.
The file creator.
The file type.
Unused.
The logical length of desktop database.
The physical length of desktop database.
Unused.
The parent directory ID of application.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)