Share via


IRTCProfile3::GetServer

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

The GetServer method gets the server address (registrar) for the profile.

Syntax

HRESULT GetServer(
  BSTR* pbstrServer,
  long* plTransport
);

Parameters

  • pbstrServer
    [out] String value containing the server address (registrar) for this profile.
  • plTransport
    [out] An RTCTR_ constant specifying the transport type used to connect to the server.

Return Value

On success, this method returns S_OK with the server address associated with the profile in the pbstrServer parameter.

RTC methods may return an RTC_E_ constant.

  • RTC_E_INVALID_PROFILE
    The profile is not valid.
  • RTC_E_PROFILE_NO_SERVER
    No server address is associated with the profile.
  • E_OUTOFMEMORY
    Insufficient memory to perform this operation.
  • E_POINTER
    The pbstrServer parameter is not a valid pointer.

Requirements

Header rtccore.h, rtccore.idl
Library rtcdll.dll
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Concepts

IRTCProfile3