// wdm.h
CLFSUSER_API NTSTATUS ClfsDeleteLogByPointer(
[in] PLOG_FILE_OBJECT plfoLog
);
View the official Windows Driver Kit DDI reference
No description available.
The ClfsDeleteLogByPointer routine marks a CLFS stream for deletion.
plfoLog
[in]A pointer to a LOG_FILE_OBJECT structure that represents an open instance of the stream to be deleted. The caller previously obtained this pointer by calling ClfsCreateLogFile.
ClfsDeleteLogByPointer returns STATUS_SUCCESS if it succeeds; otherwise, it returns one of the error codes defined in Ntstatus.h.
ClfsDeleteLogByPointer marks a stream for deletion but does not close the log file object pointed to by plfoLog. To close a log file object, call ClfsCloseLogFileObject. A stream marked for deletion is deleted after all log file objects associated with the stream are closed.
A CLFS stream marked for deletion will refuse subsequent requests to open the stream.
For an explanation of CLFS concepts and terminology, see Common Log File System.