QueryGraphics

Gets graphics environment information.

Synopsis

Err QueryGraphics (int32 tag,void *ret)

Description

QueryGraphics() looks up a value in the environment based on the passed-in tag and deposits that value in the address pointed to by ret.

Tag Arguments

The currently available tag arguments and their return values follow:

Arguments

tag
Tag number indicating information requested.
ret
Pointer to the location in memory where the requested value is deposited.

Return Value

The call returns 0 if successful or an error code (a negative value) if an error occurred.

GRAFERR_BADTAG is returned if an unknown tag is passed in.

Implementation

Folio call implemented in Graphics folio V21.

Associated Files

graphics.h, graphics.lib

See Also

QueryGraphicsList()