Important: The information in this document is obsolete and should not be used for new development.
PBDTRemoveAPPL
To remove an application from the desktop database, call thePBDTRemoveAPPL
function.
FUNCTION PBDTRemoveAPPL (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. --> ioNamePtr StringPtr A pointer to the application's name. --> ioDTRefNum Integer The desktop database reference number. --> ioDirID LongInt The application's parent directory. --> ioFileCreator OSType The application's signature. DESCRIPTION
ThePBDTRemoveAPPL
function removes the mapping information for an application from the database specified inioDTRefNum
. You specify the application's name throughioNamePtr
, its parent directory ID inioDirID
, and its signature inioFileCreator
.You can call
PBDTRemoveAPPL
even if the application is not present on the volume.RESULT CODES