System Global Function CATAmIOnOS


CATAmIOnOS( iOSType,
iMajorVersion= CATOsVsANY ,
iMinorVersion=CATOsVsANY)
Ask for the type of operating system.
Role: Asks if the program runs on a given operating system.
This function is used in C++ code.
Parameters:
iOSType
CATOsAIX
Operating System is AIX.
CATOsSOLARIS
Operating System is SOLARIS.
CATOsIRIX
Operating System is IRIX.
CATOsHPUX
Operating System is HPUX.
CATOsWindowsNT
Operating System is WindowsNT.
CATOsWindows95
Operating System is Windows95 .
CATOsWindows98
Operating System is Windows98 .
CATOsWindows2000
Operating System is Windows2000 .
CATOsLINUX
Operating System is LINUX.
iMajorVersion
the major Version of the OS. If iMajorVersion=CATOsVsANY,the default value, then Major version is not taken into account for the response.
iMinorVersion
the minor Version of the OS. If iMinorVersion=CATOsVsANY, the default value, then minor version is not taken into account for the response.
Returns:
Legal values: CATLibSuccess or CATLibError

This object is included in the file: CATLib.h

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.

System Global Function CATAmIOnOS


CATAmIOnOS( iOSType,
iMajorVersion,
iMinorVersion)
Ask for the type of operating system.
Role: Asks if the program runs on a given operating system.
This function is used in C code. (no default parameters in C)
Parameters:
iOSType
CATOsAIX
Operating System is AIX.
CATOsSOLARIS
Operating System is SOLARIS.
CATOsIRIX
Operating System is IRIX.
CATOsHPUX
Operating System is HPUX.
CATOsWindowsNT
Operating System is WindowsNT.
CATOsWindows95
Operating System is Windows95 .
CATOsWindows98
Operating System is Windows98 .
CATOsWindows2000
Operating System is Windows2000 .
CATOsLINUX
Operating System is LINUX.
iMajorVersion
the major Version of the OS. If iMajorVersion=CATOsVsANY, then Major version is not taken into account for the response.
iMinorVersion
the minor Version of the OS. If iMinorVersion=CATOsVsANY, then minor version is not taken into account for the response.
Returns:
Legal values: CATLibSuccess or CATLibError

This object is included in the file: CATLib.h

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.