How can I process both bulk pipe and interrupt pipe of USB?

Discussion in 'Windows Vista Drivers' started by sjlee, Aug 18, 2005.

  1. sjlee

    sjlee Guest


    I'd like to process both bulk-pipe data and interrupt-pipe data.

    I have made the scenario for this as follow:

    1. User app starts bulk read operation with overlapped operation and
    finishs after bulk read operation done.

    2. For interrupt pipe read, user app requests IO control for creating
    a system thread that sends URB to USB interface and saves
    some of received data to buffer.

    3. After creating the interrupt process system thread, user app starts
    read operation of received data from interrupt pipe with overlapped
    operation and finishs read operation after data copy from Step 2's

    4. In user mode, for bulk read and interrupt read, 2 independent threads
    are running for each operation.

    Is there any problem in my operation scenario?

    Your comment will be appreciated greatly.

    sjlee, Aug 18, 2005
    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.