Used to free pages allocated with AllocateTitlePhysicalPages.
BOOL FreeTitlePhysicalPages(
HANDLE hProcess,
ULONG_PTR NumberOfPages,
PULONG_PTR PageArray
)
hProcess
Type: HANDLE
[in] Process handle.
NumberOfPages
Type: ULONG_PTR
[in] Number of pages.
PageArray
Type: PULONG_PTR
[in] A pointer to an array to store the page frame numbers of the allocated memory.
Type: BOOL
FreeTitlePhysicalPages can be used to free pages allocated with AllocateTitlePhysicalPages. If the pages are mapped when FreeTitlePhysicalPages is called, they will remain mapped, until they are unmapped by a call to VirtualFree or an appropriate form of MapTitlePhysicalPages. When freed pages are unmapped in this way, they will be freed at unmapping time, just as if they had been allocated by VirtualAlloc.
Header: Declared in xmem.h.