Поделиться через


IRTCSession::RedirectedUserName (Windows Embedded CE 6.0)

1/6/2010

This method gets the displayable name of the current user in the redirection list. Use the method only when processing redirects manually, that is, the session is created using the RTCCS_FAIL_ON_REDIRECT flag.

Syntax

HRESULT get_RedirectedUserName(
  BSTR* pbstrUserName
);

Parameters

  • pbstrUserName
    [out] Pointer to a BSTR that is filled with the redirected user name, 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::RedirectedUserUri 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::RedirectedUserURI

Other Resources

SysFreeString