Partager via


INetCfgComponentControl

The INetCfgComponentControl interface is a required interface which provides methods that are called by the network configuration subsystem to initialize the notify object of the network component and to apply changes to the component.

The interface identifier (IID) for this interface is IID_INetCfgComponentControl.

When to Implement

The methods of this interface must be implemented so the network configuration subsystem can initialize the notify object of the network component and can apply changes to the component. This interface is required.

When to Use

The network configuration subsystem calls the methods of INetCfgComponentControl to initialize the notify object of the network component and to apply changes to the component.

Methods

The following methods are listed in Vtable order:

IUnknown method Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments the reference count.

Release

Decrements the reference count.

 

INetCfgComponentControl method Description

Initialize

Initializes the network component's notify object.

ApplyRegistryChanges

Applies to the registry changes made to the network component's configuration.

ApplyPnpChanges

Informs the notify object of the network component that it can configure its component's driver.

CancelChanges

Disregards proposed changes for the network component's configuration.

 

Comments

E_NOTIMPL is not a valid return type for any of the INetCfgComponentControl interface's methods.

Requirements

Header

Netcfgn.h (include Netcfgn.h)

 

 

Send comments about this topic to Microsoft