// wdm.h
CLFSUSER_API NTSTATUS ClfsSetArchiveTail(
[in] PLOG_FILE_OBJECT plfoLog,
[in] PCLFS_LSN plsnArchiveTail
);
View the official Windows Driver Kit DDI referenceNo description available.
The ClfsSetArchiveTail routine sets the archive tail of a CLFS log to a specified LSN.
plfoLog [in]A pointer to a LOG_FILE_OBJECT structure that represents a CLFS log. The caller previously obtained this pointer by calling ClfsCreateLogFile.
plsnArchiveTail [in]A pointer to a CLFS_LSN structure that specifies the LSN that is to become the new archive tail. This must be the exact LSN of a record in the log.
ClfsSetArchiveTail returns STATUS_SUCCESS if it succeeds; otherwise, it returns one of the error codes defined in Ntstatus.h.
The plsnArchiveTail value specifies where archiving starts in the log. The next archiving will start at or before this LSN.
For an explanation of CLFS concepts and terminology, see Common Log File System.