UnhookCodeKernel9x

TheUnhookCodeKernel9x function replaces the intercepted function with the original function.

function UnhookCodeKernel9x(
  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 HookCodeKernel9x.
 

Remarks

UnhookCodeKernel9x writes the original bytes back, which where overwritten by HookCodeKernel9x.

 

Return Values

If the function succeeds, the return value is true.

If the function fails, the return value is false.

 

Requirements

Client Requires Windows Me, Windows 98, or Windows 95.
Header

Declared in uallHook.pas