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

GetDisplayInfoData

Query DisplayInfo Record parameters

Declaration

Source position: agraphics.pas line 2420

function GetDisplayInfoData(

  const Handle: Pointer;

  Buf: Pointer;

  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