Jump to content

DevHelp FreeCtxHook

From EDM2
Revision as of 22:11, 7 June 2017 by Martini (talk | contribs) (C)

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
??

Assembler


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

Related Functions