UnhookCodeNt

TheUnhookCodeKernelNt function replaces the intercepted function with the original function.

function UnhookCodeNt(
  var pNewFunction: Pointer
): Boolean; stdcall;

Parameters

pNewFunction
[in] Pointer to the function which is used instead of the original function. This is the third parameter which was returned by UnhookCodeNt.
 

Remarks

UnhookCodeNt writes the original bytes back, which where overwritten by UnhookCodeNt.

 

Return Values

If the function succeeds, the return value is true.

If the function fails, the return value is false.

 

Requirements

Client Requires Windows XP, Windows 2000 Professional, Windows NT Workstation.
Header

Declared in uallHook.pas