CeRapiUninit (RAPI) (Compact 7)

3/12/2014

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 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 Compact-based device. If called when not in an initialized state, it will return E_FAIL.

CeRapiUnInit can be called during a call to CeRapiInit or CeRapiInitEx to cancel initialization.

Requirements

Header

rapi.h

Library

rapi.lib

See Also

Reference

RAPI Functions