This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9 and obsolete as of Internet Explorer 10.
Called by the transform base class to enable the surface to function as a transform.
virtual HRESULT WorkProc( const CDXTWorkInfoNTo1 &WI, BOOL *pbContinueProcessing ) = 0;
- [in] Work procedure information structure that contains the rendering request details.
- [in] Pointer to a Boolean value that is TRUE as long as the function is supposed to continue the rendering request.
Returns S_OK for success, or an implementation-dependent value on error.
The base class calls this method when the procedural surface is being used as a transform. It is called to generate a block of output samples and write them to the specified destination surface. The default implementation of this method simply calls the DXBitBlt helper function with the specified input and output regions. In turn, this object is locked like a procedural surface and pixels are generated through the IDXARGBReadPtr interface. Usually, you don't need to override this method.