Windows API Guide: MessageBox Function


Type OSVERSIONINFO   dwOSVersionInfoSize As Long   dwMajorVersion As Long   dwMinorVersion As Long   dwBuildNumber As Long   dwPlatformId As Long   szCSDVersion As String * 128 End Type

OSVERSIONINFO-type variables hold information about the version of Windows currently running. This structure holds various pieces of information identifying the version number, platform, and more about Windows.

dwOSVersionInfoSize
The size of the structure.
dwMajorVersion
The major version number; i.e., the part of the version number before the first period.
dwMinorVersion
The minor version number; i.e., the part of the version number after the first period.
dwBuildNumber
The build number of the version.
dwPlatformID
Exactly one of the following flags identifying which platform of Windows is running (for example, Windows 95, Windows NT, etc.):
VER_PLATFORM_WIN32s = 0
Windows 3.x is running, using the Win32s pseudo-32-bit enhancements.
VER_PLATFORM_WIN32_WINDOWS = 1
Windows 95 or 98 is running.
VER_PLATFORM_WIN32_NT = 2
Windows NT is running.
szCSDVersion
More information about the operating system.

Used by: GetVersionEx

Go back to the alphabetical Structure listing.
Go back to the Reference section index.


This page is copyright © 2000 Paul Kuliniewicz. Copyright Information.
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/o/osversioninfo.html



Windows API Guide
Windows API Guide - Reference - Volume 1: Version 3.0 For the MS-DOS and PC-DOS Operating Systems
ISBN: B001V0KQIY
EAN: N/A
Year: 1998
Pages: 610

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net