CeRapiFreeBuffer (RAPI) (Compact 7)

3/12/2014

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

Syntax

HRESULT CeRapiFreeBuffer( 
  LPVOID Buffer 
);

Parameters

  • Buffer
    [in] Pointer to the buffer to be freed.

Return Value

S_OK indicates success.

E_FAIL indicates failure.

Remarks

Any memory allocated on the desktop computer by a RAPI method call must be freed by calling the CeRapiFreeBuffer function.

Requirements

Header

Rrapi.h

Library

rapi.lib

See Also

Reference

RAPI Functions