Platform SDK: Broadcast Architecture

IATVEFAnnouncement::SetVersion

Sets the announcement version number in the context of the current session.

HRESULT SetVersion(
  UINT Version
);

Parameters

Version
Announcement version number.

Return Value

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

Remarks

This method sets the version identifier in the "o=" field, and is required by the SDP protocol (upon which ATVEF announcements are based). This value should be incremented each time an announcement is sent so that clients can identify the most recent announcement for a session.

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.