WinCEGeräteSE_Handbuch_Programmierung_v3.00_EN
18 / 65
3.4.3 Defining the Windows CE version
To compile CE to be platform dependent, this or a similar define block can be added.
#if _WIN32_WCE < 0x600
// Windows CE 5.0
#else
// Windows CE 6.0
#endif
If the CE version is to be defined in runtime, suitable Windows API functions are available such as
GetVersionEx()
.