Share via


IRTCClient2::ClientName

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method sets the name of the application that will be used in the User-Agent header.

Syntax

HRESULT put_ClientName(
  BSTR bstrClientName
);

Parameters

  • bstrClientName
    [in] The name to use in the User-Agent header.

Return Value

This method can return an RTC_E_ constant.

The following table shows an additional possible return value.

Value Meaning

E_OUTOFMEMORY

Insufficient memory to perform this operation.

Remarks

The server creates the User-Agent header of the SIP request using the information supplied in this method and the information supplied in IRTCClient2::ClientCurVer.

Requirements

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

See Also

Reference

IRTCClient2
IRTCClient2::ClientCurVer