Jump to content

KernAllocateContextHook: Difference between revisions

From EDM2
Created page with "==Synopsis== APIRET APIENTRY KernAllocateContextHook(PVOID pfHandler,ULONG dummy, PULONG pHook); ==Description== Allocate a new Context hook for use with KernArmHook. ==Para..."
 
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
Allocate a new Context hook for use with KernArmHook.
==Synopsis==
==Synopsis==
APIRET APIENTRY KernAllocateContextHook(PVOID pfHandler,ULONG dummy, PULONG pHook);
APIRET APIENTRY KernAllocateContextHook(PVOID pfHandler,ULONG dummy, PULONG pHook);
==Description==
Allocate a new Context hook for use with KernArmHook.


==Parameters==
==Parameters==
 
;pfHandler:This is the address of the hook handler. This is likely a pointer to a 32 bit function.
pfHandler
;dummy:I don't know why this is there, it is never accessed in the code.  
    This is the address of the hook handler. This is likely a pointer to a 32 bit function.  
;pHook:The pointer to an ULONG where the hook handle is returned.  
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==
==Comments==

Revision as of 00:35, 27 February 2017

Allocate a new Context hook for use with KernArmHook.

Synopsis

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

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.