PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns information about the Windows version used on the current computer.
Java Returns the version of the system.
Example
WINDEVUser code (UMC)
// 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:
  • "10" for Windows 10
  • "8" for Windows 8
  • "7" for Windows 7
  • "VISTA"
  • "LINUX"
  • "CE 3", "CE 4", "CE 5", "CE 6"
  • "2012S" for Windows 2012 Server
  • "2008S" for Windows 2008 Server
  • "2003S" for Windows 2003 Server
  • Versions 22 and later
    "2016S" for Windows 2016 Server
    New in version 22
    "2016S" for Windows 2016 Server
    "2016S" for Windows 2016 Server
  • Versions 24 and later
    "2019S" for Windows 2019 Server
    New in version 24
    "2019S" for Windows 2019 Server
    "2019S" for Windows 2019 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.
Versions 15 and later
sysProcessor
New in version 15
sysProcessor
sysProcessor
Returns 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.
Java This constant is not available.
sysVersionBuildWindows compilation number.
For example: "1381".
LinuxJava 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.
In the current versions of Windows CE, no information is returned.
LinuxJava This constant is not available.
sysVersionNumberVersion number of Windows.
For example: "3.51" for NT 3.51, "3.0" for Windows CE 3.0.
LinuxJava 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
  • "PocketPC" for CE 2002, for CE 2003, for CE 5, for CE 6
  • "Smartphone" for CE for Smartphone
  • "UNIX" for Linux.
Java This constant is not available.
Java This parameter is not available.
Remarks
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.
Component : wd250std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment