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 function uninitializes a RAPI session.

Syntax

HRESULT CeRapiUninit ();

Parameters

None.

Return Value

E_FAIL indicates that RAPI has not previously been initialized.

Remarks

The 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.

CeRapiUnInitcan be called during a call to CeRapiInitor CeRapiInitExto cancel initialization.

Requirements

Header rapi.h
Library rapi.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Reference

RAPI Functions