次の方法で共有


IRTCSessionReferredEvent::ReferToURI (Windows Embedded CE 6.0)

1/6/2010

This method gets the URI of the party to whom the session is referred, that is, the transfer target. This information is used by the recipient to create a new session with the transfer target.

Syntax

HRESULT get_ReferToURI(
  BSTR* pbstrReferToURI
);

Parameters

  • pbstrReferToURI
    [out] Pointer to a BSTR that is filled with the URI of the transfer target, 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.

The following table shows additional return values and additional information about a specific return value.

Value Meaning

E_POINTER

The pbstrReferToURI parameter is not a valid pointer.

E_OUTOFMEMORY

Insufficient memory to perform this operation.

RTC_E_NOT_EXIST

The URI of the transfer target does not exist for this event.

Requirements

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

See Also

Reference

IRTCSessionReferredEvent

Other Resources

SysFreeString