Previous Next

NdisMFlushLog

NdisMFlushLog clears the log file.

VOID
  NdisMFlushLog(
    IN NDIS_HANDLE  LogHandle
    );

Parameters

LogHandle
Specifies the handle returned by NdisMCreateLog.

Headers

Declared in Ndis.h. Include Ndis.h.

Comments

NdisMFlushLog resets the position pointers within the log file to the start of the file.

The driver must release any spin lock it is holding before calling NdisMFlushLog.

Callers of NdisMFlushLog can be running at IRQL <= DISPATCH_LEVEL.

See Also

NdisMCloseLog, NdisMCreateLog, NdisMWriteLogData, NdisReleaseSpinLock