取得 IPropertySetStorage ,可透過此存取影像的屬性。
語法
HRESULT GetProperties(
[in] DWORD dwMode,
[out] IPropertySetStorage **ppPropSet
);
參數
[in] dwMode
類型: DWORD
未使用,請將 設定為 0。
[out] ppPropSet
類型: IPropertySetStorage**
IPropertySetStorage 介面指標的位址。
傳回值
類型: HRESULT
如果成功或錯誤值,則傳回 S_OK ,包括下列專案:
| 傳回碼 | Description |
|---|---|
|
映射尚未譯碼,或譯碼程序失敗。 |
|
ppPropSet 指標無效。 |
規格需求
| 需求 | 值 |
|---|---|
| 最低支援的用戶端 | Windows XP [僅限傳統型應用程式] |
| 最低支援的伺服器 | Windows Server 2003 [僅限傳統型應用程式] |
| 目標平台 | Windows |
| 標頭 | shimgdata.h |
| Dll | Shell32.dll |