Export (0) Print
Expand All
Expand Minimize

CeRapiInit (RAPI)

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function syncronously initializes the communication layers between the desktop and the target Windows Embedded CE-based device. CeRapiInit or CeRapiInitEx must be called before calling any of the other RAPI functions.


HRESULT CeRapiInit ();

None.

S_OK indicates success. CERAPI_E_ALREADYINITIALIZED indicates that RAPI has already been initialized. E_FAIL indicates failure.

A call to CeRapiInit does not return until the connection is made, an error occurs, or another thread calls CeRapiUninit. The CeRapiInitEx method does not block the calling thread. Instead, it uses an event to signal when initialization is complete.

Headerrapi.h
Libraryrapi.lib
Windows Embedded CEWindows CE 3.0 and later
Windows MobilePocket PC 2002 and later, Smartphone 2002 and later

Community Additions

ADD
Show:
© 2014 Microsoft