<div dir="ltr">Sorry about separated Questions.<div><br></div><div>How can i figure out pfnTranserCompleteNotify callback from read or write? and its buffers information.<br></div><div><br></div><div>i wanna write encryption/decryption filter for HDD Image. am i right way??</div>
<div><br></div><div>Thanks..</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-29 14:44 GMT+09:00 Woof <span dir="ltr"><<a href="mailto:he1.woof@gmail.com" target="_blank">he1.woof@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hm..<div><br></div><div>I fixed crash, it was in below interface.</div><div><br></div><div>these code could not get pfnDiscard and pfnStartDiscard members.</div>
<div><div>pThis->pIMediaBelow      = PDMIBASE_QUERY_INTERFACE(pIBaseBelow, PDMIMEDIA);    </div>
<div>pThis->pIMediaAsyncBelow = PDMIBASE_QUERY_INTERFACE(pIBaseBelow, PDMIMEDIAASYNC);</div></div><div><br></div><div>Actually, below is DrvVD. it has allocated drvvdDiskcard(), drvvdStartDiscard(). but members are NULL.</div>

<div><br></div><div>so.. I tried to assign these functions using debugger, it does not make crash but does not work.</div><div><br></div><div>finally, i modified when it call below driver interface member, if the interface member is null, just return success(0). it seems like no problem.</div>

<div><br></div><div><b>If this sample is still valid, should be fixed these point.</b></div><div><b>* it needs pfnGetSectorsize member in iMedia</b></div><div><b>* Checks below interface functions pointer</b></div><div><br>

</div><div>thanks~</div><div><br></div><div><br></div><div>ps.. I do not know when that members are ignored.. ;(</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">2014-08-29 11:33 GMT+09:00 Woof <span dir="ltr"><<a href="mailto:he1.woof@gmail.com" target="_blank">he1.woof@gmail.com</a>></span>:<div><div class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><br><div>I treid DrvStoregeFilter sample, but it makes crash. because PDMIMEDIA does not have pfnGetSectorSize member.</div><div><br></div><div>so add that function but still occur access violation on running time. ;(</div>


<div><br></div><div>I wanna to know this sample is not supported now? </div><div><br></div><div>working on 4.3.12 (4.3.14 makes crash with A/Vs..)</div><div><br></div><div>I hope just not updated problem.. :|</div><div><br>


</div><div>Thanks. :D</div><div><br></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>