Commit 0a7ab984 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

ntoskrnl.exe: Add stub for MmProbeAndLockPages.

parent b1fc2182
...@@ -1454,6 +1454,16 @@ PVOID WINAPI MmPageEntireDriver(PVOID AddrInSection) ...@@ -1454,6 +1454,16 @@ PVOID WINAPI MmPageEntireDriver(PVOID AddrInSection)
return AddrInSection; return AddrInSection;
} }
/***********************************************************************
* MmProbeAndLockPages (NTOSKRNL.EXE.@)
*/
void MmProbeAndLockPages(PMDLX MemoryDescriptorList, KPROCESSOR_MODE AccessMode, LOCK_OPERATION Operation)
{
FIXME("(%p, %u, %u): stub\n", MemoryDescriptorList, AccessMode, Operation);
}
/*********************************************************************** /***********************************************************************
* MmResetDriverPaging (NTOSKRNL.EXE.@) * MmResetDriverPaging (NTOSKRNL.EXE.@)
*/ */
......
...@@ -702,7 +702,7 @@ ...@@ -702,7 +702,7 @@
@ stub MmMarkPhysicalMemoryAsGood @ stub MmMarkPhysicalMemoryAsGood
@ stdcall MmPageEntireDriver(ptr) @ stdcall MmPageEntireDriver(ptr)
@ stub MmPrefetchPages @ stub MmPrefetchPages
@ stub MmProbeAndLockPages @ stdcall MmProbeAndLockPages(ptr long long)
@ stub MmProbeAndLockProcessPages @ stub MmProbeAndLockProcessPages
@ stub MmProbeAndLockSelectedPages @ stub MmProbeAndLockSelectedPages
@ stub MmProtectMdlSystemAddress @ stub MmProtectMdlSystemAddress
......
...@@ -966,6 +966,8 @@ typedef struct _MDL { ...@@ -966,6 +966,8 @@ typedef struct _MDL {
ULONG ByteOffset; ULONG ByteOffset;
} MDL, *PMDL; } MDL, *PMDL;
typedef MDL *PMDLX;
typedef struct _KTIMER { typedef struct _KTIMER {
DISPATCHER_HEADER Header; DISPATCHER_HEADER Header;
ULARGE_INTEGER DueTime; ULARGE_INTEGER DueTime;
...@@ -1088,10 +1090,16 @@ typedef struct _IO_REMOVE_LOCK_DBG_BLOCK { ...@@ -1088,10 +1090,16 @@ typedef struct _IO_REMOVE_LOCK_DBG_BLOCK {
} IO_REMOVE_LOCK_DBG_BLOCK; } IO_REMOVE_LOCK_DBG_BLOCK;
typedef struct _IO_REMOVE_LOCK { typedef struct _IO_REMOVE_LOCK {
IO_REMOVE_LOCK_COMMON_BLOCK Common; IO_REMOVE_LOCK_COMMON_BLOCK Common;
IO_REMOVE_LOCK_DBG_BLOCK Dbg; IO_REMOVE_LOCK_DBG_BLOCK Dbg;
} IO_REMOVE_LOCK, *PIO_REMOVE_LOCK; } IO_REMOVE_LOCK, *PIO_REMOVE_LOCK;
typedef enum {
IoReadAccess,
IoWriteAccess,
IoModifyAccess
} LOCK_OPERATION;
NTSTATUS WINAPI ObCloseHandle(IN HANDLE handle); NTSTATUS WINAPI ObCloseHandle(IN HANDLE handle);
#ifdef NONAMELESSUNION #ifdef NONAMELESSUNION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment