IRAPISession::CeRapiUninit
A version of this page is also available for
4/8/2010
This method uninitializes a RAPI2 session.
Syntax
HRESULT CeRapiUninit ();
Parameters
None.
Return Value
E_FAIL indicates that the RAPI2 session has not been previously initialized.
Remarks
The IRAPISession::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 CE-based device. If called when not in an initialized state, it will return E_FAIL.
IRAPISession::CeRapiUnInit can be called during a call to IRAPISession::CeRapiInitto cancel initialization.
Requirements
Header | rapi2.h |
Library | ole32.lib, rapiuuid.lib |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |