RapiFreeBuffer

This function frees the memory on the desktop computer allocated by a call to CeFindAllDatabases, CeFindAllFiles, or CeReadRecordProps.

At a Glance

Header file: Rapi.h
Windows CE versions: 1.0 and 1.1

Syntax

HRESULT RapiFreeBuffer( LPVOID Buffer );

Parameters

Buffer

[in] Pointer to the buffer to be freed.

Return Values

S_OK indicates success. E_FAIL indicates failure.

Remarks

Any RAPI function that allocates memory on the desktop computer on the users’ behalf must be freed by calling the RapiFreeBuffer function.

For Windows CE versions 2.0 and later, the name of this function is CeRapiFreeBuffer.