Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PtCheckSurfaces

PtCheckSurfaces

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

PtCheckSurfaces()

Match an event with the control surfaces belonging to a widget

Synopsis:

int PtCheckSurfaces( PtWidget_t *widget,
                     PhPoint_t *point,
                     PhEvent_t *event );

Library:

ph

Description:

This function matches the given event with the control surfaces belonging to widget. If the event corresponds to a control surface, the surface's action is invoked.

PtCheckSurfaces() is usually called only from PtEventHandler(), although you can call it with a fake event if you need to.

Returns:

Pt_CONTINUE
The event wasn't processed by a control surface.
Pt_END
The event was processed by a control surface.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhEvent_t, PtEventHandler(), PhPoint_t

Control Surfaces chapter of the Photon Programmer's Guide