The problem is from http://www.osronline.com/cf.cfm?PageURL=showlists.cfm?list=NTDEV
I use windbg to read the physical address in STOR_SCATTER_GATHER_ELEMENT from StorPortGetScatterGatherList. Then use !ptov command to get the page map table. The physical page and it's virtual address can be found in the table. This is the virtual address used in memory copy for the bounce buffer.
My question is :
Is there a way to find this virtual address using WDK APIs?