Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
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::CeRapiUnInitmethod 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::CeRapiUnInitcan 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

See Also