Called by filter as incremental progress is made during decode.
HRESULT OnProgress( RECT *pBounds, BOOL bComplete );
- [in] A pointer to a variable of type RECT that specifies the rectangle where progress was made.
- [in] A BOOL that specifies TRUE if this is the final pass for this rectangle, or FALSE otherwise.
Returns S_OK if successful, or an error value otherwise.
Use only if
IMGDECODE_EVENT_PROGRESSflag was returned in pdwEvents parameter of IImageDecodeEventSink::OnBeginDecode.