| Microsoft DirectX 8.1 (C++) |
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. |
See Also