PBDTCloseDown
PBDTCloseDown Close desktop database
#include <Files.h> Finder Interface
OSErr PBDTCloseDown(paramBlock);
DTPBPtr paramBlock ; pointer to a DTPB Param Block
The PBDTCloseDown function is used by system software to close the
desktop database, though your application should never do this itself.
PBDTCloseDown runs synchronously only, and though it will not close down
the desktop databases of remote volumes, it will invalidate all local
ioDTRefNum values for remote desktop databases.
Parameter block
۬ 16 ioResult short result code
ۮ 24 ioDTRefNum short desktop database reference number
PBDTCloseDown closes the database specified in ioDTRefNum and frees all
resources allocated by PBDTOpenInform or PBDTGetPath.
Warning: Applications should not call PBDTCloseDown. The system
software closes the database when the volume is unmounted.
Returns: an Error code. It will be one of the following:
noEff (0) No error
ioErr (-36) I/O error
rfNumErr (-51) Reference number invalid
extFSErr (-58) External file system-file system identifier is nonzero