ITPhone::get_ButtonState method (tapi3if.h)
The get_ButtonState method retrieves the button state associated with a particular button.
The application must call the ITPhone::Open method before invoking this method; otherwise, the invocation fails.
Syntax
HRESULT get_ButtonState(
[in] long lButtonID,
[out] PHONE_BUTTON_STATE *pButtonState
);
Parameters
[in] lButtonID
Button identifier.
[out] pButtonState
The PHONE_BUTTON_STATE descriptor for the button's state.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | tapi3if.h (include Tapi3.h) |
Library | Uuid.lib |
DLL | Tapi3.dll |