wpFreeMem - Syntax

This instance method is called to de-allocate memory allocated by a call to wpAllocMem.

#define INCL_WINWORKPLACE
#include <os2.h>

WPObject     *somSelf;  /*  Pointer to the object on which the method is being invoked. */
PBYTE         pByte;    /*  Pointer to the memory to be de-allocated. */
BOOL          rc;       /*  Success indicator. */

rc = _wpFreeMem(somSelf, pByte);


[Back: wpFreeMem]
[Next: wpFreeMem Parameter - somSelf]