Jump to content

KernArmHook: Difference between revisions

From EDM2
Created page with "==Synopsis== VOID APIENTRY KernArmHook(ULONG hook,ULONG data); ==Description== This is the 32 bit equivalent of DevHlp_ArmCtxHook. ==Parameters== hook Hook as returned ..."
 
Ak120 (talk | contribs)
m Ak120 moved page OS2 API:KEE:KernArmHook to KernArmHook
(No difference)

Revision as of 00:48, 27 February 2017

Synopsis

VOID APIENTRY KernArmHook(ULONG hook,ULONG data);

Description

This is the 32 bit equivalent of DevHlp_ArmCtxHook.

Parameters

hook

   Hook as returned from KernAllocateContextHook. 

data

   Data that is passed to the hook when called. 

Comments

There is no such thing as a DevHlp_FreeCtxHook. I am unsure whether the hook handles are portable between 16 and 32 bit code. At least, this demonstrates that the KEE API has been tailored straight to its use in JFS and DASD, where one probably never needs to release a hook again.