[1/2] shell32: Check IsWow64Process() before calling Wow64 functions.

Olivier F. R. Dierick o.dierick at piezo-forte.be
Wed Apr 20 19:33:07 CDT 2016


See bug 36838 for comments and discussion.

Supersedes patch submission 121402 and 121602.

Better version of the patch. Call IsWow64Process() only once on dll
initialization and setup a global variable.

Signed-off-by: Olivier F. R. Dierick <o.dierick at piezo-forte.be>
---
 dlls/shell32/shell32_main.c  |    3 +++
 dlls/shell32/shell32_main.h  |    1 +
 dlls/shell32/shfldr_unixfs.c |    6 ++++--
 3 files changed, 8 insertions(+), 2 deletions(-)

-- 
        Olivier F. R. Dierick
        o.dierick at piezo-forte.be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-shell32-Check-IsWow64Process-before-calling-Wow64-fu.patch
Type: application/mbox
Size: 2556 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20160421/b9238453/attachment.mbox>


More information about the wine-patches mailing list