Group: Remote Application Programming (RAPI) - Library: rapi
This function attempts to initialize the Windows CE remote application programming interface (RAPI) and initially returns an event handle.
Pocket PC: base class
Pocket PC: custom RAPI class for operating with the System Registry
Pocket PC: custom RAPI class for operating with files and folders on mobile device
PocketPC: custom RAPI class for executing routines on remote Windows CE device
HRESULT CeRapiInitEx(
RAPIINIT* pRapiInit
);
DECLARE INTEGER CeRapiInitEx IN rapi;
STRING @ pRapiInit
pRapiInit [in] Pointer to a RAPIINIT structure.
S_OK indicates success. E_FAIL indicates failure.
This non-blocking function creates an event handle, which can be retrieved from the RAPIINIT structure immediately after the call. Use WaitForSingleObject to check either for the signaled state of the event or for the time-out.
The HRESULT hrRapiInit parameter in the RAPIINIT may be not reliable.
Call CeRapiUninit even if the connection failed.