Property Page in Media Foundation RRS feed

  • Question

  • Hello!

    I want to write analog of GraphEdit.exe in Direct show using only MediaFoundation methods and interfaces, to view topology, information about mediatypes, property pages for TopologyNodes and etc.


    Now I want to get property pages for nodes in topology.


    Wheh I tried this:


      IUnknown * pUnk;
        CComQIPtr<ISpecifyPropertyPages> iSpecPP;

      HRESULT hr=pUnk->QueryInterface(&iSpecPP);

     the result is hr==E_NOINTERFACE


    So the question is - Is there a way to display property page for nodes in topology or ISpecifyPropertyPages interface is not using and not defined in MediaFoundation?

    Is the alternative to propertypages in DirectShow for MediaFoundation?

    Tuesday, March 27, 2007 5:18 AM


  • You're right, the topology objects (sources, sinks, MFTs) in Media Foundation do not implement property pages. You'll have to query the various attributes or properties that you're interested in and display them in your own UI.


    Mike Wasson, SDK Documentation
    This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use.

    (c) 2007 Microsoft Corporation. All rights reserved.




    Sunday, April 1, 2007 6:42 PM