Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

GetDisplayInfoData

Query DisplayInfo Record parameters

Declaration

Source position: agraphics.pas line 2322

function GetDisplayInfoData(

  const handle: POINTER;

  buf: pCHAR;

  size: LongWord;

  tagID: LongWord;

  displayID: LongWord

):LongWord;

Arguments

handle

  

A displayinfo handle

buf

  

A pointer to destination buffer

size

  

Buffer size in bytes

tagID

  

data chunk type (DTAG_*)

Function result

If positive, number of bytes actually transferred if zero, no information for ID was available

Description

GetDisplayInfoData() fills a buffer with data meaningful to the DisplayInfoRecord pointed at by your valid handle. The data type that you are interested in is indicated by a tagID for that chunk. The types of tagged information that may be available include:

DTAG_DISP:
(TDisplayInfo) properties and availability information.
DTAG_DIMS:
(TDimensionInfo) default dimensions and overscan info.
DTAG_MNTR:
(TMonitorInfo) type, position, scanrate, and compatibility
DTAG_NAME:
(TNameInfo) a user friendly way to refer to this mode.

See also

FindDisplayInfo

  

Search for a record identified by a specific key

NextDisplayInfo

  

Iterate current displayinfo identifiers


Documentation generated on: 2021-07-30