public HResult BeginGetEvent(IMFAsyncCallback pCallback, object o) { HResult hr; hr = m_events.BeginGetEvent(pCallback, o); return(hr); }
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); }