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:
Extended OS Version info
How to Start a Process as Another User (NT/XP/2K)
GetVersionEx
..msdn    Add comment     W32 Constants      Translate this page
The GetVersionEx function obtains extended information about the version of the operating system that is currently running
Code examples:
How to Start a Process as Another User (NT/XP/2K)
Extended OS Version info
Declaration:
BOOL GetVersionEx(
    LPOSVERSIONINFO  lpVersionInformation     
    // points to version information structure
   );
FoxPro declaration:
DECLARE INTEGER GetVersionEx IN kernel32;
    STRING @ lpVersionInformation

Parameters:
lpVersionInformation
Points to an OSVERSIONINFO data structure that the function fills with operating system version information
Return value:
If the function succeeds, the return value is TRUE
Usage:
* set dwOSVersionInfoSize to 148 (OSVERSIONINFO) 
* or 156 (OSVERSIONINFOEX) bytes 
lcInfo = Chr(156) + REPLI(Chr(0), 300)
nResult = GetVersionEx (@lcInfo)

My comment:
See also: GetVersion, GetProductInfo
Word Index links for the GetVersionEx :
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: 2007-12-26 14:46:45
Visited in last 7 days: 29
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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.158.214.111)
1 sec.
Function group: 'GDI+'
3 sec.Function: 'SCardControl'
Function group: 'Authentication'
5 sec.Articles
6 sec.Function: 'AVIStreamGetFrameOpen'
Function group: 'Windows Multimedia'
8 sec.Function: 'mixerGetNumDevs'
Function group: 'Windows Multimedia'
11 sec.
15 sec.Solutions
16 sec.
Function group: 'Atom'
18 sec.Function: 'GetSystemInfo'
Function group: 'System Information'
21 sec.Example: 'Accessing examples contained in this reference from a VFP application'
Google
Advertise here!