How StorPortGetScatterGatherList build the scatter/gather list?

Discussion in 'Windows Vista Drivers' started by hopesunme@gmail.com, May 6, 2014.

  1. Guest

    I call ReadFile API with a buffer which filled all 1 to storport dirver.
    And build a Scatter/Gather List in driver to transfer data between host and device.

    if the buffer size is 16k, and i only need read 4k from device.
    i found the first 4k is the data which transfer from device, but the rest data of buffer is changed all 0.

    the srb->DataBuffer is NULL.

    i think the rest data of this buffer should not be changed.

    Are there anyone help me to figure out why?


    Thanks!
     
    , May 6, 2014
    #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.