IServiceGroup 接口 (portcls.h)

接口 IServiceGroup 封装一组对象,这些对象都需要相同服务请求的通知。 当服务组对象收到请求的通知时,它会将通知转发到组中的每个对象。 PortCls 系统驱动程序实现 接口并将其 IServiceGroup 公开给微型端口驱动程序。 微型端口驱动程序通过调用 PcNewServiceGroup 创建IServiceGroup对象。 IServiceGroup 继承自 IServiceSink 接口。

端口驱动程序通常使用服务组对象来解复中断服务的请求,尽管服务组的功能已足够通用,使其可能也可用于其他目的。 有关详细信息,请参阅 服务接收器和服务组对象

继承

IServiceGroup 接口继承自 IUnknown 接口。 IServiceGroup 还具有以下类型的成员:

方法

IServiceGroup 接口包含以下方法。

 
IServiceGroup::AddMember

AddMember 方法将成员添加到服务组。
IServiceGroup::CancelDelayedService

CancelDelayedService 方法取消以前请求的延迟服务。
IServiceGroup::RemoveMember

RemoveMember 方法从服务组中删除指定成员。
IServiceGroup::RequestDelayedService

RequestDelayedService 方法在指定的延迟后请求服务。
IServiceGroup::RequestService

详细了解:IServiceGroup::RequestService
IServiceGroup::SupportDelayedService

SupportDelayedService 方法指示服务组应准备支持延迟的服务。

要求

要求
目标平台 Windows
标头 portcls.h