Menu

IAMPluginControl Interface

Yuan Shi
2009-09-28
2012-10-29
  • Yuan Shi

    Yuan Shi - 2009-09-28

    From MSDN:
    The class identifier (CLSID) is CLSID_DirectShowPluginControl, which is
    defined in the header file uuids.h.

    But I can't find the CLSID of this interface. Hope to get some help.

     
  • snarfle

    snarfle - 2009-09-28

    Oh, and the DirectShowPluginControl object is defined in uuids.cs.

     
  • Yuan Shi

    Yuan Shi - 2009-09-28

    Thanks for your help. it is much appreciated.

     
  • Yuan Shi

    Yuan Shi - 2009-09-28

    How could I use the DirectShowPluginControl class?

    IAMPluginControl::SetPreferredClsid
    Adds a CLSID to the preferred list or removes a CLSID from the list.

    I want to implement the method. What should I do in C#?

     
  • snarfle

    snarfle - 2009-09-28

    I'm not sure I understand the question. How do you use any method? You
    create an instance of the class, then call methods against it.

     
  • Yuan Shi

    Yuan Shi - 2009-09-29

    public class DirectShowPluginControl
    {

    }

    There is no method of the class. How could I call methods against it?

     
  • snarfle

    snarfle - 2009-09-29

    DirectShowPluginControl dspc = new DirectShowPluginControl();
    IAMPluginControl ipc = (IAMPluginControl)dspc;

     

Log in to post a comment.