태터데스크 관리자

도움말
닫기
적용하기   첫페이지 만들기

태터데스크 메시지

저장하였습니다.


댓글 하나가 운영자에겐 커다란 힘이 됩니다!

http://msdn.microsoft.com/en-us/library/ms724833(VS.85).aspx
http://msdn.microsoft.com/en-us/library/ms724833(VS.85).aspx

OSVERSIONINFOEX Structure

Contains operating system version information. The information includes major and minor version numbers, a build number, a platform identifier, and information about product suites and the latest Service Pack installed on the system. This structure is used with the GetVersionEx and VerifyVersionInfo functions.

C++
typedef struct _OSVERSIONINFOEX {
  DWORD dwOSVersionInfoSize;
  DWORD dwMajorVersion;
  DWORD dwMinorVersion;
  DWORD dwBuildNumber;
  DWORD dwPlatformId;
  TCHAR szCSDVersion[128];
  WORD  wServicePackMajor;
  WORD  wServicePackMinor;
  WORD  wSuiteMask;
  BYTE  wProductType;
  BYTE  wReserved;
} OSVERSIONINFOEX, *POSVERSIONINFOEX, *LPOSVERSIONINFOEX;
dwMajorVersion
    The major version number of the operating system. For more information, see Remarks.
 
dwMinorVersion
    The minor version number of the operating system. For more information, see Remarks.

Operating system

Version number

dwMajorVersion

dwMinorVersion

Windows 7

6.1

6

1

Windows Server 2008 R2

6.1

6

1

Windows Server 2008

6.0

6

0

Windows Vista

6.0

6

0

Windows Server 2003 R2

5.2

5

2

Windows Home Server

5.2

5

2

Windows Server 2003

5.2

5

2

Windows XP Professional x64 Edition

5.2

5

2

Windows XP

5.1

5

1

Windows 2000

5.0

5

0


실제 사용예는 아래의 링크에서 확인하세요.
http://himskim.egloos.com/1951478
Windows Vista와 Windows 7의 Version checking.pdf

위의 정보가 도움이 되셨나요? 그렇다면 댓글 하나만 남겨주세요.
댓글 하나가 운영자에겐 커다란 힘이 됩니다!

Write your message and submit
« PREV : 1 : ... 5 : 6 : 7 : 8 : 9 : 10 : 11 : 12 : 13 : ... 432 : NEXT »