PhGetData
![]() |
![]() |
![]() |
![]() |
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:
Events chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
