NdisMIndicateStatus

Hi

My miniport on Windows 2000 platform is calling NdisMIndicateStatus with
NDIS_STATUS_MEDIA_DISCONNECT followed by NdisMIndicateStatusComplete to
report a disconnected cable.

But somehow neither the Windows Desktop nor the network properties shows it
is disconnected as it always shows the connection as connected. However
after the miniport report a disconnect, IPaddress on this interface is shown
as 0.0.0.0 which means that the driver’s call to NdisMIndicateStatus
reaching protocol driver.

Any idea what could be missing?
Thanks

  • Bill

Best Restaurant Giveaway Ever! Vote for your favorites for a chance to win
$1 million! http://local.msn.com/special/giveaway.asp

Do you handle OID_GEN_MEDIA_CONNECT_STATUS?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Bill Wells
Sent: =E2 11 =EE=E0=E9 2004 04:57
To: Windows System Software Devs Interest List
Subject: [ntdev] NdisMIndicateStatus

Hi

My miniport on Windows 2000 platform is calling NdisMIndicateStatus with
NDIS_STATUS_MEDIA_DISCONNECT followed by NdisMIndicateStatusComplete to
report a disconnected cable.

But somehow neither the Windows Desktop nor the network properties shows
it is disconnected as it always shows the connection as connected.
However after the miniport report a disconnect, IPaddress on this
interface is shown as 0.0.0.0 which means that the driver’s call to
NdisMIndicateStatus reaching protocol driver.

Any idea what could be missing?
Thanks

  • Bill

Best Restaurant Giveaway Ever! Vote for your favorites for a chance to
win=20
$1 million! http://local.msn.com/special/giveaway.asp


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=3D256

You are currently subscribed to ntdev as: xxxxx@netvision.net.il To
unsubscribe send a blank email to xxxxx@lists.osr.com

Make sure that you also return NdisMediaStateDisconnected when
OID_GEN_MEDIA_CONNECT_STATUS is sent to your query handler.

Bryan S. Burgin
xxxxx@microsoft.com

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Bill Wells
Sent: Monday, May 10, 2004 6:57 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] NdisMIndicateStatus

Hi

My miniport on Windows 2000 platform is calling NdisMIndicateStatus with
NDIS_STATUS_MEDIA_DISCONNECT followed by NdisMIndicateStatusComplete to
report a disconnected cable.

But somehow neither the Windows Desktop nor the network properties shows
it
is disconnected as it always shows the connection as connected. However
after the miniport report a disconnect, IPaddress on this interface is
shown
as 0.0.0.0 which means that the driver’s call to NdisMIndicateStatus
reaching protocol driver.

Any idea what could be missing?
Thanks

  • Bill

Best Restaurant Giveaway Ever! Vote for your favorites for a chance to
win
$1 million! http://local.msn.com/special/giveaway.asp


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Thanks Corem/Bryan

That was the problem. Driver was reporting OID_GEN_MEDIA_CONNECT_STATUS with
NdisMediaStateConnected.

  • Bill

From: “Bryan Burgin”
>Reply-To: “Windows System Software Devs Interest List”
>
>To: “Windows System Software Devs Interest List”
>CC:
>Subject: RE: [ntdev] NdisMIndicateStatus
>Date: Mon, 10 May 2004 19:26:08 -0700
>
>
>
>Make sure that you also return NdisMediaStateDisconnected when
>OID_GEN_MEDIA_CONNECT_STATUS is sent to your query handler.
>
>Bryan S. Burgin
>xxxxx@microsoft.com
>
>This posting is provided “AS IS” with no warranties, and confers no
>rights.
>
>-----Original Message-----
>From: xxxxx@lists.osr.com
>[mailto:xxxxx@lists.osr.com] On Behalf Of Bill Wells
>Sent: Monday, May 10, 2004 6:57 PM
>To: Windows System Software Devs Interest List
>Subject: [ntdev] NdisMIndicateStatus
>
>Hi
>
>My miniport on Windows 2000 platform is calling NdisMIndicateStatus with
>NDIS_STATUS_MEDIA_DISCONNECT followed by NdisMIndicateStatusComplete to
>report a disconnected cable.
>
>But somehow neither the Windows Desktop nor the network properties shows
>it
>is disconnected as it always shows the connection as connected. However
>after the miniport report a disconnect, IPaddress on this interface is
>shown
>as 0.0.0.0 which means that the driver’s call to NdisMIndicateStatus
>reaching protocol driver.
>
>Any idea what could be missing?
>Thanks
>- Bill
>
>
>Best Restaurant Giveaway Ever! Vote for your favorites for a chance to
>win
>$1 million! http://local.msn.com/special/giveaway.asp
>
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@microsoft.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com


Express yourself with the new version of MSN Messenger! Download today -
it’s FREE! http://messenger.msn.com/go/onm00200471ave/direct/01/