BRUSHOBJ_hGetColorTransform

BRUSHOBJ_hGetColorTransform 関数は、指定したブラシのカラー変換を取得する。

BRUSHOBJ_hGetColorTransform pbo

pbo : [var] カラー変換を問い合わせる対象の BRUSHOBJ 構造体へのポインタ。カラー変換は、以前に DrvIcmCreateColorTransform を呼び出して作成したものである。

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

解説

BRUSHOBJ_hGetColorTransform 関数は、指定したブラシのカラー変換を取得する。

[戻り値]
BRUSHOBJ_hGetColorTransform は、成功した場合、指定された BRUSHOBJ
構造体のカラー変換へのハンドルを返す。失敗した場合は NULL を返す。

[備考]
BRUSHOBJ_hGetColorTransform は、ICM が無効な場合 NULL を返す。変換オブジェクトのカラー変換は
XLATEOBJ_hGetColorTransform を呼んで取得する。

情報

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