Removing Network Components

Network components are removed by the network configuration subsystem.

To remove a network component

  1. The network configuration subsystem creates an instance of the notify object and calls the object's INetCfgComponentControl::Initialize method. This method initializes the object and provides access to the component and all aspects of network configuration.

  2. The subsystem calls the notify object's INetCfgComponentSetup::Removing method to perform operations required to remove the component. The Removing method performs cleanup operations to prepare for the component's removal.

  3. The subsystem calls the notify object's INetCfgComponentControl::ApplyRegistryChanges method to remove information about the network component from the registry.