Unit 'cybergraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

GetCyberIDAttr

Returns information about a cybergraphics ID

Declaration

Source position: cybergraphics.pas line 219

function GetCyberIDAttr(

  attribute_: LongWord;

  DisplayModeID: LongWord

):LongWord;

Function result

depends on the supplied CyberIDAttr

Description

Returns information about a specified displaymode ID.

Available CyberIDAttr

You should know what you are doing if you call this function! Don't apply it on a non cybergraphics displaymode!

CYBRIDATTR_PIXFMT
return the pixel format of the supplied screenmode id
CYBRIDATTR_WIDTH
returns visible width in pixels
CYBRIDATTR_HEIGHT
returns visible height in lines
CYBRIDATTR_DEPTH
returns bits per pixel
CYBRIDATTR_BPPIX
returns bytes per pixel

Unknown attributes are reserved for future use, and return ($FFFFFFFF).


Documentation generated on: 2021-07-30