Compartilhar via


IVoIPMgr::AutoForwardURI (Windows CE 5.0)

Send Feedback

This method sets or retrieves 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

VAIL Architecture | VAIL Reference | SysFreeString

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.