Admin Production rocket
Current Publication

CBL_SCR_GET_ATTR_INFO

NetExpress Bookshelf Help V5.1 WrapPack 1
Rocket® Net Express™ (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.

CBL_SCR_GET_ATTR_INFO

Returns information about the attribute system for the environment.

Syntax:
call "CBL_SCR_GET_ATTR_INFO" using      attribute-info
                             returning status-code
Parameters:
Using call prototype (see Key) Picture (32-bit systems)
attribute-info Group predefined as cblt-gai-display-class containing: Group containing:
cblte-gai-display-class cblt-x1-compx pic x comp-x.
cblte-gai-colormap-size cblt-x2-compx pic x(2) comp-x.
cblte-gai-colormap-flags cblt-x1-compx pic x comp-x.
cblte-gai-bits-per-gun cblt-x1-compx pic x comp-x.
status-code See Key
On Entry:
None
On Exit:
cblte-gai-display-class The class of the environment:
1 Monochrome
2 Read-only colormap
3 Read/write colormap
4 Read-only decomposed colormap
5 Read/write decomposed colormap
cblte-gai-colormap-size Number of entries on the colormap.
cblte-gai-colormap-flags Bits set as follows:
Bit Meaning
0
1 The colormap is read-write.
0 The colormap is read-only.
1
1 Environment allows virtual colormaps to be created.
0 Environment does not allow virtual colormaps to be created.
2
1 Reading back attributes read back the values written
0 Read back what is currently on the screen
cblte-gai-bits-per-gun Number of significant bits of the RGB values that are actually used to drive the hardware. A value of zero indicates that the number of bits is unknown for the environment. If different guns have different numbers of significant bits the lowest number of bits is used.
See Also:

Related Topics