NdisMCloseLog function (ndis.h)

NdisMCloseLog releases resources that were used for logging.

Syntax

void NdisMCloseLog(
  [in] NDIS_HANDLE LogHandle
);

Parameters

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

Requirement Value
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