Platform SDK: Broadcast Architecture

IATVEFAnnouncement::ConfigureDataTransmission

Sets the transmission parameters for data packages.

HRESULT ConfigureDataTransmission(
  ULONG IP,
  USHORT Port,
  UINT Scope,
  ULONG MaxBitRate
);

Parameters

IP
Specifies the IP address for packages, in host order.
Port
Specifies the IP port for packages, in host order.
Scope
TTL of the multicast packets. The standard Internet scope for multicasting is 128. For VBI broadcasting, where only leaf nodes are listening, the recommended scope is 1.
MaxBitRate
A ULONG that specifies the maximum bit rate, in bps, of the data transmissions. This value cannot be 0.

Return Value

Returns S_OK if the method succeeds; otherwise, an error code is returned.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 98.
  Header: Declared in atvefsnd.idl.
  Import Library: Included as a resource in atvefsnd.dll.