DoxigAlpha

NtProtectVirtualMemory

Function parameters

Parameters

#
BaseAddress:*?PVOID
NumberOfBytesToProtect:*SIZE_T
OldAccessProtection:*ULONG

Functions in this namespace

Functions

#
RtlGetFullPathName_U
Returns the number of bytes written to `Buffer`.

Source

Implementation

#
pub extern "ntdll" fn NtProtectVirtualMemory(
    ProcessHandle: HANDLE,
    BaseAddress: *?PVOID,
    NumberOfBytesToProtect: *SIZE_T,
    NewAccessProtection: ULONG,
    OldAccessProtection: *ULONG,
) callconv(.winapi) NTSTATUS