CDC::GetBoundsRect 

UINT GetBoundsRect( LPRECT lpRectBounds, UINT flags );

Return Value

Specifies the current state of the bounding rectangle if the function is successful. It can be a combination of the following values:

Parameters

lpRectBounds

Points to a buffer that will receive the current bounding rectangle. The rectangle is returned in logical coordinates.

flags

Specifies whether the bounding rectangle is to be cleared after it is returned. This parameter can be either of the following values:

Remarks

Returns the current accumulated bounding rectangle for the specified device context.

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::SetBoundsRect, ::GetBoundsRect