Bewerken

Delen via


NdisMFlushLog function (ndis.h)

NdisMFlushLog clears the log file.

Syntax

void NdisMFlushLog(
  [in] NDIS_HANDLE LogHandle
);

Parameters

[in] 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

Requirement Value
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(ndis)

See also

NdisMCloseLog

NdisMCreateLog

NdisMWriteLogData

NdisReleaseSpinLock