Make profile key a global handle.

This commit is contained in:
Alexandre Julliard 2000-02-29 22:19:57 +00:00
parent 7ee3435d5d
commit e4960a1f0f

View file

@ -973,6 +973,7 @@ int PROFILE_LoadWineIni(void)
ERR("Cannot create config registry key\n" );
return 0;
}
wine_profile_key = ConvertToGlobalHandle( wine_profile_key );
InitializeCriticalSection( &PROFILE_CritSect );
MakeCriticalSectionGlobal( &PROFILE_CritSect );