public HResult EndGetEvent(IMFAsyncResult pResult, out IMFMediaEvent ppEvent) { HResult hr; hr = m_events.EndGetEvent(pResult, out ppEvent); return(hr); }
public HResult EndGetEvent(IMFAsyncResult pResult, out IMFMediaEvent ppEvent) { HResult hr = HResult.S_OK; ppEvent = null; hr = CheckShutdown(); if (MFError.Succeeded(hr)) { hr = _spEventQueue.EndGetEvent(pResult, out ppEvent); } return(hr); }