ITPhone::put_LampMode method (tapi3if.h)

The put_LampMode method sets the current lamp mode for the given lamp.

Syntax

HRESULT put_LampMode(
  [in] long            lLampID,
  [in] PHONE_LAMP_MODE LampMode
);

Parameters

[in] lLampID

Lamp identifier.

[in] LampMode

The PHONE_LAMP_MODE descriptor for the phone's lamp status.

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_LampMode