RectVisible (Compact 2013)

3/28/2014

This function determines whether any part of the specified rectangle lies within the clipping region of the specified device context.

Syntax

BOOL RectVisible( 
  HDC hdc, 
  CONST RECT* lprc
);

Parameters

  • hdc
    [in] Handle to the device context.
  • lprc
    [in] Long pointer to a RECT structure that contains the logical coordinates of the specified rectangle.

Return Value

Nonzero indicates that some portion of the specified rectangle lies within the clipping region.

Zero indicates that no portion of the specified rectangle lies within the clipping region.

Requirements

Header

windows.h

Library

coredll.lib

See Also

Reference

GDI Functions
RectInRegion
RECT