The LocalCompact function is obsolete. Every Win32 application has a heap managed by the system. DLLs that must manage their own heap should use the Win32 Heap functions.
This function is provided in Win32 only for compatibility with earlier versions of Windows. New Win32 applications should not use this function.
HeapAlloc HeapCreate, HeapDestroy HeapSize