Registering for PNP Notifications for TCP and UDP Devices

Can IoRegisterPlugPlayNotification be used for this purpose? If so what GUID_CLASS should i specify as the third parameter…The purpose I want to do this is to get the host address as soon as the TCP stack comes up.

TIA
Giri.


Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com/a

You can register for notifications on pnp devices. \Device\Tcp and
\Device\Udp (don’t know if that exists) are not pnp devices. You can
register for notifications for an adapter coming and going though.

d


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of hi hello
Sent: Tuesday, November 02, 2004 4:00 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Registering for PNP Notifications for TCP and UDP
Devices

Can IoRegisterPlugPlayNotification be used for this purpose? If so what
GUID_CLASS should i specify as the third parameter…The purpose I want
to do this is to get the host address as soon as the TCP stack comes up.

TIA

Giri.


Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com

\Device\Udp surely exists.

To solve the OP’s problem, make your driver dependent in terms of load order on TDI group. Also TdiRegisterPnPHandlers can help.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Tuesday, November 02, 2004 7:00 PM
Subject: RE: [ntdev] Registering for PNP Notifications for TCP and UDP Devices

You can register for notifications on pnp devices. \Device\Tcp and \Device\Udp (don’t know if that exists) are not pnp devices. You can register for notifications for an adapter coming and going though.

d


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of hi hello
Sent: Tuesday, November 02, 2004 4:00 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Registering for PNP Notifications for TCP and UDP Devices

Can IoRegisterPlugPlayNotification be used for this purpose? If so what GUID_CLASS should i specify as the third parameter…The purpose I want to do this is to get the host address as soon as the TCP stack comes up.

TIA

Giri.


Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Hi Max, Doron,
My Driver belongs to System Bus Extender Group and starts at boot time. Can’t change the load order to make it dependent on TDI group. Now, Is there a way to register a routine from the DriverEntry which will be called when the TCP/IP protocol stack comes up and get the host ip address. I initially thought IoRegisterPlugPlayNotification would help but couln’t find the GUID class of TCP/IP stack devices.

>You can register for notifications on pnp devices
On windows2k,I’ve used IoRegisterPlugPlayNotification for COM port devices which are non-pnp, specifying GUID_CLASS_COMPORT and my registered routine was called for all the com ports enumnerated. I guess the notifications are plug and play and the device needn’t be.

cheers,
Giri.

