Correct UnhookWindowsHook: clear the handle so that the server doesn't

try to use it.
This commit is contained in:
Bill Medland 2002-11-24 22:15:01 +00:00 committed by Alexandre Julliard
parent 774c5f77db
commit 6c5e2b6703
1 changed files with 1 additions and 0 deletions

View File

@ -363,6 +363,7 @@ BOOL WINAPI UnhookWindowsHook( INT id, HOOKPROC proc )
SERVER_START_REQ( remove_hook )
{
req->handle = 0;
req->id = id;
req->proc = proc;
ret = !wine_server_call_err( req );