# Function Reference

# _WinAPI_UnhookWinEvent

Removes an event hook function

#include <WinAPISys.au3>
_WinAPI_UnhookWinEvent ( $hEventHook )

## Parameters

$hEventHook | Handle to the event hook returned in the previous call to _WinAPI_SetWinEventHook().

## Return Value

Success: | True.
Failure: | False.

## Related

_WinAPI_SetWinEventHook

## See Also

Search UnhookWinEvent in MSDN Library.