... Systems Programming17 2/23/2008Windows Memory Management Physical Memory Disk & File SystemWindows Kernel with Virtual Memory ManagerVirtual Memory APIHeap APIMMF APIWindows ProgramC ... GetExceptionCode());} /* free allocated memory */HeapDestroy(hHeap);CS222 - Systems Programming28 2/23/2008Review Memory management – Overview– Heap management – Memory- mapped files– Dynamic link ... 2/23/2008Scope of Allocated Memory All memory allocated by memory allocation functions– Is process-wide– HeapAlloc, VirtualAlloc, GlobalAlloc, LocalAlloc All memory allocated by a DLL is...