 |
CeRapiInitEx ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
This function attempts to initialize the Windows CE remote application programming interface (RAPI) and initially returns an event handle. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HRESULT CeRapiInitEx(
RAPIINIT* pRapiInit
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CeRapiInitEx IN rapi;
STRING @ pRapiInit
|
 |
 |
 |
| Parameters: |
 |
pRapiInit
[in] Pointer to a RAPIINIT structure. |
 |
 |
| Return value: |
 |
| S_OK indicates success. E_FAIL indicates failure. |
 |
 |
| My comment: |
 |
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. |
 |
 |
| Word Index links for the CeRapiInitEx : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-06-21 20:16:28 | | Modified: | 2004-06-30 11:25:54 | Visited in last 7 days: 19 |