다음을 통해 공유


IRTCClient2::InitializeEx (Windows CE 5.0)

Send Feedback

This method specifies additional information about the mode of initialization, such as disabling for the media stack or UPnP support.

This method initializes the client and must be called before other methods.

This method supersedes IRTCClient::Initialize.

HRESULT InitializeEx(longlFlags);

Parameters

  • lFlags
    [in] RTCIF_ constant specifying the mode of initialization for the RTC Client API.

    This parameter specifies behaviors that cannot be changed for the duration of the client object.

Return Values

This method can return an RTC_E_ constant.

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

Value Meaning
RTC_E_INVALID_PORTRANGE This error code is returned if the port range values set under the registry key HKLM\Software\Policies\Microsoft\Windows\RTC\PortRange are not valid.

The values in the registry are considered to be invalid if only one of two range values, MinSipDynamicPort and MaxSipDynamicPort, is set in the registry and the other one is missing.

The value of MaxSipDynamicPort in the registry must not be greater than 65,535.

The value of MinSipDynamicPort in the registry must not be less than 1,024.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

IRTCClient2 | IRTCClient::Initialize

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.