Don't Call GetDesktopWindow From DllMain

Robert Shearman rob at
Fri Sep 16 14:48:00 CDT 2005

GetDesktopWindow can now potentially create a thread, so we shouldn't 
call this function from DllMain otherwise it is possible to cause a 

Rob Shearman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: threaddetach_fix.diff
Type: text/x-patch
Size: 607 bytes
Desc: not available
Url :

More information about the wine-patches mailing list