Problem sending command to a USB Device

Hi everybody,
I am developing a driver for a Touch Screen device connected to USB
device.My Device has got 1 control endpoint and 1 interrupt IN endpoint.I
want to send some commands to my device.I think I should do it through
Control End Point.How do i get the PipeHandle to the Control Endpoint
?..Initially during building Configuration,Interface Descriptors I don’t
get ControlEndpoint handle…

How do i send data to my device over control endpoint…All I know is the
command to be sent to the device…What extra information should I know
about the device firmware ?

Thanks,
Best Regards,
Sai Prasad

**************************************************************************
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.
**************************************************************************

** Reply to message from Sai_Prasad on Sun, 28 Apr 2002
23:27:34 +0530

> How do i send data to my device over control endpoint.

You don’t get an explicit handle to the control pipe.
Just use UsbBuildVendorRequest, UsbBuildGetDescriptorRequest, etc. to
build an URB and send it to USBD as illustrated by the BULKUSB DDK sample.

> …All I know is the command to be sent to the device…What extra
> information should I know about the device firmware ?

If you expect to move any vendor-specific commands or data between the host
and your device, you need a firmware specification for the device.

Sincerely,

Chris Myers
Senior Project Engineer
Quatech, Inc.