- Change UNIMPLEMENTED to DPRINT1 in MmLockPagableSectionByHandle.
svn path=/trunk/; revision=14566
MmLockPagableSectionByHandle(IN PVOID ImageSectionHandle)
{
// MmLockMemoryArea((MEMORY_AREA *)ImageSectionHandle);
- UNIMPLEMENTED;
+ DPRINT1("MmLockPagableSectionByHandle is unimplemented\n");
}
MmLockPagableDataSection(IN PVOID AddressWithinSection)
{
PVOID Handle;
- Handle = MmLocateMemoryAreaByAddress(NULL, AddressWithinSection);
+ Handle = MmLocateMemoryAreaByAddress(MmGetKernelAddressSpace(),
+ AddressWithinSection);
MmLockPagableSectionByHandle(Handle);
return(Handle);
}