Real Name:<br>
Erich Hoover<br>
Description:<br>
Fixes incorrect file sharing mode in PROFILE_FlushFile and PROFILE_Open that result in <span>WritePrivateProfileString</span> failing under certain circumstances. This problem is specifically evident in the "Thief: Deadly Shadows" installer (demo and full), which writes an empty config file that later causes the game to crash (Bug #5024). This version sets S_OK for Get* functions (only Write* functions are affected by this problem). Conformance test included in part 2.<br>
Changelog:<br>
kernel32: Fix for <span>WritePrivateProfileString</span> Sharing Problem<br><br>