All Frameworks  Class Hierarchy  This Framework  Indexes

System Global Function CATGetOperatingSystem


unsigned short CATGetOperatingSystem(unsigned short* oPlatform=NULL)
Retrieves the type of platform.
Role: Retrieves the type of platform on where the code is running, and the type of operating system.
This function is used in C++ code.
Parameters:
oPlatform
The type of platform. The argument is by default NULL.
Legal values:
CATUnixPlatform or CATWindowsPlatform
Returns:
Legal values
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 .
CATOsLINUX
Operating System is LINUX.
CATUnknownOS
Operating System is Unknown or an error as occured.

This object is included in the file: CATLib.h

Copyright © 2003, Dassault Systèmes. All rights reserved.

System Global Function CATGetOperatingSystem
All Frameworks  Class Hierarchy  This Framework  Indexes

System Global Function CATGetOperatingSystem


unsigned short CATGetOperatingSystem(unsigned short* oPlatform)
Retrieves the type of platform.
Role: Retrieves the type of platform on where the code is running, and the type of operating system.
This function is used in C code. (no default parameters in C)
Parameters:
oPlatform
the type of platform.
Legal values:
CATUnixPlatform or CATWindowsPlatform
Returns:
Legal values
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 .
CATOsLINUX
Operating System is LINUX.
CATUnknownOS
Operating System is Unknown or an error as occured.

This object is included in the file: CATLib.h

Copyright © 2003, Dassault Systèmes. All rights reserved.