 |
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: |
 |
|
|
 |
 |
| 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: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-07-12 12:00:00 | | Modified: | 2007-12-26 14:46:45 | Visited in last 7 days: 27 |