Frees a block of thread-local memory that was originally allocated using DosAllocThreadLocalMemory.
#define INCL_DOSPROCESS #include <os2.h> ULONG *p; /* Address of the memory block to free. */ APIRET rc; /* Return Code. */ rc = DosFreeThreadLocalMemory(p);