= freeHost =
== Syntax == int freeHost(int bufferID) == Arguments == :bufferID ::The ID of the memory buffer to be freed. == Return == Always returns true. == Description == Frees a memory block previously allocated by the host application by using the allocHost function. == Example == <code> int bufferID = allocHost(100); if (bufferID == NULL) { Warn("Could not allocate memory"); }else { char* memptr = lockHost(bufferID); sprintf(memptr, "Message goes here!"); Info(memptr); freeHost(bufferID); }</code> == See Also == |