If you register the filters in the code and not in the inf file you can get the filters pointers back. Then when the pin gets opened you get the filter's pointer from the KsPinGetParentFilter. KR> Not exactly. I have two identical filter factories for two hardware devices. KR> So both filters have the same friendly name (do they?). How can I KR> distinguish them? KR> For example: two identical PCI cards controlled by the same AVStream driver KR> (btw, I do pin-centric processing). Both appear as DirectShow filters of the KR> same type.But I want to instantiate filter for exatly the chosen card. KR> Actually the devices are not pci cards but child devices of a controller KR> device, so I can also pass some information from driver to application to KR> achieve desired result. KR> Konrad >> Basically, you want to give a different name to each one of your filters, >> right? This is done in the INF; you have to add a registry key somewhere KR> in >> the SYSTEM/CurrentControlSet/Controls/MediaCategories section that defines >> the Name associated for your filter guids. Refer to the registry for >> examples. KR> ****************** KR> WDMAUDIODEV addresses: KR> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx KR> Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe KR> Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe KR> Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx KR> URL to WDMAUDIODEV page: KR> http://www.wdmaudiodev.de/ ****************** WDMAUDIODEV addresses: Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx URL to WDMAUDIODEV page: http://www.wdmaudiodev.de/