/mcpphoneGetStatusMessages The phoneGetStatusMessages function returns information about which phone-state changes on the specified phone device generate a callback to the application. An application can use phoneGetStatusMessages to query the generation of the corresponding messages. The phoneSetStatusMessages can control Message generation. All phone status messages remain disabled by default. Function Details LONG WINAPI phoneGetStatusMessages( HPHONE hPhone, LPDWORD lpdwPhoneStates, LPDWORD lpdwButtonModes, LPDWORD lpdwButtonStates ); Parameters hPhone A handle to the open phone device that is to be monitored. lpdwPhoneStates A pointer to a DWORD holding zero, one or more of the PHONESTATE_Constants. These flags specify the set of phone status changes and events for which the application can receive notification messages. You can enable or disable monitoring individually for the following states: • PHONESTATE_OTHER • PHONESTATE_CONNECTED • PHONESTATE_DISCONNECTED • PHONESTATE_OWNER • PHONESTATE_MONITORS • PHONESTATE_DISPLAY • PHONESTATE_LAMP • PHONESTATE_RINGMODE • PHONESTATE_RINGVOLUME • PHONESTATE_HANDSETHOOKSWITCH • PHONESTATE_HANDSETVOLUME • PHONESTATE_HANDSETGAIN • PHONESTATE_SPEAKERHOOKSWITCH • PHONESTATE_SPEAKERVOLUME • PHONESTATE_SPEAKERGAIN Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 281 Basic TAPI Implementation phoneGetStatusMessages
