Re: Driver Verifier interferes with IoCallDriver ?

From: ernie (ernie_at_gmx.net)
Date: 02/02/05


Date: Wed, 02 Feb 2005 15:14:38 +0100

Ok, I'll change my code accordingly.
thank you :)

Mark Roddy wrote:
>
> The value 4 would pass NT_SUCCESS(Status). Status values have three
> classes: error, warning, success. You should test success using the
> NT_SUCCESS macro. Note that STATUS_PENDING will also pass NT_SUCCESS, so
> you really have to test for STATUS_PENDING first, then success or error.
>

> ernie wrote:
>
>> Hallo,
>> I am verifying my driver with driver verifier, and I've encountered a
>> strange behaviour: I have two drivers which communicate through a well
>> know interface. The driver A prepares a new Irp, fills it with the
>> IRP_MN_QUERY_INTERFACE stuff, and then calls
>> IoCallDriver(B_DevObj, newIrp);
>>
>> The problem is: the dispatch routine in B always fills the interface
>> data and returns STATUS_SUCCESS, but when the Driver Verifier is
>> active the call to IoCallDriver() returns 0x00000004 instead of
>> STATUS_SUCCESS.
>>
>> Has anyone seen this problem before ?
>> What can be the cause ?
>>
>> Thank you.



Relevant Pages

  • Re: Is IoStatus.Status reliable?
    ... system-supplied macros: ... Evaluates to TRUE if the return value specified by Status is a success ... I take it you were thinking of informational type messages not warning? ... The status is what the lower driver provided (I'm assuming drivers ...
    (microsoft.public.win32.programmer.kernel)
  • Re: libata in 2.4.24?
    ... IDE disks report immediate success even before the ... The way CONFIG_IDE (the traditional IDE driver) and libata work right ... > until the write hits disk. ...
    (Linux-Kernel)
  • Re: RASN Discussion Topics
    ... Success Is Slow to Come - New York Times ... he must at least have some degree of talent to be in a Cup car. ... On the other hand, he *has* been driving with what is essentially the family team, and more so, was the only marketable driver on said team for quite some time. ...
    (rec.autos.sport.nascar)
  • Re: Is IoStatus.Status reliable?
    ... > I take it you were thinking of informational type messages not warning? ... The status is what the lower driver provided (I'm assuming drivers ... NT_SUCCSS returns true for either SUCCESS or WARNING class messages, ...
    (microsoft.public.win32.programmer.kernel)
  • Re: FC3, Sharp MM20, Synaptics touch pad
    ... > Thanks for responding Satish. ... > I tried the included driver without success. ... > but after a reboot this node is also gone again. ...
    (Fedora)