NtDllNtUnmapViewOfSection(IntPtr, IntPtr) Method
Unmaps a view of a section from the virtual address space of a subject process.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("NtDll.dll", CallingConvention = CallingConvention.StdCall)]
public static NTStatus NtUnmapViewOfSection(
IntPtr hProcess,
IntPtr address
)
<DllImportAttribute("NtDll.dll", CallingConvention := CallingConvention.StdCall>]
Public Shared Function NtUnmapViewOfSection (
hProcess As IntPtr,
address As IntPtr
) As NTStatus
Dim hProcess As IntPtr
Dim address As IntPtr
Dim returnValue As NTStatus
returnValue = NtDll.NtUnmapViewOfSection(hProcess,
address)
public:
[DllImportAttribute(L"NtDll.dll", CallingConvention = CallingConvention::StdCall)]
static NTStatus NtUnmapViewOfSection(
[InAttribute] IntPtr hProcess,
[InAttribute] IntPtr address
)
[<DllImportAttribute("NtDll.dll", CallingConvention = CallingConvention.StdCall)>]
static member NtUnmapViewOfSection :
hProcess : IntPtr *
address : IntPtr -> NTStatus
No code example is currently available or this language may not be supported.
- hProcess IntPtr
-
Handle to a process object that was previously passed to NtMapViewOfSection(IntPtr, SafeProcessHandle, IntPtr, IntPtr, IntPtr, Int64, UIntPtr, SectionInherit, MemoryAllocationType, MemoryProtectionOptions).
- address IntPtr
-
Pointer to the base virtual address of the view to unmap.
This value can be any virtual address within the view.
NTStatus
Returns
SUCCESS on success, or the appropriate
NTStatus error code on failure.