Frees a buffer allocated by the Parallels API library and returned to the client.
PRL_RESULT PrlBuffer_Free( PRL_VOID_PTR buffer );
PrlApiCore.h
PRL_RESULT . Possible values:
PRL_ERR_INVALID_ARG - invalid pointer to the buffer was specified.
PRL_ERR_SUCCESS - operation completed successfully.
Every time a pointer to a buffer containing the data is returned to the client, it must be freed using this function. Failure to do so will result in memory leaks.
Copyright © 1999-2015 Parallels IP Holdings GmbH and its affiliates. All rights reserved.
|
What do you think about this topic?
Send feedback!
|