McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 310

↗ View in doc context
page
310
source
cucm/v15/tapi-dev-guide/tapi-dev-guide.md
chunk_id
cucm::v15::tapi-dev-guide::tapi-dev-guide::319

phoneGetLamp The phoneGetLamp function returns the current lamp mode of the specified lamp. Cisco Unified IP Phones 79xx series do not support this function. Note Function Details LONG phoneGetLamp( HPHONE hPhone, DWORD dwButtonLampID, LPDWORD lpdwLampMode ); Parameters hPhone A handle to the open phone device. dwButtonLampID The identifier of the lamp that is to be queried. See PHONE_BUTTON, on page 291 for lamp IDs. lpdwLampMode Cisco Unified IP Phones 79xx series do not support this function. Note A pointer to a memory location that holds the lamp mode status of the given lamp. The lpdwLampMode parameter can have at most one bit set. This parameter uses the following PHONELAMPMODE_constants: • PHONELAMPMODE_FLASH -Flash means slow on and off. • PHONELAMPMODE_FLUTTER -Flutter means fast on and off. • PHONELAMPMODE_OFF -The lamp is off. • PHONELAMPMODE_STEADY -The lamp is continuously lit. • PHONELAMPMODE_WINK -The lamp winks. • PHONELAMPMODE_UNKNOWN -The lamp mode is currently unknown. • PHONELAMPMODE_DUMMY -Use this value to describe a button/lamp position that has no corresponding lamp. phoneGetMessage The phoneGetMessage function returns the next TAPI message that is queued for delivery to an application that is using the Event Handle notification mechanism (see phoneInitializeEx for further details). Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 278 Basic TAPI Implementation phoneGetLamp

Image 1 from page 310

Page 310 content