OSVERSIONINFO Structure
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
Back to the index.
Go to Paul Kuliniewicz's Home Page.
E-mail: rogue953@hotmail.com
This page is at http://skyscraper.fortunecity.com/transmission/45/api/o/osversioninfo.html