LibTiePie  0.4.4
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Groups Pages
Events

Functions

void LstSetCallbackDeviceAdded (TpCallback_t pCallback, void *pData)
 Set callback function which is called when a device is added to the list.
 
void LstSetCallbackDeviceRemoved (TpCallback_t pCallback, void *pData)
 Set callback function which is called when a device is removed from the list.
 
void LstSetEventDeviceAdded (int fdEvent)
 Set event file descriptor which is set when a device is added to the list.
 
void LstSetEventDeviceRemoved (int fdEvent)
 Set event file descriptor which is set when a device is removed from the list.
 
void LstSetEventDeviceAdded (HANDLE hEvent)
 Set event object handle which is set when a device is added to the list.
 
void LstSetEventDeviceRemoved (HANDLE hEvent)
 Set event object handle which is set when a device is removed from the list.
 
void LstSetMessageDeviceAdded (HWND hWnd)
 Set window handle to which a WM_LIBTIEPIE_LST_DEVICEADDED message is sent when a device is added to the list.
 
void LstSetMessageDeviceRemoved (HWND hWnd)
 Set window handle to which a WM_LIBTIEPIE_LST_DEVICEREMOVED message is sent when a device is removed from the list.
 

Detailed Description

Function Documentation

void LstSetCallbackDeviceAdded ( TpCallback_t  pCallback,
void *  pData 
)

Set callback function which is called when a device is added to the list.

Parameters
pCallbackPointer to callback function.
pDataOptional user data.
Since
0.4.0
void LstSetCallbackDeviceRemoved ( TpCallback_t  pCallback,
void *  pData 
)

Set callback function which is called when a device is removed from the list.

Parameters
pCallbackPointer to callback function.
pDataOptional user data.
Since
0.4.0
void LstSetEventDeviceAdded ( int  fdEvent)

Set event file descriptor which is set when a device is added to the list.

Parameters
fdEventEvent file descriptor.
Note
This function is only available on GNU/Linux.
Since
0.4.0
void LstSetEventDeviceRemoved ( int  fdEvent)

Set event file descriptor which is set when a device is removed from the list.

Parameters
fdEventEvent file descriptor.
Note
This function is only available on GNU/Linux.
Since
0.4.0
void LstSetEventDeviceAdded ( HANDLE  hEvent)

Set event object handle which is set when a device is added to the list.

Parameters
hEventA handle to the event object.
Note
This function is only available on Windows.
Since
0.4.0
void LstSetEventDeviceRemoved ( HANDLE  hEvent)

Set event object handle which is set when a device is removed from the list.

Parameters
hEventA handle to the event object.
Note
This function is only available on Windows.
Since
0.4.0
void LstSetMessageDeviceAdded ( HWND  hWnd)

Set window handle to which a WM_LIBTIEPIE_LST_DEVICEADDED message is sent when a device is added to the list.

The messages wParam contains the Device type "device types" and the lParam contains the serial number of the added device.

Parameters
hWndA handle to the window whose window procedure is to receive the message. Use NULL to disable.
Note
This function is only available on Windows.
Since
0.4.0
void LstSetMessageDeviceRemoved ( HWND  hWnd)

Set window handle to which a WM_LIBTIEPIE_LST_DEVICEREMOVED message is sent when a device is removed from the list.

The messages wParam contains the Device type "device types" and the lParam contains the serial number of the removed device.

Parameters
hWndA handle to the window whose window procedure is to receive the message. Use NULL to disable.
Note
This function is only available on Windows.
Since
0.4.0