Image::GetRawFormat 方法 ( GUID) 获取一个全局唯一标识符,该标识符标识此 Image 对象的格式。 用于标识各种文件格式的 GUID 在 Gdiplusimaging.h 中定义。
语法
Status GetRawFormat(
[out] GUID *format
);
参数
[out] format
类型: GUID*
指向接收格式标识符的 GUID 的指针。
返回值
类型: 状态
如果该方法成功,则返回 Ok,这是 Status 枚举的元素。
如果方法失败,它将返回 Status 枚举的其他元素之一。
要求
| 要求 | 值 |
|---|---|
| 最低受支持的客户端 | Windows XP、Windows 2000 Professional [仅限桌面应用] |
| 最低受支持的服务器 | Windows 2000 Server [仅限桌面应用] |
| 目标平台 | Windows |
| 标头 | gdiplusheaders.h (包括 Gdiplus.h) |
| Library | Gdiplus.lib |
| DLL | Gdiplus.dll |