The CeRapiFreeBuffer function frees the memory on the desktop PC allocated by a call to CeFindAllDatabases, CeFindAllFiles, or CeReadRecordProps.
HRESULT CeRapiFreeBuffer(LPVOID Buffer);
Header file: | Rapi.h |
Platforms: | H/PC |
Windows CE versions: | 2.0 and later |
If the function completes successfully it returns the value SOK, otherwise it returns E_FAIL.
Any RAPI function that allocates memory on the desktop PC on the users behalf must be freed by calling the CeRapiFreeBuffer function.
When writing applications for Windows CE versions 1.0 and 1.01, use the RapiFreeBuffer function.
For more information about using RAPI functions, see Invoking Functions from a Desktop Computer.