OnProgress method
Called by filter as incremental progress is made during decode.
Syntax
HRESULT retVal = object.OnProgress(pBounds, bComplete);
Parameters
pBounds [in]
Type: RECTA pointer to a variable of type RECT that specifies the rectangle where progress was made.
bComplete [in]
Type: BOOLA BOOL that specifies TRUE if this is the final pass for this rectangle, or FALSE otherwise.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Use only if IMGDECODE_EVENT_PROGRESS flag was returned in pdwEvents parameter of IImageDecodeEventSink::OnBeginDecode.