IAMOpenProgress::QueryProgress (Compact 7)
3/12/2014
This method retrieves the progress of the file-open operation.
Syntax
HRESULT QueryProgress(
LONGLONG *pllTotal,
LONGLONG *pllCurrent
);
Parameters
- pllTotal
[out] Points to a variable which on return will indicate the length of the whole file, in bytes.
- pllCurrent
[out] Points to a variable which on return will indicate the number of bytes of the file that have been downloaded.
Return Values
Returns S_OK on success. Returns an HRESULT error on failure. Returns VFW_S_ESTIMATED if the returned values are estimates.
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |