Platform SDK: Broadcast Architecture

IATVEFAnnouncement::SetSecondsToEnd

Specify the number of seconds until the current announcement is no longer valid, relative to the reception time of the announcement.

HRESULT SetSecondsToEnd(
  UINT SecondsToEnd
);

Parameters

SecondsToEnd
Value representing the number of seconds until this announcement is no longer valid.

Return Value

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

Remarks

This field is optional in the ATVEF specification.

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.