| 434 | } |
| 435 | |
| 436 | BOOL WINAPI KbFreeKernelMemory(IN WdkTypes::PVOID KernelAddress) |
| 437 | { |
| 438 | if (!KernelAddress) return FALSE; |
| 439 | KB_FREE_KERNEL_MEMORY_IN Input = {}; |
| 440 | Input.KernelAddress = KernelAddress; |
| 441 | BOOL Status = KbSendRequest(Ctls::KbFreeKernelMemory, &Input, sizeof(Input)); |
| 442 | DWORD LE = GetLastError(); |
| 443 | return Status; |
| 444 | } |
| 445 | |
| 446 | BOOL WINAPI KbAllocNonCachedMemory(ULONG Size, OUT WdkTypes::PVOID* KernelAddress) |
| 447 | { |
no test coverage detected