Important: The information in this document is obsolete and should not be used for new development.
PBDTReset
ThePBDTReset
function removes information from the desktop database. Unless you are manipulating the desktop database in the absence of the Finder, you should never use this function.
FUNCTION PBDTReset (paramBlock: DTPBPtr; async: Boolean): OSErr;
paramBlock
- A pointer to a desktop parameter block.
async
- A Boolean value that specifies asynchronous (
TRUE
) or synchronous (FALSE
) execution.
--> ioCompletion ProcPtr A pointer to a completion routine. \xAE ioResult OSErr The result code of the function. --> ioDTRefNum Integer The desktop database reference number. --> ioIndex Integer Reserved; must be set to 0. DESCRIPTION
ThePBDTReset
function removes all icons, application mappings, and comments from the desktop database specified inioDTRefNum
. You can callPBDTReset
only when the database is open. It remains open after the data is cleared.
- IMPORTANT
- Your application should never call
PBDTReset
.RESULT CODES