Share via


IRAPISession::CeRapiUninit

Send Feedback

This method uninitializes a RAPI2 session.

HRESULT CeRapiUninit ();

Parameters

None.

Return Values

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 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::CeRapiInit to cancel initialization.

Requirements

OS Versions: Windows CE 5.01 and later.
Header: Rapi2.h.
Link Library: Ole32.lib, Rapiuuid.lib

See Also

IRAPISession::IUnknown | IRAPISession::CeRapiInit

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.