Home |
Function RTFCommit |
Function RTFCommitRTFCommit immediately flushes all buffers associated with a file to disk: int RTFCommit(RTFHANDLE File); ParametersFileReferences the open file to be committed. return valueIf the function succeeds, the return value is RTF_NO_ERROR. If the function fails, the return value is a negative error code. RTFCommit guarantees that all of the file's data is flushed. If the file was opened with flag RTF_LAZY_DATA, all dirty buffers of the file's drive are flushed. Otherwise, the file's data buffer, directory entry, and the complete FAT are flushed.
|