Using Win32 functions in Visual FoxPro Image Gallery
System Information
..msdn
ExpandEnvironmentStrings
GetComputerName
GetComputerNameEx
GetComputerObjectName
GetCurrentHwProfile
GetKeyboardType
GetNativeSystemInfo
GetProductInfo
GetSysColor
GetSystemDirectory
GetSystemInfo
GetSystemMetrics
GetSystemRegistryQuota
GetSystemWow64Directory
GetUserName
GetUserNameEx
GetVersion
GetVersionEx
GetWindowsDirectory
IsNetworkAlive
SetComputerName
SetSysColors
SystemParametersInfo
Code examples:
OS version and revision
Simple printer queue monitor: deletes, pauses, resumes print jobs for local printer
GetVersion
..msdn    Add comment     W32 Constants      Translate this page
The GetVersion function returns the current version number of Windows and information about the operating system platform
Code examples:
Simple printer queue monitor: deletes, pauses, resumes print jobs for local printer
OS version and revision
Declaration:
DWORD GetVersion(VOID)
FoxPro declaration:
DECLARE INTEGER GetVersion IN kernel32

Parameters:
This function has no parameters
Return value:
If the function succeeds, the return value is the major and minor version numbers of Windows and a code specifying the operating system platform. The low-order word contains the version number of Windows. The high-order byte specifies the minor version (revision) number, in hexadecimal notation. The low-order byte specifies the major version number, in hexadecimal notation
My comment:
The very basic information is returned. The extended version gives more, though more efforts needed to convert the result into FoxPro variables
Word Index links for the GetVersion :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-12 12:00:00
Modified: 2001-11-26 16:02:08
Visited in last 7 days: 27
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.80.132.10)
4 sec.
Function group: 'COM'
9 sec.Function: 'GetShortPathName'
14 sec.Function: 'DragDetect'
18 sec.Example: 'Using the Semaphore object'
24 sec.Function: 'Process32First'
29 sec.Function: 'PlaySound'
33 sec.Function: 'PathFileExists'
38 sec.Function: 'CeReadRecordProps'
43 sec.Function: 'UuidCreateSequential'
49 sec.Function: 'mixerGetDevCaps'
Google
Advertise here!