GetCurrentMode (csCode = 10)
The required
GetCurrentMode
routine uses a
VDSwitchInfoRec
structure.PCI graphics drivers return the current
DisplayModeID
value in the
csData
field.
OSErr = Status (theRefNum, cscGetCurMode, &theVDSwitchInfoRec );
-
<-- csMode
-
Current relative bit depth
-
<-- csData
-
DisplayModeID
of current resolution
-
<-- csPage
-
Current page
-
<-- csBaseAddr
-
Base address of current page
© 1999 Apple Computer, Inc. (Last Updated 26 March 99)