Bewerken

Delen via


IServiceGroup interface (portcls.h)

The IServiceGroup interface encapsulates a group of objects that all require notification of the same service request. When the service group object receives notification of the request, it forwards the notification to each of the objects in the group. The PortCls system driver implements the IServiceGroup interface and exposes it to miniport drivers. A miniport driver creates an IServiceGroup object by calling PcNewServiceGroup. IServiceGroup inherits from the IServiceSink interface.

Port drivers typically use service group objects to demultiplex requests for interrupt service, although the functionality of a service group is general enough to make it potentially useful for other purposes as well. For more information, see Service Sink and Service Group Objects.

Inheritance

The IServiceGroup interface inherits from the IUnknown interface. IServiceGroup also has these types of members:

Methods

The IServiceGroup interface has these methods.

 
IServiceGroup::AddMember

The AddMember method adds a member to the service group.
IServiceGroup::CancelDelayedService

The CancelDelayedService method cancels the previously requested delayed service.
IServiceGroup::RemoveMember

The RemoveMember method removes the specified member from the service group.
IServiceGroup::RequestDelayedService

The RequestDelayedService method requests service after the specified delay.
IServiceGroup::RequestService

Learn more about: IServiceGroup::RequestService
IServiceGroup::SupportDelayedService

The SupportDelayedService method indicates that the service group should prepare to support delayed service.

Requirements

Requirement Value
Target Platform Windows
Header portcls.h