NdisCloseConfiguration (NDIS 5.1) function

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

NdisCloseConfiguration releases the handle to the registry key returned by NdisOpenConfiguration, NdisOpenProtocolConfiguration, NdisOpenConfigurationKeyByIndex, or NdisOpenConfigurationKeyByName.

Syntax

VOID NdisCloseConfiguration(
  _In_ NDIS_HANDLE ConfigurationHandle
);

Parameters

  • ConfigurationHandle [in]
    Specifies the handle returned by NdisOpenConfiguration or NdisOpenProtocolConfiguration.

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

Target platform

Universal

Version

See NdisCloseConfiguration.

Header

Ndis.h (include Ndis.h)

Library

Ndis.lib

IRQL

PASSIVE_LEVEL

See also

DriverEntry of NDIS Protocol Drivers

MiniportInitialize

NdisOpenConfiguration

NdisOpenConfigurationKeyByIndex

NdisOpenConfigurationKeyByName

NdisOpenProtocolConfiguration

NdisReadConfiguration

NdisReadNetworkAddress

NdisWriteConfiguration

ProtocolBindAdapter

 

 

Send comments about this topic to Microsoft