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.
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.