private void Setup()
        {
            int hr;

            m_f = new foo2();

            IRegisterServiceProvider rsp = new FilterGraph() as IRegisterServiceProvider;

            hr = rsp.RegisterService(typeof(foo2).GUID, m_f);
            DsError.ThrowExceptionForHR(hr);

            m_isp = rsp as DirectShowLib.IServiceProvider;
        }