IASCanvas::ClipAndCommit

This method sends the current contents of the device context (DC) to the screen while clipping against the supplied region.

Syntax

HRESULT ClipAndCommit( OLE_HANDLE hrgnClip );

Parameters

hrgnClip
Handle to the clipping region.

Return Values

NOERROR indicates success. E_UNEXPECTED indicates that something unexpected happened.

Remarks

Use CreateRectRgn to get a handle to the intended clipping region.

See Also

CreateRectRgn