摘要: enum PLAYSTATE {Stopped, Paused, Running, Init};PLAYSTATE g_Current=Init;HWND ghApp;HINSTANCE ghInst;HRESULT hr;LONG evCode;LONG evParam1;LONG ... 阅读全文
posted @ 2014-09-20 08:49 毛毛虫的薄刻 阅读(128) 评论(0) 推荐(0) 编辑
摘要: IGraphBuilder * g_pGraphBuilder = NULL;IBaseFilter *Pbf=0;IVideoWindow * g_pVWindow = NULL;IMediaControl * g_pMControl = NULL;IMediaEventEx * g_pMEven... 阅读全文
posted @ 2014-09-20 08:43 毛毛虫的薄刻 阅读(236) 评论(0) 推荐(0) 编辑
摘要: hr = m_pSysDevEnum->CreateClassEnumerator(*clsid, &pEnumCat, 0); ASSERT(SUCCEEDED(hr)); if FAILED(hr) return; // Enumerate all filters using the... 阅读全文
posted @ 2014-09-20 08:34 毛毛虫的薄刻 阅读(161) 评论(0) 推荐(0) 编辑
摘要: void CSysEnumDlg::DisplayFullCategorySet(void){ USES_CONVERSION; HRESULT hr; IEnumMoniker *pEmCat = 0; ICreateDevEnum *pCreateDevEnum = NULL; int... 阅读全文
posted @ 2014-09-20 08:30 毛毛虫的薄刻 阅读(159) 评论(0) 推荐(0) 编辑