Doron
Fri Dec 10 21:21:56 CST 2004
what's wrong with the example on WDHC? I helped write it, so if there are
errors, i can get them fixed.
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.
"Philip F. Garofalo" <pgarofalo@mcsinc.net> wrote in message
news:uwoPalj3EHA.1188@tk2msftngp13.phx.gbl...
> Thanks d,
>
> I was following the example at
>
http://www.microsoft.com/whdc/driver/tips/km-basics.mspx#ECAA and it's
> wrong. I discovered that the correct way of doing it is in the document at
>
http://www.microsoft.com/whdc/driver/kernel/KM-UMGuide.mspx. The example
> is
> so similar to the one on the first web page that I missed the crucial
> differences on first scan. Arrgh!
>
> Phil
>
>
> "Doron Holan [MS]" <doronh@nospam.microsoft.com> wrote in message
> news:uHYNd2g3EHA.3596@TK2MSFTNGP12.phx.gbl...
>> did you zero out the memory before sending it to this api? specifically,
>> was FileObject NULL as documented? are you sure your application not
>> only
>> registered for device arrival notifications on the GUID, but also
> registered
>> for *file* handle notifications once it opened up your device? the only
> way
>> the app gets the custom device change notifications is on a file handle
>> notification, not a device interface notification.
>>
>> 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.
>>
>>
>> "Philip F. Garofalo" <pgarofalo@mcsinc.net> wrote in message
>> news:OLoOWpb3EHA.4064@tk2msftngp13.phx.gbl...
>> > Hi, my driver is using PnP custom notification to signal the app.
>> > Unfortunately, IoReportTargetDeviceChangeAsynchronous is returning
>> > STATUS_PENDING and the app never receives any of the messages. I'm
> fairly
>> > certain that my registration calls are correct with the same GUID
>> > messages.
>> > Any suggestions on what's happening, where to look, and a good way to
>> > debug
>> > (e.g., tools, etc. Spy isn't reporting anything (I may be using it
>> > incorrectly))?
>> >
>> > Thanks
>> >
>> > Phil Garofalo
>> > Chicago, IL
>> >
>> >
>>
>>
>
>