setupapi: Test loading an exe from the system directory with SetupOpenInfFile

James Hawkins truiken at gmail.com
Tue Mar 28 00:11:33 CST 2006


Hi,

All the handling is in place for this to (mostly) work in
SetupOpenInfFileW.  We call
CreateFile("c:\\windows\\system32\\winver.exe", ...,
OPEN_EXISTING...), but that fails, returning INVALID_HANDLE_VALUE. 
winver.exe is in drive_c/windows/system32 as a symlink to the
installed winver.exe.so.  Should a call to CreateFile on a symlink
fail?

Changelog:
* Test loading an exe from the system directory with SetupOpenInfFile.

 dlls/setupapi/tests/parser.c |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

--
James Hawkins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aaee0c6c5cc840933eccd7d8e9cee95e61d3c20c.diff
Type: text/x-patch
Size: 1221 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060328/3924c15d/aaee0c6c5cc840933eccd7d8e9cee95e61d3c20c.diff


More information about the wine-patches mailing list