problem in implementing virtual audio driver

Hi all,

I am developing an virtual audio driver following MSVAD from DDK. The virtual driver receives PCM data from user mode application A, and at the same time, the virtual audio driver serves as an audio capture device sending those PCM data out in another application B (such as in graphedit).

Here I encountered the problem in sending the pcm data out in application B (graphedit). In the application A, I used setupdiXXX and createfile to get the handle to the driver, and called deviceiocontrol through IOCTL_KS_PROPERTY to send data to the driver. This property is attached to filter. Since there are two applications, A and B, the filters are instantiated twice, and the data sent to driver is associated with the filter created in application A, so how to pass data to filter created in application B? Or in application A, can I use the same device handle created in application B, so that there is only one filter instantiated? If it does, how? Thank you very much for your help.

Yong