36 if (pvBaseAddress ==
NULL)
200 volatile BYTE *pjProbe;
230 if (Mem == (
HANDLE)-1)
return;
#define NT_SUCCESS(StatCode)
#define __drv_allocatesMem(kind)
#define ExAllocatePoolWithTag(hernya, size, tag)
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
VOID NTAPI ProbeForWrite(IN PVOID Address, IN SIZE_T Length, IN ULONG Alignment)
#define EXCEPTION_EXECUTE_HANDLER
VOID NTAPI MmProbeAndLockPages(IN PMDL Mdl, IN KPROCESSOR_MODE AccessMode, IN LOCK_OPERATION Operation)
VOID NTAPI MmUnlockPages(IN PMDL Mdl)
#define ExFreePoolWithTag(_P, _T)
#define _Must_inspect_result_
#define _When_(expr, annos)
#define _Ret_opt_bytecap_(size)
#define _Ret_opt_bytecount_(size)
#define NtCurrentProcess()
_In_ ULONG _In_ ULONG _In_ ULONG Length
VOID NTAPI MmUnsecureVirtualMemory(IN PVOID SecureMem)
PVOID NTAPI MmSecureVirtualMemory(IN PVOID Address, IN SIZE_T Length, IN ULONG Mode)
void * EngAllocMem(int zero, unsigned long size, int tag=0)
#define _SEH2_GetExceptionCode()
#define _SEH2_EXCEPT(...)
#define _SEH2_YIELD(__stmt)
#define RtlZeroMemory(Destination, Length)
#define ALIGN_DOWN_POINTER_BY(ptr, align)
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
HANDLE APIENTRY EngSecureMem(PVOID Address, ULONG Length)
VOID APIENTRY EngUnsecureMem(HANDLE Mem)
PVOID APIENTRY HackSecureVirtualMemory(IN PVOID Address, IN SIZE_T Size, IN ULONG ProbeMode, OUT PVOID *SafeAddress)
VOID APIENTRY HackUnsecureVirtualMemory(IN PVOID SecureHandle)
HANDLE APIENTRY EngSecureMemForRead(PVOID Address, ULONG Length)
VOID APIENTRY EngFreeUserMem(PVOID pvBaseAddress)
_In_ ULONG _In_ ULONG ulTag
_Must_inspect_result_ _In_ ULONG cjMemSize
#define FL_NONPAGED_MEMORY
enum _LOCK_OPERATION LOCK_OPERATION
#define MmGetSystemAddressForMdlSafe(_Mdl, _Priority)
_Must_inspect_result_ _In_ _In_ ULONG ProbeMode
#define ADDRESS_AND_SIZE_TO_SPAN_PAGES(_Va, _Size)