共用方式為


INetCfgComponentNotifyGlobal

The INetCfgComponentNotifyGlobal interface, an optional interface, provides methods that inform a network component's notify object about changes to network configuration that it must accept, reject, or process.

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

When to Implement

Implement the methods of this interface so the network component's notify object will be informed about changes to network configuration that it must accept, reject, or process. This interface is optional.

When to Use

The network configuration subsystem calls the methods of INetCfgComponentNotifyGlobal to inform a network component's notify object about changes to network configuration that might affect 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.

 

INetCfgComponentNotifyGlobal method Description

GetSupportedNotifications

Retrieves the types of notifications required by a notify object.

SysQueryBindingPath

Evaluates a pending binding path change.

SysNotifyBindingPath

Performs operations resulting from a binding path change.

SysNotifyComponent

Performs operations resulting from a component change.

 

Comments

If a notify object does not need to accept, reject, or process changes to network configuration that might affect its network component, the INetCfgComponentNotifyGlobalinterface does not need to be implemented for the object. For example, changes to network configuration that might affect a network component include changing how network components (other than the network component that owns the notify object) are bound together.

E_NOTIMPL is not a valid return type for any of the methods of INetCfgComponentNotifyGlobal.

Requirements

Header

Netcfgn.h (include Netcfgn.h)

 

 

Send comments about this topic to Microsoft