ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / System functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns information about the Windows version used on the current computer.
WEBDEV - Server code Returns information about the Windows version used on the server.
AndroidAndroid Widget JavaPHP Returns the version of the system.
AndroidAndroid Widget To get information about the Android version, use SysAndroidVersion.
Example
WINDEVWEBDEV - Server codeReports and QueriesUser code (UMC)Ajax
// Numéro de version de Windows utilisé sur le poste en cours
ResVersion = SysWindowsVersion(sysVersionNumber)
Syntax
<Result> = SysWindowsVersion([<Type of information>])
<Result>: Character string
  • Information about the Windows version,
  • Empty string ("") if an error occurred.
<Type of information>: Optional constant
Indicates the requested information:
Parameter not specifiedWindows version:
  • "11" for Windows 11
  • "10" for Windows 10
  • "8" for Windows 8
  • "7" for Windows 7
  • "VISTA"
  • "LINUX"
  • "2022S" for Windows 2022 Server
  • "2019S" for Windows 2019 Server
  • "2016S" for Windows 2016 Server
  • "2012S" for Windows 2012 Server
  • "2008S" for Windows 2008 Server
  • "2003S" for Windows 2003 Server
  • "XP" for Windows XP
  • "ME" for Windows Millenium
  • "NT 4", "NT 5" (for Windows 2000 for example)
  • "NT 3.5"
  • "98"
  • "95"
  • "32s" for Windows 3.1
Empty string if the Windows version is unknown.
AndroidAndroid Widget Android version:
  • android 1.5
  • android 1.6
  • android 2.3
  • ...
iPhone/iPad System version: DARWIN
PHP Corresponds to the version number of Windows or to the platform name (for Linux). The result depends on the PHP version.
New in SaaS
sysEstServer
Using a server system:
  • "1" if the operating system is a server version,
  • "0" otherwise.
LinuxAndroidAndroid Widget iPhone/iPadJavaPHP This constant is not available.
Note: This feature is only available from WINDEV Suite SaaS 2025 - Update 2. For more details, see Using new features exclusive to WINDEV Suite SaaS 2025.
sysNativeProcessorCurrent computer processor:
  • "x86"
  • "x64"
  • "Intel Itanium-based"
  • "ARM"
  • "ARM64"
  • "ARM Thumb"
  • "ARM Thumb-2"
  • "MIPS"
  • "MIPS R3000"
  • "MIPS R4000"
  • "MIPS R10000"
  • "MIPS WCE v2"
  • "MIPS FPU"
  • "MIPS FPU16"
  • "Alpha"
  • "Alpha 64"
  • "SH3"
  • "SH3DSP"
  • "SH3E"
  • "SH4"
  • "SH5"
  • "TAM33BD"
  • "IBM PowerPC"
  • "IBM PowerPC FP"
  • "Infineon"
  • "CEF"
  • "EFI Byte Code"
  • "M32R"
  • "EEC"
AndroidAndroid Widget iPhone/iPadJavaPHP This constant is not available.
sysProcessorReturns the runtime mode of program in the current environment:
  • "32": the program runs in 32-bit mode in a 32-bit environment.
  • "64": the program runs in 32-bit or 64-bit mode in a 64-bit environment.
AndroidAndroid Widget iPhone/iPadJavaPHP This constant is not available.
sysVersionBuildWindows compilation number.
For example: "1381".
LinuxAndroidAndroid Widget iPhone/iPadJavaPHP This constant is not available.
sysVersionInfoSpecific information about the Windows version. For example:
  • "Service Pack x" for NT
  • "" for Windows 95A (empty string)
  • "B" for Windows 95B
  • " " for Windows 98 (a space).
  • "Pro" for Windows XP Pro
  • "Home Edition" for Windows XP Home Edition.
LinuxAndroidAndroid Widget iPhone/iPadJavaPHP This constant is not available.
sysVersionNumberWindows kernel version number.
For example:
  • "3.51" for NT 3.51.
  • "10" for Windows 11 21H2...
LinuxAndroidAndroid Widget iPhone/iPadJavaPHP This constant is not available.
sysVersionPlatformSystem platform:
  • "Win32s" for WIN32 in 3.11
  • "Windows" for Windows 95/98/ME
  • "NT" for Windows NT 4.0/2000/XP/2003 Server
  • "UNIX" for Linux.
AndroidAndroid Widget iPhone/iPadJavaPHP This constant is not available.

AndroidAndroid Widget JavaPHP This parameter is not available.
Related Examples:
WD Magnifier Complete examples (WINDEV): WD Magnifier
[ + ] This example enables you to zoom part of the screen with a magnifier.
The maximum zoom value is set to 8.
Summary of the example supplied with WINDEV:
The WLanguge function named dCopyBlt() and the WLanguage property named ..Opacity allow you to perform a capture of the Windows desktop at the location of a window without this window appearing in the screen shot.
This example uses this tip to zoom the part of the screen found below the magnifier.
Business / UI classification: Business Logic
Component: wd300std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help