https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d8e25f06b171608955b9c21781dd3c5f15fcaf4e
commit d8e25f06b171608955b9c21781dd3c5f15fcaf4e Author: Hervé Poussineau <hpous...@reactos.org> AuthorDate: Fri Aug 16 08:50:24 2024 +0200 Commit: Hermès Bélusca-Maïto <hermes.belusca-ma...@reactos.org> CommitDate: Tue Jan 28 22:00:29 2025 +0100 [NTOS:EX] Add prototypes for ExLockUserBuffer/ExUnlockUserBuffer --- ntoskrnl/include/internal/ex.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/ntoskrnl/include/internal/ex.h b/ntoskrnl/include/internal/ex.h index 4c212972fcb..3b3a2fbafb9 100644 --- a/ntoskrnl/include/internal/ex.h +++ b/ntoskrnl/include/internal/ex.h @@ -1510,6 +1510,20 @@ ExTimerRundown( VOID ); +VOID +NTAPI +ExUnlockUserBuffer(PMDL Mdl); + +NTSTATUS +NTAPI +ExLockUserBuffer( + PVOID BaseAddress, + ULONG Length, + KPROCESSOR_MODE AccessMode, + LOCK_OPERATION Operation, + PVOID *MappedSystemVa, + PMDL *OutMdl); + CODE_SEG("INIT") VOID NTAPI