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


Home
QNX Community Resources
QNX Documentation Library
PhGetData

PhGetData

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

PhGetData()

Get data for an event

Synopsis:

void *PhGetData( PhEvent_t const *event );

Library:

ph

Description:

This function returns a pointer to an event-specific data structure. For a complete description of the data structures returned with each event type, see the description of the PhEvent_t structure.

You can determine the size of the data from event->data_len.

Returns:

A pointer to an event-specific data structure.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhEvent_t, PhGetRects()

Events chapter of the Photon Programmer's Guide