次の方法で共有


IAMChannelInfo interface (qnetwork.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

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.

Inheritance

The IAMChannelInfo interface inherits from the IDispatch interface. IAMChannelInfo also has these types of members:

Methods

The IAMChannelInfo interface has these methods.

 
IAMChannelInfo::get_ChannelDescription

The get_ChannelDescription method retrieves the description of the channel.
IAMChannelInfo::get_ChannelName

The get_ChannelName method retrieves the channel name.
IAMChannelInfo::get_ChannelURL

The get_ChannelURL method retrieves the channel URL.
IAMChannelInfo::get_ContactAddress

The get_ContactAddress method retrieves the contact address.
IAMChannelInfo::get_ContactEmail

The get_ContactEmail method gets the email address of the contact.
IAMChannelInfo::get_ContactPhone

The get_ContactPhone method retrieves the phone number of the contact.

Remarks

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.
 

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header qnetwork.h

See also

IDispatch

Interfaces