Thank you
In some protocol driver seem’s “succesfully intalled”. I try to track
protocolbinhandler like this ( is it reasonnably ?!)
-I added a struct (*DeviceExtension) who contain a membre : buffer[…]. (
DeviceExtension : member of DeviceObject create with IOcreatedevice.
All preserved in some Global struct. )
-
Inside Protocolbinhandler : , in beginnig I try to write in this
buffer a message like “hello from protocolbindhandler”.
-
Inside fonction MyRead (irp_mj_read) I try to read this message from
buffer[…].
Dramatically : buffer is empty
No man’s Land.
Does this prove protocolbindhandler not called ?
Thank for suggest.
If you set the buffer to some known value when you create the buffer, then
you should be able to tell whether the protocolbindhandler() changes the
data or not.
Another thing you could do is to set a breakpoing in your
protocolbindhandler code, I guess…
–
Mats
-----Original Message-----
From: Sedki Boughattas [mailto:xxxxx@logique.jussieu.fr]
Sent: Wednesday, March 03, 2004 4:27 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Protocol driver: ProtocolBindHandler : No
man’s land !
Thank you
In some protocol driver seem’s “succesfully intalled”. I try to track
protocolbinhandler like this ( is it reasonnably ?!)
-I added a struct (*DeviceExtension) who contain a membre :
buffer[…]. (
DeviceExtension : member of DeviceObject create with IOcreatedevice.
All preserved in some Global struct. )
-
Inside Protocolbinhandler : , in beginnig I try to
write in this
buffer a message like “hello from protocolbindhandler”.
-
Inside fonction MyRead (irp_mj_read) I try to read this
message from
buffer[…].
Dramatically : buffer is empty
No man’s Land.
Does this prove protocolbindhandler not called ?
Thank for suggest.
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@3dlabs.com
To unsubscribe send a blank email to xxxxx@lists.osr.com