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

ModeNotAvailable

Check to see if a DisplayID isn't available.

Declaration

Source position: agraphics.pas line 2108

function ModeNotAvailable(

  ModeID: LongWord

):LongInt;

Arguments

ModeID

  

A 32 bit DisplayInfoRecord identifier.

Function result

A general indication of why this modeID is not available, or nil if there is no reason why it shouldn't be available.

Description

Rturns an error code, indicating why this modeID is not available, or 0 if there is no reason known why this mode should not be there.

See also

GetVPModeID

  

Get the 32 bit DisplayID from a ViewPort.


Documentation generated on: 2021-07-30