Docs » Autodocs » graphics.library » GetVPModeID
GetVPModeID -- get the 32 bit DisplayID from a ViewPort. (V36)
modeID = GetVPModeID( vp ) d0 a0 ULONG GetVPModeID( struct ViewPort *);
returns the normal display modeID, if one is currently associated with this ViewPort.
vp -- pointer to a ViewPort structure.
modeID -- a 32 bit DisplayInfoRecord identifier associated with this ViewPort, or INVALID_ID.
Test the return value of this function against INVALID_ID, not NULL. (INVALID_ID is defined in graphics/displayinfo.h).
<graphics/displayinfo.h>, ModeNotAvailable()
|