NdisCloseConfiguration function

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

ConfigurationHandle [in]

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

Version

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.

Header

Ndis.h (include Ndis.h)

IRQL

PASSIVE_LEVEL

DDI compliance rules

Irql_Miscellaneous_Function, NdisOpenConfigurationEx

See also

DriverEntry of NDIS Protocol Drivers
MiniportInitializeEx
NdisOpenConfigurationEx
NdisOpenConfigurationKeyByIndex
NdisOpenConfigurationKeyByName
NdisReadConfiguration
NdisReadNetworkAddress
NdisWriteConfiguration
ProtocolBindAdapterEx

 

 

Send comments about this topic to Microsoft

표시:
© 2014 Microsoft