CeGetVersionEx (RAPI)

Windows Mobile 6.5
A version of this page is also available for

This function obtains extended information about the version of the operating system that is currently running on a remote Windows Embedded CE–based device.

BOOL CeGetVersionEx(
  LPCEOSVERSIONINFO lpVersionInformation 


[out] Long pointer to a CEOSVERSIONINFO data structure that the function fills with operating system version information.

Before calling the CeGetVersionEx function, set the dwOSVersionInfoSize member of the CEOSVERSIONINFO data structure to 'sizeof(CEOSVERSIONINFO)'.

Nonzero indicates success. Zero indicates failure. To get extended error information, call CeGetLastError and CeRapiGetError.

CeGetVersionEx fails if you specify an invalid value for the dwOSVersionInfoSize member of the CEOSVERSIONINFO structure.

Windows Embedded CEWindows CE 3.0 and later
Windows MobilePocket PC 2000 and later, Smartphone 2002 and later