IWICBitmapEncoder_SetColorContexts

エンコーダに IWICColorContext オブジェクトを設定する。

IWICBitmapEncoder_SetColorContexts this, cCount, ppIColorContext

this : [comobj] IWICBitmapEncoder インターフェースの COM オブジェクト変数
cCount : [int] 型: UINT 設定する IWICColorContext の数。
ppIColorContext : [comobj] 型: IWICColorContext** エンコーダに設定するカラーコンテキストを保持する IWICColorContext ポインタへのポインタ。

(プラグイン / モジュール : com_misc.dll)

解説

エンコーダに IWICColorContext オブジェクトを設定する。

[戻り値]
型: HRESULT このメソッドが成功した場合は S_OK を返す。失敗した場合は HRESULT エラーコードを返す。

情報

プラグイン / モジュールcom_misc.dll
バージョン1.0
作成日2026/04/16
著作者IronHSP / CsWin32 bridge
URLhttps://github.com/inovia/IronHSP
備考Win32 API の com_misc.dll 関数群。CsWin32 + win32metadata から自動生成。
hsp3net 専用 (intptr / NSTRUCT / wstr を使用)。
タイプ拡張命令
グループWin32API
対応環境
  • Windows 版 HSP
hs ファイルhsphelp\win32_com_misc_gen2.hs