I am beginning to suspect a problem with wine_server_call. I am confused because I would have thought this was something that is pretty solid.
In HOOK_CallHooks we call SERVER_START_REQ( start_hook_chain ). When I put debugging in the server I see that reply->active_hooks is getting properly set to 0x8000000. We return from this function at the /* no hook set */ comment and I see that reply->active_hooks is still 0x80000000.
However, when we return the client believes reply->active_hooks is 0. Could it be possible that read_reply_data in ntdll/server.c is failing?
Any insight would be greatly appreciated.
Thanks, Phil