Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PgGetRegion(), PgGetRegionCx()

Get the ID of the region that emits draw events

Synopsis:

PhRid_t PgGetRegion( void );

PhRid_t PgGetRegionCx( void *dc );

Arguments:

dc
PgGetRegionCx() only. A void pointer to any type of draw context. Examples of draw contexts are:

Library:

ph

Description:

These functions get the ID of the region that currently emits draw events.

PgGetRegion() works on the current draw context, while you can specify the draw context for PgGetRegionCx().

Returns:

The ID of the region.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PgSetRegion*()