Share via


Implementation of the SPI_GETPLATFORMVERSION IOCTL (Windows Embedded CE 6.0)

1/5/2010

SPI_GETPLATFORMVERSION is used to assign a version number to a run-time image.

The IOCTL returns a single version. For example, if you want to check for version 4.2 or later, simply do a >= comparison of the return value and {4,2}.

The version information is necessary because CAB files can now specify that a run-time image only be installed on the target device if the following conditions are true:

  • The run-time image name matches the name specified in the CAB file.
  • The run-time image version number is in the range specified in the CAB file.

For more information, see SystemParametersInfo and Device Information IOCTL Unification.

See Also

Concepts

OEM Adaptation Layer