Problem Passing IRP_MJ_WRITE to USB Stack

Hi,
I have a device connected to the USB Port.I am successfully able to read
data from the device.But My device expects some control information from the
host.For this purpose I am building an IRP_MJ_WRITE request with
IOBuildAsynchronousFsdRequest,registering a completion routine and passing
it to the USB Stack.The problem is once the Write is successful it is not
coming to the completion routine.In response for the WRITE I am sending to
the device,the device sends me some data.I need to check this data as a
health check of the device.How do I read the data sent by the device
immediately after I send the write?.

Thanks.
Best Regards,
Sai Prasad


From: Shailesh[SMTP:xxxxx@hotmail.com]
Reply To: NT Developers Interest List
Sent: Tuesday, February 19, 2002 2:02 PM
To: NT Developers Interest List
Subject: [ntdev] info required for ndis miniport…

Hi ,

I am trying to develop ndis miniport driver for a specialized medium of
our
own… Now how & where in the packet can I add the mac address of the
destination. is this possible by allocating a buffer & using it with
NDIS_PACKET from within my miniportsend or is there some other way for
it??.

I’ll be glad if anyone can help me out of this!!!

SHAILESH.


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

**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

> Hi,

I have a device connected to the USB Port.I am successfully able to read
data from the device.But My device expects some control information from the
host.For this purpose I am building an IRP_MJ_WRITE request with
IOBuildAsynchronousFsdRequest,registering a completion routine and passing
it to the USB Stack.The problem is once the Write is successful it is not

Is it possible at all to use MJ_WRITE for USB stack?
Am I wrong the internal device control and URBs must be used?

Max