[PATCH 1/5] include: Added definitions used by GetFileInformationByHandleEx.

Vincas Miliūnas vincas.miliunas at gmail.com
Tue Oct 9 17:10:24 CDT 2012


These patches should help to get XCOM: Enemy Unknown running on WINE.
However, I was not able to play the demo, because AMD drivers hang in an
infinite loop once the game loads the menu screen. Only a single time I
was able to reach the loading of the first battle, but then the game
crashed because the OpenFileById function was missing. Since the release
of the demo nobody submitted a fix for
http://bugs.winehq.org/show_bug.cgi?id=31794 , so I've added tests and
will submit an improved code I used two weeks ago.

The tests were crosstested on Windows 7, unfortunately WineTestBot is
not currently functioning to get a full coverage.

There is an issue:
* OpenFileById is implemented by using NtCreateFile, which fails to open
its own folder (the RootDirectory), however that works on windows. I've
left a todo_wine for this case.

---
 include/winbase.h | 208
++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 208 insertions(+)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-include-Added-definitions-used-by-GetFileInformation.patch
Type: text/x-patch
Size: 6505 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20121010/0685ea03/attachment.bin>


More information about the wine-patches mailing list