Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7811107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T04:02:36+00:00 2026-06-02T04:02:36+00:00

I have a custom source filter, made by implementing CSource and CSourceStream from the

  • 0

I have a custom source filter, made by implementing CSource and CSourceStream from the dshow baseclasses. It is exported multiple times using the IFilterMapper2::RegisterFilter method, under different names.
Now, in my filter I’d like to know (as soon as possible) which registered instance of the filter it is that is being opened.
For example, suppose I have a dll that emulates a virtual webcam. The same dll exports two instances of the filter, so that in (say) Skype I can select virtual cam #1 and virtual cam #2. In the constructor of either my CSource or CSourceStream I’d like to know whether it is virtual cam #1 or virtual cam #2 that is being constructed. Can this be done?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T04:02:38+00:00Added an answer on June 2, 2026 at 4:02 am

    There is no documented way, but there is a workaround. Since DirectShow is stable it should be working nicely.

    In your filter class override IPersistPropertyBag::Load and the reads that you do with provided IPropertyBag::Read map to registry read from HKEY_LOCAL_MACHINE\SOFTWARE\Classes...\CLSID_VideoInputDeviceCategory\Instance\<your-instance>. So you can put all identification you need right there and have it accessible.

    Note this is called from application’s BindToObject call.

    Call Stack

    I am doing this in virtual video input backed by IP cameras http://alax.info/blog/1233

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom push source filter written in Delphi 6 using the DSPACK
I want to bind source to eclipse plugin. I have created custom target from
Textmate does not source my .profile file. I don't have a custom bash_init.rb, nor
I'm building a custom Ubuntu kernel and have modified one of the source files.
Suppose we have this example: http://techdroid.kbeanie.com/2009/07/custom-listview-for-android.html with source code available here: http://code.google.com/p/myandroidwidgets/source/browse/trunk/Phonebook/src/com/abeanie/ How can
We have custom headers in the Silverlight DataGrid using the ContentTemplate. We've got a
Setup: I have a custom class I've created that handles data retrieved from a
I'm having problems writing a custom DS source filter to play a TS stream
HI, I am implementing a custom role provider in my nhibernate application I have
I have a slow custom data source in a SSIS Dataa Flow Task.I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.