NdisCloseConfiguration function (ndis.h)

The NdisCloseConfiguration function releases the handle to the registry key that was returned by the NdisOpenConfigurationEx, NdisOpenConfigurationKeyByIndex, or NdisOpenConfigurationKeyByName function.

Syntax

void NdisCloseConfiguration(
  [in] NDIS_HANDLE ConfigurationHandle
);

Parameters

[in] ConfigurationHandle

The handle that the NdisOpenConfigurationEx function returns.

Return value

None

Remarks

This function frees any temporary storage allocated in calls to other NdisXxx functions that required the returned ConfigurationHandle as a parameter.

Requirements

Requirement Value
Minimum supported client Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisCloseConfiguration (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisCloseConfiguration (NDIS 5.1)) in Windows XP.
Target Platform Universal
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL PASSIVE_LEVEL
DDI compliance rules Irql_Miscellaneous_Function(ndis), NdisOpenConfigurationEx(ndis)

See also

DriverEntry of NDIS Protocol Drivers

MiniportInitializeEx

NdisOpenConfigurationEx

NdisOpenConfigurationKeyByIndex NdisOpenConfigurationKeyByName

NdisReadConfiguration

NdisReadNetworkAddress

NdisWriteConfiguration

ProtocolBindAdapterEx