ITPhone::put_ButtonFunction method (tapi3if.h)

The put_ButtonFunction method sets the button function.

Syntax

HRESULT put_ButtonFunction(
  [in] long                  lButtonID,
  [in] PHONE_BUTTON_FUNCTION ButtonFunction
);

Parameters

[in] lButtonID

Button identifier.

[in] ButtonFunction

The PHONE_BUTTON_FUNCTION descriptor for the button's function.

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_ButtonFunction