All Frameworks  Class Hierarchy  This Framework  Indexes

System Global Function CATAmIOnOS


CATLibStatus CATAmIOnOS(int iOSType,
int iMajorVersion,
int 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.
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 © 2003, Dassault Systèmes. All rights reserved.

System Global Function CATAmIOnOS
All Frameworks  Class Hierarchy  This Framework  Indexes

System Global Function CATAmIOnOS


CATLibStatus CATAmIOnOS(int iOSType,
int iMajorVersion= CATOsVsANY ,
int 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.
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 © 2003, Dassault Systèmes. All rights reserved.