NetConfigurationClose function (netconfiguration.h)

Releases the handle to the registry key that is associated with an adapter configuration object and then deletes the adapter configuration object.

Syntax

void NetConfigurationClose(
  [_In_] NETCONFIGURATION Configuration
);

Parameters

[_In_] Configuration

A handle to an adapter configuration object opened in a prior call to NetAdapterOpenConfiguration or NetConfigurationOpenSubConfiguration.

Return value

None

Remarks

NetConfigurationClose is an alias of WdfObjectDelete. Because the configuration object, like all NetAdapterCx objects, is a WDF object, you can use WdfObjectDelete interchangeably.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.21
Minimum UMDF version 2.33
Header netconfiguration.h (include netadaptercx.h)
Library netadaptercxstub.lib
IRQL PASSIVE_LEVEL

See also

NetAdapterOpenConfiguration

NetConfigurationOpenSubConfiguration