Get data for an event
void *PhGetData( PhEvent_t const *event );
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 |