Filter driver for KMixer

All,

I wish to write an upper filter driver for the KMixer driver so that I
can monitor all the calls initiated by both MM API and DSound. Can
someone give me some idea on how to write such a filter? Thank you in
advance!

Best Regards,
Raymond Zhang