Platform SDK: Broadcast Architecture

IATVEFAnnouncement::SetSessionName

Specifies a name identifying a session.

HRESULT SetSessionName(
  LPOLESTR szSessionName
);

Parameters

szSessionName
Name of the current session.

Return Value

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

Remarks

This method sets the name identifier in the "s=" field, and is required by the SDP protocol (upon which ATVEF announcements are based). This name is typically set to the name of the program to which the enhancements belong.

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.