2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2004-10-28 19:01:59 +00:00
|
|
|
|
2005-09-13 23:28:21 +00:00
|
|
|
typedef VOID
|
2006-09-06 12:19:00 +00:00
|
|
|
NTAPI
|
2004-10-28 19:01:59 +00:00
|
|
|
PExFreePool(PVOID Block);
|
|
|
|
|
2005-09-13 23:28:21 +00:00
|
|
|
typedef PMDL
|
2006-09-06 12:19:00 +00:00
|
|
|
NTAPI
|
2005-09-13 23:28:21 +00:00
|
|
|
PMmCreateMdl(
|
|
|
|
PMDL Mdl,
|
|
|
|
PVOID Base,
|
|
|
|
ULONG Length
|
|
|
|
);
|
|
|
|
|
|
|
|
typedef VOID
|
2006-09-06 12:19:00 +00:00
|
|
|
NTAPI
|
2005-09-13 23:28:21 +00:00
|
|
|
PMmProbeAndLockPages(
|
|
|
|
PMDL Mdl,
|
|
|
|
KPROCESSOR_MODE AccessMode,
|
|
|
|
LOCK_OPERATION Operation
|
|
|
|
);
|
|
|
|
|
2006-09-07 05:07:34 +00:00
|
|
|
typedef LONG_PTR
|
2005-09-13 23:28:21 +00:00
|
|
|
FASTCALL
|
2004-10-28 19:01:59 +00:00
|
|
|
PObDereferenceObject(PVOID Object);
|
|
|
|
|
2005-09-13 23:28:21 +00:00
|
|
|
typedef NTSTATUS
|
2006-09-06 12:19:00 +00:00
|
|
|
NTAPI
|
2005-09-13 23:28:21 +00:00
|
|
|
PObReferenceObjectByHandle(
|
|
|
|
HANDLE Handle,
|
|
|
|
ACCESS_MASK DesiredAccess,
|
|
|
|
POBJECT_TYPE ObjectType,
|
|
|
|
KPROCESSOR_MODE AccessMode,
|
|
|
|
PVOID* Object,
|
|
|
|
POBJECT_HANDLE_INFORMATION HandleInformation
|
|
|
|
);
|