User mode network link notification

Hi,

I know that if I pull a network cable from NIC, the little network icon will
immediately display network cable disconnect info. And if I plug the cable
back to NIC, the icon will display network cable connected. I wonder if
there is user mode API to receive such notification or do I have to pool
this info myself. The API has to be available for NT 4.0 if it exist.

Thanks.

Bi

Hi,

What I know is if there is user mode callback api that notify me if NDIS
miniport call NdisMIndicateStatus with
NDIS_STATUS_MEDIA_CONNECT/NDIS_STATUS_MEDIA_DISCONNECT without pooling or
writting Ndis IM or fake protocol driver.

Thanks.

Bi

-----Original Message-----
From: Bi Chen [mailto:xxxxx@AppStream.com]
Sent: Thursday, December 05, 2002 12:56 PM
To: NT Developers Interest List
Subject: [ntdev] User mode network link notification

Hi,

I know that if I pull a network cable from NIC, the little network icon will
immediately display network cable disconnect info. And if I plug the cable
back to NIC, the icon will display network cable connected. I wonder if
there is user mode API to receive such notification or do I have to pool
this info myself. The API has to be available for NT 4.0 if it exist.

Thanks.

Bi


You are currently subscribed to ntdev as: xxxxx@appstream.com
To unsubscribe send a blank email to %%email.unsub%%

User mode network link notificationNT4 has no such icons, and I expect that w2k’s thing uses either undocumented IOCTLs to NDIS.SYS or WMI.

Max

----- Original Message -----
From: Bi Chen
To: NT Developers Interest List
Sent: Thursday, December 05, 2002 11:55 PM
Subject: [ntdev] User mode network link notification

Hi,

I know that if I pull a network cable from NIC, the little network icon will immediately display network cable disconnect info. And if I plug the cable back to NIC, the icon will display network cable connected. I wonder if there is user mode API to receive such notification or do I have to pool this info myself. The API has to be available for NT 4.0 if it exist.

Thanks.

Bi


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to %%email.unsub%%

User mode network link notificationThis information is available via the IPHLPAPI as MIB_IFROW.dwOperStatus. I don’t think one can be notified of a change, I think you must still use a polling technique -

Ed Lau

MidCore Software, Inc.
900 Straits Tpke
Middlebury, CT 06762

www.midcore.com

----- Original Message -----
From: Maxim S. Shatskih
To: NT Developers Interest List
Sent: Friday, December 06, 2002 8:09 PM
Subject: [ntdev] Re: User mode network link notification

NT4 has no such icons, and I expect that w2k’s thing uses either undocumented IOCTLs to NDIS.SYS or WMI.

Max

----- Original Message -----
From: Bi Chen
To: NT Developers Interest List
Sent: Thursday, December 05, 2002 11:55 PM
Subject: [ntdev] User mode network link notification

Hi,

I know that if I pull a network cable from NIC, the little network icon will immediately display network cable disconnect info. And if I plug the cable back to NIC, the icon will display network cable connected. I wonder if there is user mode API to receive such notification or do I have to pool this info myself. The API has to be available for NT 4.0 if it exist.

Thanks.

Bi


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to %%email.unsub%%

You are currently subscribed to ntdev as: xxxxx@midcore.com
To unsubscribe send a blank email to %%email.unsub%%