Beispiel #1
0
    public HResult BeginGetEvent(IMFAsyncCallback pCallback, object o)
    {
        HResult hr;

        hr = m_events.BeginGetEvent(pCallback, o);

        return(hr);
    }
Beispiel #2
0
        public HResult BeginGetEvent(IMFAsyncCallback pCallback, object punkState)
        {
            HResult hr = HResult.S_OK;

            hr = CheckShutdown();
            if (MFError.Succeeded(hr))
            {
                hr = _spEventQueue.BeginGetEvent(pCallback, punkState);
            }
            return(hr);
        }