// wdm.h
CLFSUSER_API NTSTATUS ClfsSetLogFileInformation(
[in] PLOG_FILE_OBJECT plfoLog,
[in] CLFS_LOG_INFORMATION_CLASS eInformationClass,
[in] PVOID pinfoBuffer,
[in] ULONG cbBuffer
);
View the official Windows Driver Kit DDI referenceNo description available.
The ClfsSetLogFileInformation routine sets metadata and state information for a specified stream and its underlying physical log.
plfoLog [in]A pointer to a LOG_FILE_OBJECT structure that represents a CLFS stream. The caller previously obtained this pointer by calling ClfsCreateLogFile.
eInformationClass [in]A CLFS_LOG_INFORMATION_CLASS value that specifies the class of information being set.
pinfoBuffer [in]A pointer to a buffer that supplies the log information. The structure of this buffer varies according to the class of information specified by eInformationClass. The following table shows the relationship between the information class and the buffer type.
| Value of eInformationClass | Type of buffer pointed to by pinfoBuffer |
|---|---|
| ClfsLogBasicInformation | CLFS_INFORMATION |
| ClfsLogBasicInformationPhysical | CLFS_INFORMATION |
| ClfsLogNameInformation | CLFS_LOG_NAME_INFORMATION |
| ClfsLogPhysicalNameInformation | CLFS_LOG_NAME_INFORMATION |
| ClfsLogStreamIdentifierInformation | CLFS_STREAM_ID_INFORMATION |
cbBuffer [in]The size, in bytes, of the buffer pointed to by pinfoBuffer.
ClfsSetLogFileInformation 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.