MCPcopy Create free account
hub / github.com/WinDurango/WinDurango / GetVirtualAddress

Method GetVirtualAddress

projects/WinDurango.KernelX/src/Logan.cpp:3–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "Logan.h"
2
3PVOID LoganHeap::GetVirtualAddress(APU_ADDRESS ApuAddress, SIZE_T SizeInBytes)
4{
5 if (!ApuAddress || (ApuAddress + SizeInBytes) >= _sizeInBytes)
6 return nullptr;
7 return (PVOID)((ULONG_PTR)_view + ApuAddress);
8}
9
10APU_ADDRESS LoganHeap::GetAPUAddress(PVOID CpuAddress)
11{

Callers 1

LoganChannelProcFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected