LibTiePie
0.5
Library for interfacing TiePie engineering instruments
|
Functions to set notifications that are triggered when a device is removed from the list.
Functions | |
void | LstSetCallbackDeviceRemoved (TpCallbackDeviceList_t pCallback, void *pData) |
Set a callback function which is called when a device is removed from the device list. More... | |
void | LstSetEventDeviceRemoved (int fdEvent) |
Set an event file descriptor which is set when a device is removed from the device list. More... | |
void LstSetCallbackDeviceRemoved | ( | TpCallbackDeviceList_t | pCallback, |
void * | pData | ||
) |
Set a callback function which is called when a device is removed from the device list.
[in] | pCallback | A pointer to the callback function. Use NULL to disable. |
[in] | pData | Optional user data. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
LIBTIEPIESTATUS_SUCCESS |
void LstSetEventDeviceRemoved | ( | int | fdEvent | ) |
Set an event file descriptor which is set when a device is removed from the device list.
[in] | fdEvent | an event file descriptor. Use <0 to disable. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
LIBTIEPIESTATUS_SUCCESS |