![]() |
SwyxIt! Client SDK 14.20
|
import "CLMgrPub.idl";
Public Member Functions | |
HRESULT | CountInstalled ([out] int *piCountInstalled) |
HRESULT | GetDeviceCapabilities ([in] int iDeviceIndex, [out] PubCLMgrDeviceCapabilities *pDeviceCapabilities) |
HRESULT | EnableDevice ([in] int iDeviceIndex, [in] BOOL bEnable, [in] int iHookDeviceId) |
HRESULT | DeviceEnabled ([in] int iDeviceIndex, [out] BOOL *pbEnabled) |
HRESULT | IsOffHook ([in] int iDeviceIndex, [out] BOOL *pbOffHook) |
HRESULT | Mute ([in] int iDeviceIndex, [in] BOOL bMute) |
HRESULT | DeviceMuted ([in] int iDeviceIndex, [out] BOOL *pbMuted) |
HRESULT | HandsfreeMode ([in] int iDeviceIndex, [in] BOOL bHandsfree) |
HRESULT | DeviceInHandsfreeMode ([in] int iDeviceIndex, [out] BOOL *pbHandsfree) |
HRESULT | OpenListeningMode ([in] int iDeviceIndex, [in] BOOL bOpenListening) |
HRESULT | DeviceInOpenListeningMode ([in] int iDeviceIndex, [out] BOOL *pbOpenListening) |
HRESULT | Ringing ([in] int iDeviceIndex, [in] BOOL bRinging) |
HRESULT | DeviceRinging ([in] int iDeviceIndex, [out] BOOL *pbRinging) |
HRESULT | SkinActionAreaStateChanged ([in] DWORD dwCommandId, [in] DWORD dwButtonId, [in] DWORD dwActionAreaState) |
HRESULT | SkinInfoDetailChanged ([in] DWORD dwDetailIndex, [in] BSTR InfoDetail) |
Line Manager PlugIn interface; used by Client Line Manager for retrieving information about a handset
This interface has to be implemented by a SwyxIt! handset driver:
HRESULT IClientHandsetAddIn::CountInstalled | ( | [out] int * | piCountInstalled | ) |
Get Installation state from handset driver
*piCountInstalled | returns the number of present devices |
HRESULT IClientHandsetAddIn::DeviceEnabled | ( | [in] int | iDeviceIndex, |
[out] BOOL * | pbEnabled ) |
Is device enabled?
iDeviceIndex | gives the device to be used if the addin has found multiple devices (CountInstalled reported more than one device) iDeviceIndex starts with 0; if only one device has been found, set iDeviceIndex = 0 |
*pbEnabled | enables or disables the device |
HRESULT IClientHandsetAddIn::DeviceInHandsfreeMode | ( | [in] int | iDeviceIndex, |
[out] BOOL * | pbHandsfree ) |
Is device in handsfree mode?
iDeviceIndex | gives the device to be used if the addin has found multiple devices (CountInstalled reported more than one device) iDeviceIndex starts with 0; if only one device has been found, set iDeviceIndex = 0 |
*pbHandsfree | is true if the handsfree mode is enabled |
HRESULT IClientHandsetAddIn::DeviceInOpenListeningMode | ( | [in] int | iDeviceIndex, |
[out] BOOL * | pbOpenListening ) |
Is device in open listening mode?
iDeviceIndex | gives the device to be used if the addin has found multiple devices (CountInstalled reported more than one device) iDeviceIndex starts with 0; if only one device has been found, set iDeviceIndex = 0 |
*pbOpenListening | is true if the open listening mode mode is enabled |
HRESULT IClientHandsetAddIn::DeviceMuted | ( | [in] int | iDeviceIndex, |
[out] BOOL * | pbMuted ) |
Is device muted?
iDeviceIndex | gives the device to be used if the addin has found multiple devices (CountInstalled reported more than one device) iDeviceIndex starts with 0; if only one device has been found, set iDeviceIndex = 0 |
*pbMuted | current mute state of device |
HRESULT IClientHandsetAddIn::DeviceRinging | ( | [in] int | iDeviceIndex, |
[out] BOOL * | pbRinging ) |
Is device ringing?
iDeviceIndex | gives the device to be used if the addin has found multiple devices (CountInstalled reported more than one device) iDeviceIndex starts with 0; if only one device has been found, set iDeviceIndex = 0 |
*pbRinging | is true if the device is ringing |
HRESULT IClientHandsetAddIn::EnableDevice | ( | [in] int | iDeviceIndex, |
[in] BOOL | bEnable, | ||
[in] int | iHookDeviceId ) |
Enable / disable device
iDeviceIndex | gives the device to be used if the addin has found multiple devices (CountInstalled reported more than one device) iDeviceIndex starts with 0; if only one device has been found, set iDeviceIndex = 0 |
bEnable | enables or disables the device |
iHookDeviceId | is required for the IClientLineMgrPub4::PubExternalHookStateChanged event |
HRESULT IClientHandsetAddIn::GetDeviceCapabilities | ( | [in] int | iDeviceIndex, |
[out] PubCLMgrDeviceCapabilities * | pDeviceCapabilities ) |
iDeviceIndex | gives the device to be used if the addin has found multiple devices (CountInstalled reported more than one device) iDeviceIndex starts with 0; if only one device has been found, set iDeviceIndex = 0 |
*pDeviceCapabilities | contains the list of the device capabilities |
HRESULT IClientHandsetAddIn::HandsfreeMode | ( | [in] int | iDeviceIndex, |
[in] BOOL | bHandsfree ) |
Enable / disable handsfree mode
iDeviceIndex | gives the device to be used if the addin has found multiple devices (CountInstalled reported more than one device) iDeviceIndex starts with 0; if only one device has been found, set iDeviceIndex = 0 |
bHandsfree | enables or disables the handsfree mode |
HRESULT IClientHandsetAddIn::IsOffHook | ( | [in] int | iDeviceIndex, |
[out] BOOL * | pbOffHook ) |
iDeviceIndex | gives the device to be used if the addin has found multiple devices (CountInstalled reported more than one device) iDeviceIndex starts with 0; if only one device has been found, set iDeviceIndex = 0 |
*pbOffHook | Get hook off state from handset driver |
HRESULT IClientHandsetAddIn::Mute | ( | [in] int | iDeviceIndex, |
[in] BOOL | bMute ) |
Mute / activate device
iDeviceIndex | gives the device to be used if the addin has found multiple devices (CountInstalled reported more than one device) iDeviceIndex starts with 0; if only one device has been found, set iDeviceIndex = 0 |
bMute | mute state to be set |
HRESULT IClientHandsetAddIn::OpenListeningMode | ( | [in] int | iDeviceIndex, |
[in] BOOL | bOpenListening ) |
Enable / disable open listening mode using additional speaker (speaker phone)
iDeviceIndex | gives the device to be used if the addin has found multiple devices (CountInstalled reported more than one device) iDeviceIndex starts with 0; if only one device has been found, set iDeviceIndex = 0 |
bOpenListening | enables or disables the open listening mode |
HRESULT IClientHandsetAddIn::Ringing | ( | [in] int | iDeviceIndex, |
[in] BOOL | bRinging ) |
start / stop ringing
iDeviceIndex | gives the device to be used if the addin has found multiple devices (CountInstalled reported more than one device) iDeviceIndex starts with 0; if only one device has been found, set iDeviceIndex = 0 |
bRinging | lets the device ring |
HRESULT IClientHandsetAddIn::SkinActionAreaStateChanged | ( | [in] DWORD | dwCommandId, |
[in] DWORD | dwButtonId, | ||
[in] DWORD | dwActionAreaState ) |
Informs the handset driver about new action area state dwActionAreaState of the command dwCommandId and dwButtonId.
Some commands (line, speed dial) are indexed (line 0..line n)
The handset driver in response may switch on / off LEDs if applicable. If command is not indexed, dwButtonId is 0
dwCommandId | contains the skin command id |
dwButtonId | contains the skin button id |
dwActionAreaState | contains the state of the skin action area |
HRESULT IClientHandsetAddIn::SkinInfoDetailChanged | ( | [in] DWORD | dwDetailIndex, |
[in] BSTR | InfoDetail ) |
Informs the handset driver about new information area detail InfoDetail of the information type dwDetailIndex.
The handset driver in response may display this information in a LCD display if applicable.
dwDetailIndex | contains the skin area index for the InfoDetail text |
InfoDetail | contains the InfoDetail text |