[Bug 20048] DeviceIoControl() return size of zero returned not returned correctly to lpBytesReturned

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Sep 15 07:56:03 CDT 2009


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





--- Comment #2 from red-ray <ray at pobox.co.uk>  2009-09-15 07:56:03 ---
(In reply to comment #1)
> What IOCTL code and to what device did you sent? Did it succeeded?

As regards "Did it succeeded?" that is an imprecise question, it all depends
what you mean my "succeeded".  I think you are asking did my driver pass back a
status of STATUS_SUCCESS, to which the answer is YES.

The request was processed by my SIVDRIVER with the device name being
\Device\SIVDRIVER and the Symbolic Link being SIVDRIVER.  The function being
used by the failure I reported is defined as:

#define IOCTL_SIV_PCIBUS CTL_CODE( 0, 0x10, METHOD_BUFFERED, FILE_ANY_ACCESS )

The actual function code does not really matter, ALL the METHOD_BUFFERED I have
tested fail in the same way.

Given an incorrect length is returned, this is clearly an error (at least),
what makes you incorrectly classify this as an enhancement ?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list