ImplementsHelper 结构

支持 WRL基础结构,不应在代码中直接使用。

template <
   typename RuntimeClassFlagsT,
   typename ILst,
   bool IsDelegateToClass
>
friend struct Details::ImplementsHelper;

参数

  • RuntimeClassFlagsT
    指定一个或多个 RuntimeClassType 枚举数的字段。

  • ILst
    接口IDs的列表。

  • IsDelegateToClass
    如果实现,当前实例作为第一个接口 ID 的基类。ILst,则指定 true ;否则,返回 false。

备注

帮助实现 实现 结构。

遍历此模板接口列表并将它们用作基类并且作为必需的信息允许 QueryInterface。

继承层次结构

ImplementsHelper

要求

**头文件:**implements.h

Microsoft::WRL::Details命名空间:

请参见

参考

Microsoft::WRL::Details 命名空间

其他资源

Reference (Windows Runtime Library)