IRTCProfile3::GetServer
The GetServer method gets the server address (registrar) for the profile.
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 Values
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.
Value | Meaning |
---|---|
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
Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCProfile3 is defined as 051CAA1D-2E4E-4187-B947-69A0C99BA70B.