Partager via


IRTCSession::RedirectedUserURI (Windows Embedded CE 6.0)

1/6/2010

This method gets the Universal Resource Identifier (URI) of the current user in the redirection list. Use this method only when processing the redirects manually, that is, the session is created using the RTCCS_FAIL_ON_REDIRECT flag.

Syntax

HRESULT get_RedirectedUserURI(
  BSTR* pbstrUserURI
);

Parameters

  • pbstrUserURI
    [out] Pointer to a BSTR that is filled with the SIP URI, or an empty string if there is no entry.

    The method allocates the buffer.

    The caller is responsible for releasing this memory with SysFreeString.

Return Value

This method can return an RTC_E_ constant.

Remarks

The application should call IRTCSession::NextRedirectedUser before calling this method or IRTCSession::RedirectedUserName to enumerate through the list of redirected users.

Requirements

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IRTCSession
IRTCSession::NextRedirectedUser
IRTCSession::Redirect
IRTCSession::RedirectedUserName

Other Resources

SysFreeString