ITPhone::put_ButtonMode method (tapi3if.h)

The put_ButtonMode method sets the button mode.

Syntax

HRESULT put_ButtonMode(
  [in] long              lButtonID,
  [in] PHONE_BUTTON_MODE ButtonMode
);

Parameters

[in] lButtonID

Button identifier.

[in] ButtonMode

The PHONE_BUTTON_MODE descriptor for the button's mode.

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

See also

ITPhone

get_ButtonMode