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

GetCyberIDAttr

Returns information about a cybergraphics ID

Declaration

Source position: cybergraphics.pas line 165

function GetCyberIDAttr(

  CyberIDAttr: LongWord;

  CyberDisplayModeID: LongWord

):LongWord;

Arguments

CyberIDAttr

  

A number telling cybergraphics which attribute of the displaymode id should be returned

CyberDisplayModeID

  

CyberGraphX displaymode ID

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