Important: The information in this document is obsolete and should not be used for new development.
PBDTOpenInform
ThePBDTOpenInform
function performs the same function asPBDTGetPath
, but it also reports whether the desktop database was empty when it was opened.
FUNCTION PBDTOpenInform (paramBlock: DTPBPtr): OSErr;
paramBlock
- A pointer to a desktop parameter block.
\xAE ioResult OSErr The result code of the function. --> ioNamePtr StringPtr A pointer to the volume name or full pathname of the desktop database. --> ioVRefNum Integer The volume reference number of the desktop database. \xAE ioDTRefNum Integer The desktop database reference number. \xAE ioTagInfo LongInt The return flag (in low bit). DESCRIPTION
If the desktop database was just created in response toPBDTOpenInform
(and is therefore empty),PBDTOpenInform
sets the low bit in theioTagInfo
field to 0. If the desktop database had been created before you calledPBDTOpenInform
,PBDTOpenInform
sets the low bit in theioTagInfo
field to 1.RESULT CODES