GET_PLATFORM
Use
Identifies the operating system running on the client system.
Return Value
|
[Returning] platform TYPE I |
ID specifying platform, i.e. operating system. In general, this ID does not identify the release of the operating system but only the type of operating system. The sole exception is or rather was Microsoft Windows in the Windows GUI where different IDs were returned for each Windows version. For all Windows versions newer than Windows XP, the ID for Windows XP will be returned in the Windows GUI. All other GUIs have always returned the constant for Windows XP for any Windows operating system type. Possible values:
|
Exceptions
|
CNTL_ERROR |
Thrown if a call to one of the necessary front end methods for determination of the operating system fails. |
|
ERROR_NO_GUI |
Currently not used. |
|
NOT_SUPPORTED_BY_GUI |
Raised if neither Windows nor Java nor Web GUI is being used. |