// wdm.h
CLFSUSER_API NTSTATUS ClfsQueryLogFileInformation(
[in] PLOG_FILE_OBJECT plfoLog,
[in] CLFS_LOG_INFORMATION_CLASS eInformationClass,
PVOID pinfoInputBuffer,
ULONG cbinfoInputBuffer,
[out] PVOID pinfoBuffer,
PULONG pcbInfoBuffer
);
View the official Windows Driver Kit DDI referenceNo description available.
The ClfsQueryLogFileInformation routine returns metadata and state information for a specified CLFS stream or its underlying physical log or both.
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 value from the CLFS_LOG_INFORMATION_CLASS enumeration that specifies the type of information being requested.
pinfoInputBufferOptional input buffer which is required for some information classes.
cbinfoInputBufferLength in bytes of pinfoInputBuffer.
pinfoBuffer [out]A pointer to a buffer that receives the log information. The structure of this buffer depends on the value of eInformationClass. The following table shows the relationship between the information class and the data type of the buffer.
| 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 |
pcbInfoBufferLength in bytes of the incoming information buffer.
ClfsQueryLogFileInformation 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.