HRESULT hr = m_pGraph.CoCreateInstance(CLSID_FilterGraph); if (SUCCEEDED(hr)) hr = m_pGraph->RenderFile(A2BSTR(pFile), NULL);