USBMON.DLL ReadPort and timeouts

Discussion in 'Windows Vista Drivers' started by Rockyh, Mar 25, 2005.

  1. Rockyh

    Rockyh Guest

    Hi,
    I'm using USBMON.DLL to read data from a printer, using ReadPort function.
    The problem I'm having is that when I call ReadPort to read 10 bytes, it does
    not wait until all 10 bytes are received, it will return after 1 byte is
    returned from the printer. I have used the standard serial port monitor
    before without this problem. Does USBMON support the SetPortTimeOuts
    function?

    Using Windows XP SP2
     
    Rockyh, Mar 25, 2005
    #1
    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.