Notifications that indicate an object change.
LibTiePie can notify the calling application that an object changed in different ways:
- by calling a callback function
- by setting a events
- by sending a message (Windows only)
Set a callback function which is called when an event occurs.
- Parameters
-
[in] | hHandle | A handle identifying the object. |
[in] | pCallback | A pointer to the callback function. Use NULL to disable. |
[in] | pData | Optional user data. |
- Since
- 0.6
Get an event form the event queue.
- Parameters
-
[in] | hHandle | A handle identifying the object. |
[out] | pEvent | Pointer to store the event. |
[out] | pValue | Pointer to store the event value or NULL . |
- Returns
- BOOL8_TRUE if an event is available, BOOL8_FALSE otherwise.
- See also
- ObjSetEventEvent
- Since
- 0.6
Set an event file descriptor which is set when an event occurs.
- Parameters
-
[in] | hHandle | A handle identifying the object. |
[in] | fdEvent | An event file descriptor. Use <0 to disable. |
- See also
- ObjGetEvent
- Since
- 0.6
Set an event object handle which is set when an event occurs.
- Parameters
-
[in] | hHandle | A handle identifying the object. |
[in] | hEvent | A handle to the event object. Use NULL to disable. |
- See also
- ObjGetEvent
- Since
- 0.6
Set a window handle to which a WM_LIBTIEPIE_EVENT message is sent when an event occurs.
The parameters of the message contain the following:
- Parameters
-
[in] | hHandle | A handle identifying the object. |
[in] | hWnd | A handle to the window whose window procedure is to receive the message. Use NULL to disable. |
- Since
- 0.6