DevHelp FreeCtxHook: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:DevHelp_FreeCtxHook}} | {{DISPLAYTITLE:DevHelp_FreeCtxHook}} | ||
DevHlp_FreeCtxHook frees a context hook allocated by the DevHlp_AllocateCtxHook. | DevHlp_FreeCtxHook frees a context hook allocated by the [[DevHlp_AllocateCtxHook]]. | ||
==Syntax== | ==Syntax== | ||
Line 15: | Line 15: | ||
==Parameters== | ==Parameters== | ||
===C=== | ===C=== | ||
; HookHandle : ?? | ; ''HookHandle'' ([[ULONG]]) - input : ?? | ||
==Return Code== | ==Return Code== |
Revision as of 03:02, 28 May 2025
DevHlp_FreeCtxHook frees a context hook allocated by the DevHlp_AllocateCtxHook.
Syntax
C
DevHelp_FreeCtxHook (ULONG HookHandle)
Assembler
MOV EAX, Hook_Handle MOV DL, DevHlp FreeCtxHook CALL Device Help
Parameters
C
- HookHandle (ULONG) - input
- ??
Return Code
C
Success Indicator 0 if hook successfully freed.
Assembler
C C Clear if hook freed. EAX = 0 C C Set if error. EAX = Error code
Remarks
The state of the interrupt flag is not preserved across calls to this DevHlp.
Example Code
C
#include "dhcalls.h" USHORT APIENTRY DevHelp_FreeCtxHook ( ULONG HookHandle)
Assembler
C C Clear if hook freed. EAX = 0 C C Set if error. EAX = Error code