locked
How to test a custom interface RRS feed

  • Question




  • ISaturation *pSaturation;
    IBaseFilter *m_pSatInterface;


        hr = pUnknown->QueryInterface(IID_ISaturation(void **)pSaturation);

        if(FAILED(hr)){
       
            return E_NOINTERFACE;
        }
            m_pSatInterface->GetSaturation(&plSat);
            m_pSatInterface->SetSaturation(&lSat);

    How would one access/test this a custom interface from an application ?
    is this correct ?

       

    Wednesday, May 27, 2009 11:10 PM

Answers