Поделиться через


IAMChannelInfo Interface

 
Microsoft DirectShow 9.0

IAMChannelInfo Interface

The IAMChannelInfo interface gets and sets channel information for Windows Media Station (.nsc) files.

This interface is exposed by the Windows Media Source filter only when the filter is reading Windows Media Station (.nsc) files. The Windows Media Source filter uses .nsc files to get the information it needs to receive multicast content over the Internet. These files contain information such as stream location and rollover URL, as well as descriptive information about the station.

In addition to the methods inherited from IDispatch, the IAMChannelInfo interface exposes the following methods.

Method Description
get_ChannelDescription Retrieves the description of the channel.
get_ChannelName Retrieves the channel name.
get_ChannelURL Retrieves the channel URL.
get_ContactAddress Retrieves the contact address.
get_ContactEmail Retrieves the contact e-mail address.
get_ContactPhone Retrieves the contact phone number.

Requirements

Header: Include Qnetwork.h.

Library: None.

To define the interface identifier, include the header file Initguid.h before Qnetwork.h, but after Dshow.h and other header files:

#include <dshow.h>
#include <initguid.h>
#include <qnetwork.h>
  • Note   Make sure that Initguid.h is included only once in your project. Otherwise, you will receive linker errors for duplicate GUID values.