[Bug 10957] New: CreateFile doesn't work for devices

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Dec 29 19:24:46 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=10957

           Summary: CreateFile doesn't work for devices
           Product: Wine
           Version: CVS/GIT
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: wine-kernel
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: rmh at aybabtu.com


According to MSDN, CreateFile can be used to obtain a handle on a device on
which DeviceIoControl can be performed.  Also, code in
kernel32/volume.c:GetVolumeInformationW seems to rely on this.

However, wine always fails with error code 2 (file not found).  The following
test case illustrates this:

  http://msdn2.microsoft.com/en-us/library/aa363147(VS.85).aspx

I've tested their code both on native winxp and win98.  It works fine on winxp
but fails on win98 (with error 2 too, like wine).


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list