Sorry about separated Questions. How can i figure out pfnTranserCompleteNotify callback from read or write? and its buffers information.
i wanna write encryption/decryption filter for HDD Image. am i right way?? Thanks.. 2014-08-29 14:44 GMT+09:00 Woof <[email protected]>: > Hm.. > > I fixed crash, it was in below interface. > > these code could not get pfnDiscard and pfnStartDiscard members. > pThis->pIMediaBelow = PDMIBASE_QUERY_INTERFACE(pIBaseBelow, > PDMIMEDIA); > pThis->pIMediaAsyncBelow = PDMIBASE_QUERY_INTERFACE(pIBaseBelow, > PDMIMEDIAASYNC); > > Actually, below is DrvVD. it has allocated drvvdDiskcard(), > drvvdStartDiscard(). but members are NULL. > > so.. I tried to assign these functions using debugger, it does not make > crash but does not work. > > 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. > > *If this sample is still valid, should be fixed these point.* > ** it needs pfnGetSectorsize member in iMedia* > ** Checks below interface functions pointer* > > thanks~ > > > ps.. I do not know when that members are ignored.. ;( > > > > > > > > 2014-08-29 11:33 GMT+09:00 Woof <[email protected]>: > > >> I treid DrvStoregeFilter sample, but it makes crash. because PDMIMEDIA >> does not have pfnGetSectorSize member. >> >> so add that function but still occur access violation on running time. ;( >> >> I wanna to know this sample is not supported now? >> >> working on 4.3.12 (4.3.14 makes crash with A/Vs..) >> >> I hope just not updated problem.. :| >> >> Thanks. :D >> >> >> >> >> >
_______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
