PBDTOpenInform
DTPBPtr paramBlock ; pointer to a DTPB Param Block
also reports whether the desktop database was empty when it was opened.
If the desktop database was just created in response to PBDTOpenInform field to 0. If the desktop database had been created before you called
field to 1.
Parameter block
۬ 16 ioResult short result code
ۮ 18 ioNamePtr long volume name or full pathname
ۮ 22 ioVRefNum short volume reference number
۬ 24 ioDTRefNum short desktop database reference number
۬ 28 ioTagInfo long return flag (in low bit)
Returns: an Error code. It will be one of the following:
noErr (0) No error
ioErr (-36) I/O error
extFSErr (-58) External file system-file-system identifier is nonzero
desktopDamagedErr (-1305) The desktop database has become corrupted-the
Finder will fix this, but if your application is not running with the Finder, use PBDTReset or