IH323LineEx::SetExternalT120Address method

[SetExternalT120Address is not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. The RTC Client API provides similar functionality.]

The SetExternalT120Address method is called by an application to configure an external T.120 address for data exchange. T.120 capability will be advertised during the H.245 negotiation, and the address will be used in the open logic channel acknowledgement so that the other endpoint can set up T.120 sessions with the service listening on that address. If this function is not called, the H.323 service provider will not advertise T.120 capability.

Syntax

HRESULT SetExternalT120Address(
  [in] BOOL  fEnable,
  [in] DWORD dwIP,
  [in] WORD  wPort
);

Parameters

fEnable [in]

TRUE to enable T.120 capability; FALSE to disable T.120 capability.

dwIP [in]

DWORD containing the IP address in host byte order of the external T.120 service.

wPort [in]

WORD containing the port of the external T.120 service.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.

Requirements

Requirement Value
TAPI version
Requires TAPI 3.0 or later
Header
H323priv.h
Library
Uuid.lib
DLL
Tapi3.dll