dinput: Prevent race between destroying the hook window and unloading the dll.

Alexandre Julliard julliard at winehq.org
Mon May 14 05:42:41 CDT 2007


Vitaliy Margolen <wine-patches at kievinfo.com> writes:

>      else ERR("Error creating message window\n");
>  
> +    UnregisterClassW(classW, DINPUT_instance);
>      return 0;

You need to clear the class atom if you unregister the class,
otherwise the next window creation will fail.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list