Compartir a través de


INetCfgComponentSetup

The INetCfgComponentSetup interface, an optional interface, provides methods that inform the notify object of the network component that the network configuration subsystem must install or remove the component.

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

When to Implement

Implement the methods of this interface to perform operations required to install, upgrade, and remove a network component. This interface is optional.

When to Use

The network configuration subsystem calls the methods of INetCfgComponentSetup to install and remove a network 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.

 

INetCfgComponentSetup method Description

Install

Performs operations required to install the network component that owns the notify object.

Upgrade

Modifies the network component, if required, when the operating system upgrades.

ReadAnswerFile

Retrieves parameters from a file to configure the network component.

Removing

Performs operations required to remove the network component that owns the notify object.

 

Comments

A network component can use the INetCfgComponentSetup interface to examine a file for unattended setup and determine what section contains the component's parameters.

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

Requirements

Header

Netcfgn.h (include Netcfgn.h)

 

 

Send comments about this topic to Microsoft