IRAPISession::CeGetVersionEx

Send Feedback

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

BOOL CeGetVersionEx(
  LPCEOSVERSIONINFO lpVersionInformation 
);

Parameters

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

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

Return Values

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

Remarks

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

Requirements

OS Versions: Windows CE 5.01 and later.
Header: Rapi2.h.
Link Library: Ole32.lib, Rapiuuid.lib

See Also

IRAPISession::IUnknown | CEOSVERSIONINFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.