IContext::EnumContextProps 方法 (objidl.h)

返回可用于枚举此上下文中的上下文属性的 IEnumContextProps 接口指针。

语法

HRESULT EnumContextProps(
  [out] IEnumContextProps **ppEnumContextProps
);

参数

[out] ppEnumContextProps

接收新 IEnumContextProps 接口指针的变量的地址。

返回值

此方法可以返回标准返回值E_INVALIDARG、E_OUTOFMEMORY、E_UNEXPECTED、E_FAIL和S_OK。

要求

要求
最低受支持的客户端 Windows 2000 Professional [仅限桌面应用]
最低受支持的服务器 Windows 2000 Server [仅限桌面应用]
目标平台 Windows
标头 objidl.h (包括 ObjIdl.h)

另请参阅

IContext

IEnumContextProps