Share via


IVoIPCallerInfoRecord::ForwardingURI (Windows Embedded CE 6.0)

1/6/2010

This method sets or retrieves the URI for forwarding calls from this caller.

Syntax

HRESULT put_ForwardingURI( 
  BSTR bstrForwardingURI 
);
HRESULT get_ForwardingURI( 
  BSTR* pbstrForwardingURI 
);

Parameters

  • bstrForwardingURI, pbstrForwardingURI
    [in],[out, retval] The URI to use for forwarding calls. For the put_ForwardingURI method, to disable auto-forwarding for the caller, use "" (empty string) instead of NULL.

    For get_ForwardingURI, this parameter is a pointer to a BSTR that will be filled with the URI to use for call forwarding, or an empty string if there is no entry. The method allocates the buffer. The application is responsible for releasing the memory by using the SysFreeString function.

Return Value

If the HRESULT value passed to SUCCEEDED macro returns TRUE, the method succeeded. Otherwise, the method failed.

Remarks

Note

This documentation applies to functionality implemented in sample code for the VAIL Database Store. For more information, see VAIL Database Store Reference.

Requirements

Header Voipstore.h, voipstore.idl
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

IVoIPCallerInfoRecord
VAIL Database Store Reference

Other Resources

SysFreeString