- Keep an extra reference to user32 around while we're not using imm32
CORE-10540

svn path=/trunk/; revision=69965
This commit is contained in:
Thomas Faber 2015-11-20 18:04:50 +00:00
parent e8f7f0d65a
commit 1b33a3c6aa

View file

@ -526,7 +526,12 @@ DllMain(
if (!gfServerProcess)
{
//InitializeImmEntryTable();
#if WIN32K_ISNT_BROKEN
InitializeImmEntryTable();
#else
/* imm32 takes a refcount and prevents us from unloading */
LoadLibraryW(L"user32");
#endif
//
// Wine is stub and throws an exception so save this for real Imm32.dll testing!!!!
//