Frees a private or shared memory object from the virtual-address space of the process.
#define INCL_DOSMEMMGR #include <os2.h> PVOID pb; /* The base virtual address of the private or shared memory object whose reference is to be freed. */ APIRET ulrc; /* Return Code. */ ulrc = DosFreeMem(pb);