Platform SDK: Broadcast Architecture

IATVEFAnnouncement::SetPrimary

Specifies whether this will be the primary enhancement stream associated with the currently playing video program.

HRESULT SetPrimary(
  BOOL fPrimary
);

Parameters

fPrimary
Set to TRUE if this is the primary enhancement stream for the currently playing program, otherwise FALSE.

Return Value

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

Remarks

This field is optional under the ATVEF specification. See the specification for a description of primary streams.

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.