PBDTRemoveAPPLSync
DTPBPtr paramBlock ; DTPB Param Block
Boolean async; 0 = await completion; 1 = immediate return Parameter block
ۮ 12 ioCompletion long completion routine
۬ 16 ioResult short result code
ۮ 18 ioNamePtr long pointer to application's name
ۮ 24 ioDTRefNum short desktop database reference number
ۮ 48 ioDirID long application's parent directory
ۮ 52 ioFileCreator long application's signature Your application should not ordinarily call the functions for adding and
removing data to and from the database. If your application does need to write to
or delete information from the desktop database, it must call PBDTFlush to
update the copy stored on the volume.
from the database specified in ioDTRefNum. You specify the application's name
through ioNamePtr, its parent directory ID in ioDirID, and its signature in You can call PBDTRemoveAPPL even if the application is not present on the volume.
Returns: an Error code. It will be one of the following:
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
afpItemNotFound (-5012) Application not found