Share via


IRAPISession::CeRapiFreeBuffer

Send Feedback

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

HRESULT CeRapiFreeBuffer( 
  LPVOID Buffer 
);

Parameters

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

Return Values

S_OK indicates success.

E_FAIL indicates failure.

Remarks

Any memory allocated on the desktop computer by a RAPI2 method call must be freed by calling the IRAPISession::CeRapiFreeBuffer method.

Requirements

OS Versions: Windows CE 5.01 and later.
Header: Rapi2.h.
Link Library: Ole32.lib, Rapiuuid.lib

See Also

IRAPISession::IUnknown | IRAPISession::CeFindAllDatabases | IRAPISession::CeFindAllFiles | IRAPISession::CeReadRecordProps | IRAPISession::CeRapiFreeBuffer

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.