次の方法で共有


IRTCProfile::SetCredentials (Windows Embedded CE 6.0)

1/6/2010

This method overrides the profile credentials.

Syntax

HRESULT SetCredentials(
  BSTR bstrUserURI,
  BSTR bstrUserAccount,
  BSTR bstrPassword
);

Parameters

  • bstrUserURI
    [in] The user URI. It must be a valid SIP URI.
  • bstrUserAccount
    [in] The user account used by the authentication process.
  • bstrPassword
    [in] The password used by the authentication process.

Return Value

This method can return an RTC_E_ constant. The following table shows additional information about a specific return value.

Value Meaning

RTC_E_INVALID_REGISTRATION_STATE

The profile is already registered.

Requirements

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

See Also

Reference

IRTCProfile