Reference

RectInRegion(3w)

NAME

RectInRegion (GDI32.@)

SYNOPSIS

BOOL RectInRegion
(
HRGN hrgn,
const RECT* rect
)

DESCRIPTION

Tests if a rectangle is at least partly inside the specified region.

PARAMS

hrgn [In] Region to test.

rect [In] Rectangle to test.

RETURNS

Non-zero if the rectangle is partially inside the region or zero otherwise.

IMPLEMENTATION

Declared in "wingdi.h".

Implemented in "dlls/gdi32/region.c".

Debug channel "region".

History