LibTiePie  0.4.1
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs 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 (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.
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.
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 supported on Windows.
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 supported on Windows.
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.
Note
This function is only supported on Windows.
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.
Note
This function is only supported on Windows.