|
![]() |
The mode the lamp is litting. This parameter uses one and only one of the PHONELAMPMODE_ Constants:
AvailabilityDesign-Time: None / Run-Time: Read, Write
Declarationproperty LampMode: DWORD; RemarksThis property is only valid if the ThbTapiPhone.Active property is set to True. Setting this property causes the TAPI phoneSetLamp to be called. This function works in an asynchronous manner. See "The Synchronous / Asynchronous Model" and the ThbTapiPhone.Options.SyncMode property to read more about the handling of asynchronous functions. ErrorsSetting this property may cause an EhbTapiError exception . Possible errors are: PHONEERR_INVALPHONEHANDLE, PHONEERR_OPERATIONUNAVAIL, PHONEERR_NOTOWNER, PHONEERR_NOMEM, PHONEERR_INVALBUTTONLAMPID, PHONEERR_RESOURCEUNAVAIL, PHONEERR_INVALPHONESTATE, PHONEERR_OPERATIONFAILED, PHONEERR_INVALLAMPMODE, PHONEERR_UNINITIALIZED. |