2.2.30 FW_OS_PLATFORM

This structure describes a set of operating system platforms. The fields in this data type correspond to the fields of the OSVERSIONINFOEX data type (for more information, see [MSDN-OSVERSIONINFOEX]). There are no constraints on the values allowed for the platform type, major version, or minor version. The set can include values that do not correspond to any existing operating system platform.

 typedef struct _tag_FW_OS_PLATFORM {
   unsigned char bPlatform;
   unsigned char bMajorVersion;
   unsigned char bMinorVersion;
   unsigned char Reserved;
 } FW_OS_PLATFORM,
  *PFW_OS_PLATFORM;

bPlatform: The three least significant bits identify the platform type. This corresponds to the dwPlatformId field in MSDN. The five most significant bits contain a value from the FW_OS_PLATFORM_OP enumeration.

bMajorVersion: Specifies the major version number for the OS. This corresponds to the dwMajorVersion field in MSDN.

bMinorVersion: Specifies the minor version number for the OS. This corresponds to the dwMinorVersion field in MSDN.

Reserved: Not used. Reserved for future use.