Docs » Autodocs » graphics.library » ModeNotAvailable
ModeNotAvailable -- check to see if a DisplayID isn't available. (V36)
error = ModeNotAvailable( modeID ) d0 d0 ULONG ModeNotAvailable( ULONG);
returns an error code, indicating why this modeID is not available, or NULL if there is no reason known why this mode should not be there.
modeID -- a 32 bit DisplayInfoRecord identifier.
error -- a general indication of why this modeID is not available, or NULL if there is no reason why it shouldn't be available.
ULONG return values from this function are a proper superset of the DisplayInfo.NotAvailable field (defined in graphics/displayinfo.h). ModeNotAvailable() will return INVALID_ID when given a non-existant moe ID.
<graphics/displayinfo.h>, GetVPModeID()
|