Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Latest commit

 

History

History
39 lines (23 loc) · 774 Bytes

File metadata and controls

39 lines (23 loc) · 774 Bytes

NAME

GetVPModeID -- get the 32 bit DisplayID from a ViewPort. (V36)

SYNOPSIS

    modeID =  GetVPModeID( vp )
    d0                     a0

    ULONG GetVPModeID( struct ViewPort *);

Links: ViewPort

FUNCTION

returns the normal display modeID, if one is currently associated with this ViewPort.

INPUTS

vp -- pointer to a ViewPort structure.

RESULT

modeID -- a 32 bit DisplayInfoRecord identifier associated with this ViewPort, or INVALID_ID.

NOTES Test the return value of this function against INVALID_ID, not NULL. (INVALID_ID is defined in graphics/displayinfo.h.

BUGS

SEE ALSO

graphics/displayinfo.h, ModeNotAvailable