Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
3/28/2014
This structure contains OS version information. The information includes major and minor version numbers, a build number, a platform identifier, and descriptive text about the OS. This structure is used with the GetVersionEx function.
Syntax
typedef struct _OSVERSIONINFO{
DWORD dwOSVersionInfoSize;
DWORD dwMajorVersion;
DWORD dwMinorVersion;
DWORD dwBuildNumber;
DWORD dwPlatformId;
TCHAR szCSDVersion[128];
} OSVERSIONINFO;
Members
- dwOSVersionInfoSize
Size, in bytes, of this data structure. Set this member to sizeof(OSVERSIONINFO) before calling the GetVersionEx function.
- dwMajorVersion
Major version number of the OS.
- dwMinorVersion
Minor version number of the OS.
- dwBuildNumber
Build number of the OS or is set to 0.
dwPlatformId
OS. The following table shows the possible values for this member.Value
Description
VER_PLATFORM_WIN32_CE
Specifies the Windows Embedded Compact OS.
VER_PLATFORM_WIN32_NT
Specifies the Windows NT OS.
VER_PLATFORM_WIN32_WINDOWS
Specifies the Windows 95 or Windows 98 OS.
For Windows 95, dwMinorVersion is zero.
For Windows 98, dwMinorVersion is greater than zero.
VER_PLATFORM_WIN32s
Specifies the Windows 3.1 OS.
- szCSDVersion
Null-terminated string that provides arbitrary additional information about the OS.
Requirements
Header |
winbase.h |