1 つ以上のカラーマップ エントリの RGB 値を返します。
制約事項: このルーチンはネイティブ COBOL でのみサポートされます。
構文:
call "CBL_SCR_QUERY_COLORMAP" using table-count
color-attribute
RGB-values
returning status-code
パラメーター
- table-count
- 呼び出しプロトタイプ (「説明の読み方」を参照):cblt-x2-compx
- PIC:pic x(2) comp-x
- color-attribute
- 呼び出しプロトタイプ (「説明の読み方」を参照):cblt-x4-compx OCCURS n TIMES
- PIC:pic x(4) comp-x OCCURS n TIMES
- RGB-values
01 cblt-generic-attr-rgb-values typedef.
03 cblte-garv-red-value cblt-x2-compx. *> pic x(2) comp-x.
03 cblte-garv-green-value cblt-x2-compx. *> pic x(2) comp-x.
03 cblte-garv-blue-value cblt-x2-compx. *> pic x(2) comp-x.
03 cblte-garv-filler cblt-x1-compx occurs 2. *> pic x(2).
- status-code
- 「説明の読み方」を参照。
入力パラメーター:
table-count |
問い合わせるエントリの数。 |
color-attribute |
問い合わせる 1 つ以上のカラーマップ索引の表。 |
出力パラメーター:
RGB-values |
索引の表に対応する RGB 値の表。 |
table-count |
問い合わせに成功したエントリの数。通常は要求した数ですが、呼び出しが完全には成功しなかった場合はそれよりも少なくなります。 |