Eliyas
Sun Sep 11 11:27:22 CDT 2005
Click on this on go thru the discussion. You will find several ready made
code:
http://groups.google.com/groups?hl=en&q=MSNDIS_StatusMediaDisconnect&qt_s=Search
--
--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.microsoft.com/whdc/driver/default.mspx
http://www.microsoft.com/whdc/driver/kernel/KB-drv.mspx
"Pavel A." <pavel_a@NOwritemeNO.com> wrote in message
news:eG9ik8TtFHA.2624@TK2MSFTNGP12.phx.gbl...
> To use ioctl interface you need a protocol (see ndisprot DDK sample).
> Why not to start learning WMI?
> --PA
>
> "Liang Chen" <LiangChen@discussions.microsoft.com> wrote in message
> news:76110432-31E7-4FC8-8873-9DCEA57EFBF3@microsoft.com...
>> Unfortunately, I am not familar with the WMI. Could you give me more
>> tips
>> via IOCTL interface?
>>
>> -Liang
>>
>> "Alireza Dabagh [MS]" wrote:
>>
>>> The best way to do it would be listening to the WMI events for the
>>> status
>>> that has been indicated. Hopefully somebody can point you to some sample
>>> code because unfortunately we don't have any right now.
>>>
>>> -ali
>>>
>>> --
>>> This posting is provided "AS IS" with no warranties, and confers no
>>> rights.
>>>
>>> "Liang Chen" <LiangChen@discussions.microsoft.com> wrote in message
>>> news:78C011F5-9C1C-4DE0-B513-37187E8F3083@microsoft.com...
>>> > Hi all,
>>> >
>>> > For the purpose of monitor the status in driver by application, it
>>> > seems
>>> > uneffiency to poll the status ocassionally. If the driver indicates
>>> > its
>>> > status change by NdisMIndicateStatus(), how can the application
>>> > capture
>>> > the
>>> > notification?
>>> >
>>> > Thanks!
>>> >
>>> > -Liang
>>>
>>>
>>>
>
>