![]()  | 
![]()  | 
![]()  | 
![]()  | 
Get data for an event
void *PhGetData( PhEvent_t const *event );
ph
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.
A pointer to an event-specific data structure.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
Events chapter of the Photon Programmer's Guide
![]()  | 
![]()  | 
![]()  | 
![]()  |