MCPcopy Create free account
hub / github.com/HoShiMin/Kernel-Bridge / KbProtectMappedMemory

Function KbProtectMappedMemory

User-Bridge/API/User-Bridge.cpp:560–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 1

KbSendRequestFunction · 0.85

Tested by

no test coverage detected