Platform SDK: Broadcast Architecture

IATVEFAnnouncement::ConfigureDataAndTriggerTransmission

Sets the package and trigger IP address, port, and scope.

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

Parameters

IP
IP address for packages and triggers in host order.
Port
Port (in host order) on which packages will be sent. The trigger port will be set to (Port + 1).
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 and trigger 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.

See Also

IATVEFAnnouncement::ConfigureDataTransmission, IATVEFAnnouncement::ConfigureTriggerTransmission