
IOCTL_HAL_GET_DEVICE INFO / SPI_GETPLATFORMVERSION
Deprecated IOCTL:
The deprecated IOCTL expected an array of versions returned. For example, by checking for a {4,2} value in the array, it could verify the version as WinCE 4.2 or later.
Unified IOCTL:
The new unified 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}.