| 558 | } |
| 559 | |
| 560 | BOOL WINAPI KbProtectMappedMemory(IN WdkTypes::PMDL Mdl, ULONG Protect) |
| 561 | { |
| 562 | if (!Mdl) return FALSE; |
| 563 | KB_PROTECT_MAPPED_MEMORY_IN Input = {}; |
| 564 | Input.Mdl = Mdl; |
| 565 | Input.Protect = Protect; |
| 566 | return KbSendRequest(Ctls::KbProtectMappedMemory, &Input, sizeof(Input)); |
| 567 | } |
| 568 | |
| 569 | BOOL WINAPI KbUnmapMdl(IN WdkTypes::PMDL Mdl, IN WdkTypes::PVOID MappedMemory, BOOLEAN NeedUnlock) |
| 570 | { |
nothing calls this directly
no test coverage detected