DLLDEMO_API VOID __stdcall Mpeg1Decode_PopupVideoPropDlg(HWND hwnd)
{
if(m_pGraphBuilder)
{
IBaseFilter *pBaseFilter = NULL;
ISpecifyPropertyPages *pispp = NULL;
if (SUCCEEDED(m_pGraphBuilder->FindFilterByName(L"MPEG Video Decoder", &pBaseFilter)))
{ // Found MPEG video decoder.
//GetFilterInfo(pBaseFilter);
pBaseFilter->QueryInterface(IID_ISpecifyPropertyPages, (void **)&pispp);
// Declare the counted array of GUIDs for the property page
CAUUID caGUID;
pispp->GetPages(&caGUID);
pispp->Release();
// Display the default MPEG Video Decoder filter's property page
OleCreatePropertyFrame(hwnd,
0,
0,
L"Filter",
1,
(IUnknown **)&pBaseFilter,
0,
NULL,
0,
0,
NULL);
pBaseFilter->Release();
} // Found MPEG video decoder.
} // pigb instance
}