ntoskrnl.exe: Add stub for MmProbeAndLockPages.

This commit is contained in:
Christian Costa 2012-09-29 22:28:08 +02:00 committed by Alexandre Julliard
parent b1fc2182b1
commit 0a7ab9841d
3 changed files with 21 additions and 3 deletions

View File

@ -1454,6 +1454,16 @@ PVOID WINAPI MmPageEntireDriver(PVOID 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.@)
*/

View File

@ -702,7 +702,7 @@
@ stub MmMarkPhysicalMemoryAsGood
@ stdcall MmPageEntireDriver(ptr)
@ stub MmPrefetchPages
@ stub MmProbeAndLockPages
@ stdcall MmProbeAndLockPages(ptr long long)
@ stub MmProbeAndLockProcessPages
@ stub MmProbeAndLockSelectedPages
@ stub MmProtectMdlSystemAddress

View File

@ -966,6 +966,8 @@ typedef struct _MDL {
ULONG ByteOffset;
} MDL, *PMDL;
typedef MDL *PMDLX;
typedef struct _KTIMER {
DISPATCHER_HEADER Header;
ULARGE_INTEGER DueTime;
@ -1088,10 +1090,16 @@ typedef struct _IO_REMOVE_LOCK_DBG_BLOCK {
} IO_REMOVE_LOCK_DBG_BLOCK;
typedef struct _IO_REMOVE_LOCK {
IO_REMOVE_LOCK_COMMON_BLOCK Common;
IO_REMOVE_LOCK_DBG_BLOCK Dbg;
IO_REMOVE_LOCK_COMMON_BLOCK Common;
IO_REMOVE_LOCK_DBG_BLOCK Dbg;
} IO_REMOVE_LOCK, *PIO_REMOVE_LOCK;
typedef enum {
IoReadAccess,
IoWriteAccess,
IoModifyAccess
} LOCK_OPERATION;
NTSTATUS WINAPI ObCloseHandle(IN HANDLE handle);
#ifdef NONAMELESSUNION