Retrieves information about requirements that the IHTMLPainter::Draw method must meet.
HRESULT retVal = object.GetDrawInfo(lFlags, pDrawInfo);
- lFlags [in]
- pDrawInfo [out, retval]
Pointer to a variable of type HTML_PAINT_DRAW_INFO that receives the viewport, update region, and/or transform information.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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.