The Removing method directs the notify object of the network component to perform operations required for the component's removal.
HRESULT Removing( void );
Returns zero (S_OK) if successful; otherwise, returns NETCFG_* codes that are defined in Netcfgx.h.
The Removing method performs cleanup operations to prepare for the network component's removal.
Removing should not modify the registry. Only the INetCfgComponentControl::ApplyRegistryChanges method should make changes to the registry. The network configuration subsystem first calls Removing to initiate removal of the nextwork component and then calls ApplyRegistryChanges to remove information about the network component from the registry.
|Netcfgn.h (include Netcfgn.h)|