获取可以访问图像属性的 IPropertySetStorage 。
语法
HRESULT GetProperties(
[in] DWORD dwMode,
[out] IPropertySetStorage **ppPropSet
);
参数
[in] dwMode
类型:DWORD
未使用,设置为 0。
[out] ppPropSet
类型: IPropertySetStorage**
指向 IPropertySetStorage 接口的指针的地址。
返回值
类型: HRESULT
如果成功,则返回 S_OK ,否则返回错误值,包括:
| 返回代码 | 说明 |
|---|---|
|
映像尚未解码或解码过程失败。 |
|
ppPropSet 指针无效。 |
要求
| 要求 | 值 |
|---|---|
| 最低受支持的客户端 | Windows XP [仅限桌面应用] |
| 最低受支持的服务器 | Windows Server 2003 [仅限桌面应用] |
| 目标平台 | Windows |
| 标头 | shimgdata.h |
| DLL | Shell32.dll |