Platform SDK: TAPI

ITAddress::put_MessageWaiting

Sets the status of the message waiting on the address.

HRESULT put_MessageWaiting(
  VARIANT_BOOL fMessageWaiting
);

Parameters

fMessageWaiting
[in] Status of message waiting to be set.

Return Values

Value Meaning
S_OK Method succeeded.
E_INVALIDARG The fMessageWaiting parameter is not valid.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.
TAPI_E_TIMEOUT The operation failed because the TAPI 3.0 DLL timed it out. The timeout interval is two minutes.

Remarks

For programmers familiar with TAPI 2.x: This method turns on and off the flag LINEDEVSTATUSFLAGS_MSGWAIT in the dwDevStatusFlags member of the LINEDEVSTATUS structure by calling lineSetLineDevStatus.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tapi3.h.
  Library: Use T3iid.lib.

See Also

ITAddress, get_MessageWaiting, Address Object, LINEDEVSTATUS, lineSetLineDevStatus