“Maxim S. Shatskih” wrote:
v:* { BEHAVIOR: url(#default#VML)}o:* { BEHAVIOR: url(#default#VML)}w:* { BEHAVIOR: url(#default#VML)}.shape { BEHAVIOR: url(#default#VML)}st1:*{behavior:url(#default#ieooui) } \Device\Udp surely exists.

To solve the OP’s problem, make your driver dependent in terms of load order on TDI group. Also TdiRegisterPnPHandlers can help.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Tuesday, November 02, 2004 7:00 PM
Subject: RE: [ntdev] Registering for PNP Notifications for TCP and UDP Devices

You can register for notifications on pnp devices. \Device\Tcp and \Device\Udp (don’t know if that exists) are not pnp devices. You can register for notifications for an adapter coming and going though.

d

---------------------------------

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of hi hello
Sent: Tuesday, November 02, 2004 4:00 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Registering for PNP Notifications for TCP and UDP Devices

Can IoRegisterPlugPlayNotification be used for this purpose? If so what GUID_CLASS should i specify as the third parameter…The purpose I want to do this is to get the host address as soon as the TCP stack comes up.

TIA

Giri.

---------------------------------

Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
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: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

---------------------------------
Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com/a

Try TdiRegisterPnPHandlers. It allows, for instance, to register a handler which will be called when the machine obtains an IP address.

It also provide a way of receiving notifications on power management events on NICs, so your TDI client will be able to close the endpoints gracefully before the machine will go to standby/hibernate.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Seshagiri Babu K.V.
To: Windows System Software Devs Interest List
Sent: Wednesday, November 03, 2004 5:11 PM
Subject: Re: [ntdev] Registering for PNP Notifications for TCP and UDP Devices

Hi Max, Doron,
My Driver belongs to System Bus Extender Group and starts at boot time. Can’t change the load order to make it dependent on TDI group. Now, Is there a way to register a routine from the DriverEntry which will be called when the TCP/IP protocol stack comes up and get the host ip address. I initially thought IoRegisterPlugPlayNotification would help but couln’t find the GUID class of TCP/IP stack devices.

>You can register for notifications on pnp devices
On windows2k,I’ve used IoRegisterPlugPlayNotification for COM port devices which are non-pnp, specifying GUID_CLASS_COMPORT and my registered routine was called for all the com ports enumnerated. I guess the notifications are plug and play and the device needn’t be.

cheers,
Giri.

“Maxim S. Shatskih” wrote:
\Device\Udp surely exists.

To solve the OP’s problem, make your driver dependent in terms of load order on TDI group. Also TdiRegisterPnPHandlers can help.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Tuesday, November 02, 2004 7:00 PM
Subject: RE: [ntdev] Registering for PNP Notifications for TCP and UDP Devices

You can register for notifications on pnp devices. \Device\Tcp and \Device\Udp (don’t know if that exists) are not pnp devices. You can register for notifications for an adapter coming and going though.

d

--------------------------------------------------------------------------

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of hi hello
Sent: Tuesday, November 02, 2004 4:00 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Registering for PNP Notifications for TCP and UDP Devices

Can IoRegisterPlugPlayNotification be used for this purpose? If so what GUID_CLASS should i specify as the third parameter…The purpose I want to do this is to get the host address as soon as the TCP stack comes up.

TIA

Giri.

--------------------------------------------------------------------------

Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
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: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

------------------------------------------------------------------------------
Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com

Why dependency on the system bus extender group?

As for serial ports, the actual hw ports themselves are pnp devices (even if they are embedded on the motherboard). The devices /attached/ to the ports may not be PnP though.

d


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Seshagiri Babu K.V.
Sent: Wednesday, November 03, 2004 6:11 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Registering for PNP Notifications for TCP and UDP Devices

Hi Max, Doron,
?? My Driver belongs to System Bus Extender Group and starts at boot time. Can’t change the load order to make it dependent on TDI group. Now, Is there a way to register a routine from the DriverEntry which will be called when the TCP/IP protocol stack comes up and get the host ip address. I initially thought IoRegisterPlugPlayNotification would help but couln’t find the GUID class of TCP/IP stack devices.
?

>You can register for notifications on pnp devices
On windows2k,I’ve used IoRegisterPlugPlayNotification for COM port devices which are non-pnp, specifying GUID_CLASS_COMPORT?and my registered routine was called for all the com ports enumnerated. I?guess the notifications are plug and play and the device needn’t be.
?
cheers,
Giri.???

“Maxim S. Shatskih” wrote:
??? \Device\Udp surely exists.
?
??? To solve the OP’s problem, make your driver dependent in terms of load order on TDI group. Also TdiRegisterPnPHandlers can help.
?
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
?
----- Original Message -----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Tuesday, November 02, 2004 7:00 PM
Subject: RE: [ntdev] Registering for PNP Notifications for TCP and UDP Devices

You can register for notifications on pnp devices.? \Device\Tcp and \Device\Udp (don’t know if that exists) are not pnp devices.? You can register for notifications for an adapter coming and going though.

d


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of hi hello
Sent: Tuesday, November 02, 2004 4:00 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Registering for PNP Notifications for TCP and UDP Devices

Can IoRegisterPlugPlayNotification be used for this purpose? If so what GUID_CLASS should i specify as the third parameter…The purpose I want to do this is to get the host address as soon as the TCP stack comes up.
?
TIA
Giri.

Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com

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

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
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: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
________________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com

Thx Doron for a quick response. Dependecy on System Bus Extender group, something to do with disk I/O. Yes Doron, the serial ports on the mother board themselves are pnp devices.

cheers,
Giri.

Doron Holan wrote:
Why dependency on the system bus extender group?

As for serial ports, the actual hw ports themselves are pnp devices (even if they are embedded on the motherboard). The devices /attached/ to the ports may not be PnP though.

d


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Seshagiri Babu K.V.
Sent: Wednesday, November 03, 2004 6:11 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Registering for PNP Notifications for TCP and UDP Devices

Hi Max, Doron,
My Driver belongs to System Bus Extender Group and starts at boot time. Can’t change the load order to make it dependent on TDI group. Now, Is there a way to register a routine from the DriverEntry which will be called when the TCP/IP protocol stack comes up and get the host ip address. I initially thought IoRegisterPlugPlayNotification would help but couln’t find the GUID class of TCP/IP stack devices.

>>You can register for notifications on pnp devices
On windows2k,I’ve used IoRegisterPlugPlayNotification for COM port devices which are non-pnp, specifying GUID_CLASS_COMPORT and my registered routine was called for all the com ports enumnerated. I guess the notifications are plug and play and the device needn’t be.

cheers,
Giri.

“Maxim S. Shatskih” wrote:
\Device\Udp surely exists.

To solve the OP’s problem, make your driver dependent in terms of load order on TDI group. Also TdiRegisterPnPHandlers can help.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Tuesday, November 02, 2004 7:00 PM
Subject: RE: [ntdev] Registering for PNP Notifications for TCP and UDP Devices

You can register for notifications on pnp devices. \Device\Tcp and \Device\Udp (don’t know if that exists) are not pnp devices. You can register for notifications for an adapter coming and going though.

d


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of hi hello
Sent: Tuesday, November 02, 2004 4:00 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Registering for PNP Notifications for TCP and UDP Devices

Can IoRegisterPlugPlayNotification be used for this purpose? If so what GUID_CLASS should i specify as the third parameter…The purpose I want to do this is to get the host address as soon as the TCP stack comes up.

TIA
Giri.

Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com

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

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
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: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

---------------------------------
Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com/a