CeRapiUninit

The CeRapiUnInit function uninitializes the Windows CE Remote API.

Syntax

STDAPI CeRapiUninit(void);

At a Glance

Header file: Rapi.h
Platforms: H/PC
Windows CE versions: 2.0 and later

Parameters

None.

Return Values

If this function is called when not initialized, it will return E_FAIL.

Remarks

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

When writing applications for Windows CE versions 1.0 and 1.01, use the PegRapiUninit function.

For more information about using RAPI functions, see Invoking Functions from a Desktop Computer.