/**
* The NtUnmapViewOfSection routine unmaps a view of a section from the virtual address space of a subject process.
*
* \param ProcessHandle Handle to a process object that was previously passed to NtMapViewOfSection.
* \param BaseAddress Pointer to the base virtual address of the view to unmap. This value can be any virtual address within the view.
* \return NTSTATUS Successful or errant status.
* \sa https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-zwunmapviewofsection
*/
NTSYSCALLAPI
NTSTATUS
NTAPI
NtUnmapViewOfSection(
_In_ HANDLE ProcessHandle,
_In_opt_ PVOID BaseAddress
);
View code on GitHub