1 #pragma once 2 3 typedef VOID 4 NTAPI 5 PExFreePool(PVOID Block); 6 7 typedef PMDL 8 NTAPI 9 PMmCreateMdl( 10 PMDL Mdl, 11 PVOID Base, 12 ULONG Length 13 ); 14 15 typedef VOID 16 NTAPI 17 PMmProbeAndLockPages( 18 PMDL Mdl, 19 KPROCESSOR_MODE AccessMode, 20 LOCK_OPERATION Operation 21 ); 22 23 typedef LONG_PTR 24 FASTCALL 25 PObDereferenceObject(PVOID Object); 26 27 typedef NTSTATUS 28 NTAPI 29 PObReferenceObjectByHandle( 30 HANDLE Handle, 31 ACCESS_MASK DesiredAccess, 32 POBJECT_TYPE ObjectType, 33 KPROCESSOR_MODE AccessMode, 34 PVOID* Object, 35 POBJECT_HANDLE_INFORMATION HandleInformation 36 ); 37