IShellImageDataFactory 接口 (shimgdata.h)
公开基于各种图像源创建 IShellImageData 实例的方法。
继承
IShellImageDataFactory 接口继承自 IUnknown 接口。 IShellImageDataFactory 还具有以下类型的成员:
方法
IShellImageDataFactory 接口具有这些方法。
IShellImageDataFactory::CreateImageFromFile 基于给定文件创建 IShellImageData 接口的实例。 |
IShellImageDataFactory::CreateImageFromStream 基于给定的文件流创建 IShellImageData 接口的实例。 |
IShellImageDataFactory::CreateIShellImageData 创建 IShellImageData 接口的实例。 |
IShellImageDataFactory::GetDataFormatFromPath 根据文件扩展名确定文件的格式。 |
注解
此接口预期在更高版本的 Windows 中不可用。 建议使用 Windows GDI+ API 代替 IShellImageDataFactory 方法。
在 Windows Vista 之前,此接口未包含在公共头文件中。
要求
要求 | 值 |
---|---|
最低受支持的客户端 | Windows XP [仅限桌面应用] |
最低受支持的服务器 | Windows Server 2003 [仅限桌面应用] |
目标平台 | Windows |
标头 | shimgdata.h |