Knowledge Base

INFO: PHONECAPS for Phones That Don't Report Button States

Article ID: 108308

Article Last Modified on 11/21/2006


APPLIES TO


This article was previously published under Q108308
1.00 3.10 4.00 | 4.00 WINDOWS | WINDOWS NT kbprg

SUMMARY

A Windows Telephony application can call phoneGetDevCaps to inquire about a phone's telephony capabilities. The resulting function in the TAPI (Telephony application programming interface) service provider is TSPI_phoneGetDevCaps. If the phone device does not report button states, it is acceptable for the service provider to set the dwButtonModeSize/Offset fields in the PHONECAPS structure to 0 (zero). Alternatively, the provider could describe the button(s) as PHONEBUTTONMODE_DUMMY.

MORE INFORMATION

As a clarification, setting the dwButtonModeSize to 0 or describing the buttons as PHONEBUTTON_DUMMY does not prohibit the service provider from setting and using the dwButtonFunctionsSize and dwButtonFunctionsOffset members of the PHONECAPS structure.

Additional query words: 1.00 3.10

Keywords: kbinfo kbtapi KB108308