CeRapiUninit (RAPI) (Compact 7)
This function uninitializes a RAPI session.
HRESULT CeRapiUninit ();
E_FAIL indicates that RAPI has not previously been initialized.
The CeRapiUnInit method should be called when the application has completed its use of the remote API services. It gracefully closes down the connection to the Windows Embedded Compact-based device. If called when not in an initialized state, it will return E_FAIL.