How to Get Windows 3.1 Version Number in VB with GetVersion (92936)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 1.0
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
This article was previously published under Q92936 SUMMARY
From a Visual Basic program, you can determine the Windows version by
calling the Windows 3.1 API function GetVersion from the Windows kernel
module. The GetVersion function can help your program accommodate
differences in the way API calls operate between different versions of
Windows (such as differences between API parameters or return values).
REFERENCES
"Microsoft Windows Software Development Kit Programmer's Reference Vol. 2:
Functions", pp. 469-470.
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | KB92936 |
---|
|