共用方式為


2.2.3.10.2 OSVERSIONINFOEX

The OSVERSIONINFOEX structure specifies extended operating system (OS) version information for use with Server Handle Key Values (section 2.2.3.10).


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

OSVersionInfo (276 bytes)

...

...

...

wServicePackMajor

wServicePackMinor

wSuiteMask

wProductType

wReserved

OSVersionInfo (276 bytes): An OSVERSIONINFO structure (section 2.2.3.10.1), which specifies basic OS version information.

wServicePackMajor (2 bytes): The major version number of the latest Service Pack installed on the system. For example, for Service Pack 3, the major version number is 3. If no Service Pack has been installed, the value is zero.

wServicePackMinor (2 bytes): The minor version number of the latest Service Pack installed on the system. For example, for Service Pack 3, the minor version number is 0.

wSuiteMask (2 bytes): A value that identifies the product suites available on the system, consisting of Product Suite Flags (section 2.2.3.10.5).

wProductType (1 byte): Additional information about the OS, which MUST be an OS_TYPE enumeration (section 2.2.3.10.3) value.

wReserved (1 byte): A field that SHOULD be initialized to zero when sent and MUST be ignored on receipt.