Share via


IRAPISession::CeRapiUninit (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

IRAPISession
IRAPISession::CeRapiInit