ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / System functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns information about the Windows version used on the current computer.
Example
Reports and Queries
// Number of the Windows version used on the current computer
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.
New in version 2024
sysNativeProcessor
Current 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"
sysProcessorReturns the runtime mode of program in the current environment:
  • "32": the program operates in 32-bit mode in a 32-bit environment.
  • "64": the program operates in 32-bit or 64-bit mode in a 64-bit environment.
sysVersionBuildWindows compilation number.
For example: "1381".
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.
sysVersionNumberWindows kernel version number.
For example:
  • "3.51" for NT 3.51.
  • "10" for Windows 11 21H2...
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.

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: wd290std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/15/2023

Send a report | Local help