Predicting_real_estate_prices_using_scikit-learn icon indicating copy to clipboard operation
Predicting_real_estate_prices_using_scikit-learn copied to clipboard

[KERNEL32][NTDLL] Implement SetSearchPathMode and RtlSetSearchPathMode

Open oleg-dubinskiy opened this issue 4 years ago • 3 comments

Purpose

Implement SetSearchPathMode in kernel32 and call an appropriate RtlSetSearchPathMode from ntdll inside it, which I also implemented (partially based on Wine's one). Although from the start these APIs were introduced since Windows 7/Server 2008 R2, they are also available for XP/2003 via update, so they exist as well on XPSP3/2K3SP2. Required by KeePassX 0.4.4 to start successfully.

JIRA issue: CORE-17586

TODO

  • [ ] Properly obtain the search mode value from registry in failure case. I'm not sure about where it should be implemented. Or it just should be done by the caller itself, judging by MSDN?... :thinking:

Result

Although my implementation is still incomplete, nevertheless it is enough to allow KeePassX to start successfully, as visible on screenshots. :slightly_smiling_face:

Before: keepassx-error

After: keepassx-ros

XP: keepassx-xp

oleg-dubinskiy avatar May 15 '21 18:05 oleg-dubinskiy