Compartilhar via


INetCfgPnpReconfigCallback

The INetCfgPnpReconfigCallback interface provides a method that sends configuration information to the driver of the network component that owns a notify object.

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

When to Implement

It is not necessary to implement the method of this interface. It is implemented in Netcfgx.dll.

When to Use

The network configuration subsystem supplies INetCfgPnpReconfigCallback to a notify object when the subsystem calls the object's INetCfgComponentControl::ApplyPnpChanges method. ApplyPnpChangescan use the method of INetCfgPnpReconfigCallback to send configuration information to the driver of the network component that owns the object. A notify object is not required to use INetCfgPnpReconfigCallback.

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.

 

INetCfgPnpReconfigCallback method Description

SendPnpReconfig

Sends configuration information to the driver of the network component that owns a notify object.

 

Comments

The network configuration subsystem calls ApplyPnpChangesafter calling the INetCfgComponentControl::ApplyRegistryChangesmethod and after drivers and services for a network component have started. The component's notify object can use the INetCfgPnpReconfigCallback interface that ApplyPnpChangesprovides to send configuration information to the component's driver. This driver must be either a TDI provider or an NDIS miniport driver. Using INetCfgPnpReconfigCallback is optional, but recommended to avoid requiring a user to reboot the operating system to implement changes to the configuration.

See Also

INetCfgComponentControl::ApplyPnpChanges, INetCfgComponentControl::ApplyRegistryChanges

Requirements

Header

Netcfgn.h (include Netcfgn.h)

 

 

Send comments about this topic to Microsoft