NetConfigurationClose function

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

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(
  NETCONFIGURATION Configuration
);

Parameters

Configuration

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

Return Value

This method does not return a value.

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

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

See Also

NetAdapterOpenConfiguration

NetConfigurationOpenSubConfiguration