CeGetVersionEx (RAPI)
This function obtains extended information about the version of the operating system that is currently running. CeGetVersionEx is a remote application interface (RAPI), which enables an application running on a desktop computer to make function calls on a Windows CE–based device.
BOOL CeGetVersionEx(
LPCEOSVERSIONINFO lpVersionInformation);
Parameters
lpVersionInformation
[out] Long pointer to an 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)'.
Return Values
Nonzero indicates success. Zero indicates failure. To determine if a function failed because of RAPI errors, call CeRapiGetError. To determine if a function failed because of non-RAPI errors, call CeGetLastError.
Remarks
CeGetVersionEx fails if you specify an invalid value for the dwOSVersionInfoSize member of the CEOSVERSIONINFO structure.
When writing applications for Windows CE versions 1.0 and 1.01, use the PegGetVersionEx function.
When writing applications for Windows CE Japanese 2.01 be aware that the Tool Bar will indicate that the version is 2.0.
Requirements
| Runs On | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 2.0 and later | Rapi.h |
See Also
CeGetLastError, CeRapiGetError, GetVersionEx, CEOSVERSIONINFO
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.