Important: The information in this document is obsolete and should not be used for new development.
PBDTFlush
To save your changes to the desktop database, use thePBDTFlush
function.
FUNCTION PBDTFlush (paramBlock: DTPBPtr; async: Boolean): OSErr;
paramBlock
- A pointer to a desktop parameter block.
async
- A Boolean value that specifies asynchronous (
TRUE
) or synchronous (FALSE
) execution.
--> ioCompletion ProcPtr A pointer to a completion routine. \xAE ioResult OSErr The result code of the function. --> ioDTRefNum Integer The desktop database reference number. DESCRIPTION
ThePBDTFlush
function writes the contents of the desktop database specified inioDTRefNum
to the volume.
- Note
- If your application has manipulated information in the database using any of the routines described in "Adding to the Desktop Database" or "Deleting Entries From the Desktop Database" beginning on page 9-17 and page 9-20, respectively, you must call
PBDTFlush
to update the copy stored on the volume.RESULT CODES