NdisMCloseLog function

NdisMCloseLog releases resources that were used for logging.

Syntax

void NdisMCloseLog(
  NDIS_HANDLE LogHandle
);

Parameters

LogHandle

Specifies the handle returned by NdisMCreateLog.

Return Value

None

Remarks

NdisMCloseLog closes the temporary log file allocated by NdisMCreateLog and releases all resources associated with the driver's logging operations when a miniport driver is unloading.

Requirements

   
Minimum supported client Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisMCloseLog (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisMCloseLog (NDIS 5.1)) in Windows XP.
Target Platform Universal
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL PASSIVE_LEVEL

See Also

MiniportHaltEx

NdisMCreateLog

NdisMFlushLog

NdisMWriteLogData