ITPhone::get_LampMode method (tapi3if.h)

The get_LampMode method gets the current lamp mode for the given lamp.

Syntax

HRESULT get_LampMode(
  [in]  long            lLampID,
  [out] PHONE_LAMP_MODE *pLampMode
);

Parameters

[in] lLampID

Lamp identifier.

[out] pLampMode

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

put_LampMode