Important: The information in this document is obsolete and should not be used for new development.
PBDTDeletefunction removes the desktop database. Unless you are manipulating the desktop database in the absence of the Finder, you should never use this function.
FUNCTION PBDTDelete (paramBlock: DTPBPtr; async: Boolean): OSErr;
- A pointer to a desktop parameter block.
- A Boolean value that specifies asynchronous (
TRUE) or synchronous (
--> ioCompletion ProcPtr A pointer to a completion routine. \xAE ioResult OSErr The result code of the function. --> ioVRefNum Integer The volume reference number of the desktop database. --> ioIndex Integer Reserved; must be set to 0.
PBDTDeletefunction removes the desktop database from a local volume. You specify the volume by passing a volume reference number in
ioVRefNum. You can call
PBDTDeleteonly when the database is closed.
- Your application should never call
noErr 0 No error ioErr -36 I/O error wPrErr -44 Volume is locked through hardware vLckdErr -46 Volume is locked through software rfNumErr -51 Reference number invalid extFSErr -58 External file system--file system identifier is nonzero