The ClfsFlushToLsn routine forces, to stable storage, all records that have an LSN less than or equal to a specified LSN.
CLFSUSER_API NTSTATUS ClfsFlushToLsn( PVOID pvMarshalContext, PCLFS_LSN plsnFlush, PCLFS_LSN plsnLastFlushed );
A pointer to an opaque context associated with a marshalling area. The caller previously obtained this pointer by calling ClfsCreateMarshallingArea.
A pointer to a CLFS_LSN structure. All records that have an LSN less than or equal to plsnFlush are guaranteed to be forced to stable storage. If plsnFlush is equal to CLFS_LSN_NULL, then all records in the marshalling area are forced to stable storage.
A pointer to a CLFS_LSN structure that receives the LSN of the oldest record that was not flushed. This is the LSN of the record immediately following the last record flushed.
ClfsFlushToLsn returns STATUS_SUCCESS if it succeeds; otherwise, it returns one of the error codes defined in Ntstatus.h.
For an explanation of CLFS concepts and terminology, see Common Log File System.
|Windows version||Available in Windows Server 2003 R2, Windows Vista, and later versions of Windows.|
|Header||wdm.h (include Wdm.h)|