Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
| Microsoft DirectShow 9.0 |
IAMOpenProgress::QueryProgress
The QueryProgress method retrieves the progress of the file-open operation.
Syntax
HRESULT QueryProgress( LONGLONG *pllTotal, LONGLONG *pllCurrent );
Parameters
pllTotal
[out] Pointer to a variable that receives the length of the entire file, in bytes.
pllCurrent
[out] Pointer to a variable that receives the length of the downloaded portion of the file, in bytes.
Return Values
Returns an HRESULT value. Possible values include those shown in the following table.
| Return code | Description |
| S_OK | Success. |
| VFW_S_ESTIMATED | The returned values are estimates. |
| E_UNEXPECTED | Unexpected error. |
Requirements
Header: Declared in Strmif.h; include Dshow.h.
Library: Use Strmiids.lib.
See Also