CtreeFlushFileXtd Flush cache for specific files and groups of files. Short Name CTFLUSHX() Type Function Declaration LONG CtreeFlushFileXtd(COUNT filno, NINT mode, LONG parm) Description CtreeFlushFileXtd() extends CtreeFlushFile() with mode and parm values to allow applications to flush cache for specific files and groups of files. Calling CtreeFlushFileXtd() with mode and parm set to zero is identical to calling CtreeFlushFile(filno). The following mode options may be appropriately mixed and matched:
Not all combinations of these modes make sense. CtreeFlushFileXtd() eliminates conflicting modes before attempting the flush. For example, supplying a valid filno and then specifying ctFLUSHX_TRAN, ctFLUSHX_NONTRAN, ctFLUSHX_SYSALL, and/or ctFLUSHX_USRALL is inconsistent. In this case the filno is used and the conflicting mode option is ignored. Return CtreeFlushFileXtd() returns the handle, a positive LONG value, associated with a successfully launched asynchronous thread (if mode contains ctFLUSHX_ASYNC), NO_ERROR if CtreeFlushFileXtd() completes successfully (no thread launched), or a negative error code in the case of a problem. Limitations The only option available with stand-alone applications is ctFLUSHX_ISAM. See also CtreeFlushFile() |
|||||||||||||||||||||||