A mode specifier is a single-word value used to specify a screen mode. It is handled as follows:
Unless otherwise noted, all APIs for dealing with screen modes accept all of the above forms.
Note that some APIs have additional rules, e.g. a mode specifier of -1 may be used to refer to the current screen mode. Remember that these are extensions to the specification and are not understood by all APIs.