Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.04 KB

CeRapiFreeBuffer.md

File metadata and controls

47 lines (31 loc) · 1.04 KB

Home

Function name : CeRapiFreeBuffer

Group: Remote Application Programming (RAPI) - Library: rapi


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


Code examples:

Pocket PC: custom RAPI class for operating with files and folders on mobile device

Declaration:

HRESULT CeRapiFreeBuffer(
  LPVOID Buffer
);  

FoxPro declaration:

DECLARE INTEGER CeRapiFreeBuffer IN rapi;
	INTEGER Buffer  

Parameters:

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


Return value:

S_OK (0) indicates success.


Comments:

Any RAPI function that allocates memory on the desktop computer on the behalf of the user must be freed by calling the CeRapiFreeBuffer function.