NdisMFlushLog function

NdisMFlushLog clears the log file.

Syntax

void NdisMFlushLog(
  NDIS_HANDLE LogHandle
);

Parameters

LogHandle

Specifies the handle returned by NdisMCreateLog.

Return Value

None

Remarks

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.

Requirements

   
Minimum supported client Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisMFlushLog (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisMFlushLog (NDIS 5.1)) in Windows XP.
Target Platform Universal
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL "<= DISPATCH_LEVEL"
DDI compliance rules Irql_Miniport_Driver_Function

See Also

NdisMCloseLog

NdisMCreateLog

NdisMWriteLogData

NdisReleaseSpinLock