Share via


RectVisible

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

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 Values

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

OS Versions: Windows CE 2.0 and later.
Header: Windows.h.
Link Library: Coredll.lib.

See Also

RectInRegion | RECT | GDI Functions

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.