| 1027 | } |
| 1028 | |
| 1029 | BOOL WINAPI KbFreeUserMemory(ULONG ProcessId, WdkTypes::PVOID BaseAddress) |
| 1030 | { |
| 1031 | if (!ProcessId || !BaseAddress) return FALSE; |
| 1032 | KB_FREE_USER_MEMORY_IN Input = {}; |
| 1033 | Input.ProcessId = ProcessId; |
| 1034 | Input.BaseAddress = BaseAddress; |
| 1035 | return KbSendRequest(Ctls::KbFreeUserMemory, &Input, sizeof(Input)); |
| 1036 | } |
| 1037 | |
| 1038 | BOOL WINAPI KbSecureVirtualMemory( |
| 1039 | ULONG ProcessId, |