Doron
Fri Aug 24 13:02:59 CDT 2007
you can work around the issues with various WDM proprocess routines in your
kmdf driver, but yes, these assumptions come up from time to time and must
be dealt with individually
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Walter Oney" <waltoney@oneysoft.com> wrote in message
news:46CF0316.98E8BA5E@oneysoft.com...
> "Eliyas Yakub [MSFT]" wrote:
>> When you send a request to the lower driver, you cannot make assumption
>> that
>> it will always complete it synchronously with success or failure status?
>
> There are (or were, as of XP) two drivers for which that wasn't entirely
> true. Serial drivers would complete an IRP_MJ_READ synchronously if the
> timeouts were set just right, and people depended on that. In addition,
> IFDTEST (the SmartCard reader test) assumed that the only IOCTLs that
> would ever be pended were the card-tracking requests, and you failed the
> test if you broke that rule.
>
> Assuming that these two problems no longer exist with Vista and later
> systems, doesn't this restrict the platforms on which you can deploy an
> WDF driver?
>
> --
> Walter Oney, Consulting and Training
>
http://www.oneysoft.com