USB Bulk Endpoints

Discussion in 'Windows Vista Drivers' started by Frank, Dec 1, 2003.

  1. Frank

    Frank Guest

    Hello,

    how can I specify a specific target endpoint for bulkread transfers if my
    device has got more than one bulk-in endpoint and how can I read this
    selection in the DispatchReadWrite function in my driver?

    Thank you

    Frank
     
    Frank, Dec 1, 2003
    #1
    1. Advertisements


  2. You can read pipe number or symbolic name in Create request.
    This name program can add to device name when calling CreateFile(...)
    This name and device handfle yua can store in jour DeviceExtension structure

    In ReadWrite function you have acces to file handle.
     
    Radek Michalski, Dec 1, 2003
    #2
    1. Advertisements

  3. Frank

    Frank Guest

    Can you explain me how to read the pipe number in DispatchCreate?
    Thank you
     
    Frank, Dec 2, 2003
    #3
  4. look at the bulkusb sample, it shows how you can do this in the create path
    and then check for it during the read or write path.

    d
     
    Doron Holan [MS], Dec 3, 2003
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.