Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

about IAMOpenProgress

Status
Not open for further replies.

jefflg

Programmer
Dec 12, 2002
6
CN
my code is as following:

JIF(m_pGB->AddSourceFilter(wFile, L"UrlFilter", &m_UrlSource));
JIF(m_UrlSource->QueryInterface(IID_IAMOpenProgress, (void**)&g_OpenPrg));
IPin * pOut=NULL;
pOut= GetOutPin(m_UrlSource,1);
JIF(RenderOutputPins(m_pGB, m_UrlSource));


hr = g_OpenPrg->QueryProgress(&ltotal, &lreceive);
Why hr is failed??? I can not get the total length and download length of the file, the file url is like "mms://43.82.1.1/test.wmv" or "
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top