QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Raw callbacks and PtAddCallback() |
Ref. No. |
QNX.000009950 |
Category(ies) |
Development |
Issue |
How do I define the event type when I use PtAddCallback() to assign a raw callback?
|
Solution |
This can be set up in the PtRawCallback_t structure. It contains:
event_mask --> events which trigger the given function event_f --> callback function data --> data passed to callback function
Take a look at PtWidget in the widget reference and note that Pt_CB_RAW takes the above structure.
|
|