Correct UnhookWindowsHook: clear the handle so that the server doesn't
try to use it.
This commit is contained in:
parent
774c5f77db
commit
6c5e2b6703
|
@ -363,6 +363,7 @@ BOOL WINAPI UnhookWindowsHook( INT id, HOOKPROC proc )
|
||||||
|
|
||||||
SERVER_START_REQ( remove_hook )
|
SERVER_START_REQ( remove_hook )
|
||||||
{
|
{
|
||||||
|
req->handle = 0;
|
||||||
req->id = id;
|
req->id = id;
|
||||||
req->proc = proc;
|
req->proc = proc;
|
||||||
ret = !wine_server_call_err( req );
|
ret = !wine_server_call_err( req );
|
||||||
|
|
Loading…
Reference in New Issue