Jump to content

KernAllocateContextHook

From EDM2
Revision as of 05:23, 6 June 2016 by Martini (talk | contribs) (Created page with "==Synopsis== APIRET APIENTRY KernAllocateContextHook(PVOID pfHandler,ULONG dummy, PULONG pHook); ==Description== Allocate a new Context hook for use with KernArmHook. ==Para...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Synopsis

APIRET APIENTRY KernAllocateContextHook(PVOID pfHandler,ULONG dummy, PULONG pHook);

Description

Allocate a new Context hook for use with KernArmHook.

Parameters

pfHandler

   This is the address of the hook handler. This is likely a pointer to a 32 bit function. 

dummy

   I don't know why this is there, it is never accessed in the code. 

pHook

   The pointer to an ULONG where the hook handle is returned. 

Comments

See comments for KernArmHook.