IVoIPMgr::AutoForwardURI

This method sets or gets the URI to which incoming calls will be forwarded.

HRESULT put_AutoForwardURI( 
  BSTR bstrAutoForward 
);
HRESULT get_AutoForwardURI( 
  BSTR* pbstrAutoForward 
);

Parameters

  • bstrAutoForward, pbstrAutoForward
    [in, out] The URI used to automatically forward an incoming call. If the value is not set, an incoming call will not be forwarded. The value cannot be NULL.

    For get_AutoForward, this parameter is a pointer to a BSTR that will be filled with the URI, or an empty string if there is no entry. The method allocates the buffer. The application releases the memory using the SysFreeString function.

Return Values

The following table shows the possible return values.

Value Description
VOIP_E_NOTINITIALIZED Manager not initialized.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Voipmanager.h, Voipmanager.idl.
Link Library: Voipguid.lib.

See Also

VoIP Application Interface Layer Architecture | VoIP Application Interface Layer Reference | SysFreeString

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.