Important: The information in this document is obsolete and should not be used for new development.
PBDTCloseDown
ThePBDTCloseDown
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 localDTRefNum
values for remote desktop databases.
FUNCTION PBDTCloseDown (paramBlock: DTPBPtr): OSErr;
paramBlock
- A pointer to a desktop parameter block.
\xAE ioResult OSErr The result code of the function. --> ioDTRefNum Integer The desktop database reference number. DESCRIPTION
ThePBDTCloseDown
function closes the database specified inioDTRefNum
and frees all resources allocated byPBDTOpenInform
orPBDTGetPath
.
- WARNING
- Applications should not call
PBDTCloseDown
. The system software closes the database when the volume is unmounted.RESULT CODES
noErr 0 No error ioErr -36 I/O error rfNumErr -51 Reference number invalid extFSErr -58 External file system--file system identifier is nonzero