Retrieves information about requirements that the IHTMLPainter::Draw method must meet.
HRESULT GetDrawInfo( LONG lFlags, HTML_PAINT_DRAW_INFO *pDrawInfo );
- [in] LONG that specifies an HTML_PAINT_DRAW_INFO_FLAGS enumeration value indicating which members of the HTML_PAINT_DRAW_INFO structure should be filled.
- [out, retval] Pointer to a variable of type HTML_PAINT_DRAW_INFO that receives the viewport, update region, and/or transform information.
Returns S_OK if successful, or an error value otherwise.
Typically, a custom implementation of IHTMLPainter::Draw will call IHTMLPaintSite::GetDrawInfo to obtain information it needs to redraw the behavior correctly, such as any transformation it needs to apply to its output.
The HTML_PAINT_DRAW_INFO_FLAGS constants can be combined with a bitwise OR operation (|) to construct the lFlags parameter.