PBDTCloseDown
DTPBPtr paramBlock ; pointer to a DTPB Param Block
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 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