Location: Symbol Reference > Classes > TJwWindowsVersion Class
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwWindowsVersion Class
Pascal
TJwWindowsVersion = class(TObject);

TJwWindowsVersion provides methods to detect the windows version and product type. All methods are class methods so there is no need for an instance of TJwWindowsVersion.

Name 
Description 
The following tables list the members exposed by TJwWindowsVersion. 
The methods of the TJwWindowsVersion class are listed here. 
 
Name 
Description 
 
CheckWindowsVersion raises an EJwsclUnsupportedWindowsVersionException exception if the current windows version does not correspond to the required one in the parameters.
 
 
This is GetCachedWindowsType, a member of class TJwWindowsVersion. 
 
GetNativeProcessorArchitecture returns processor architecture of the current Windows version 
 
GetWindowsType returns a constant that defines the windows version the process is running.  
 
IsProcess64 checks if a process is 64 bit. param ProcessHandle Defines the process to be checked for 64 bit. If this parameter is zero the current process is used instead. return Returns true if the given process is a 64bit process. 
 
IsServer checks if the system is a server version  
 
IsTerminalServiceRunning checks the status of the terminal service.
Return Returns true if the terminal service is running; otherwise false. 
 
This is IsUACEnabled, a member of class TJwWindowsVersion. 
 
IsWindows2000 checks if the system has the version given in the function name.  
 
IsWindows2003 checks if the system has the version given in the function name.  
 
IsWindows2003R2 checks if the system has the version given in the function name.  
 
IsWindows2008 checks if the system has the version given in the function name.
Currently the parameter bOrHigher has no meaning in this function!
 
 
IsWindows64 returns true if the process is running on any 64 bit Windows version 
 
This is IsWindows7, a member of class TJwWindowsVersion. 
 
IsWindows95 checks if the system has the version given in the function name.  
 
IsWindows98 checks if the system has the version given in the function name.  
 
IsWindowsIA64 returns true if the process is running on a Windows IA64 version 
 
IsWindowsME checks if the system has the version given in the function name.  
 
IsWindowsVista checks if the system has the version given in the function name.
Currenty the parameter bOrHigher has no meaning in this function!
 
 
IsWindowsX64 returns true if the process is running on a Windows x64 version 
 
IsWindowsXP checks if the system has the version given in the function name.  
 
This is ResetCachedWindowsType, a member of class TJwWindowsVersion. 
 
This is SetCachedWindowsType, a member of class TJwWindowsVersion. 
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!