RectVisible

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

RectInRegion
RECT
GDI Functions