Share via


IAMNetworkStatus Interface

 
Microsoft DirectShow 9.0

IAMNetworkStatus Interface

The IAMNetworkStatus interface reports the quality of the network connection for the legacy Windows Media Player 6.4 source filter. The Windows Media Source filter implements this interface. It enables clients to retrieve information about the quality of the network connection.

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

Method Description
get_BufferingCount Retrieves the number of times the network source has buffered the data.
get_BufferingProgress Retrieves the buffering progress.
get_IsBroadcast Retrieves a value indicating whether the current clip is a broadcast clip.
get_LostPackets Retrieves the number of lost packets.
get_ReceivedPackets Retrieves the number of received packets.
get_ReceptionQuality Retrieves a value indicating the reception quality.
get_RecoveredPackets Retrieves the number of recovered packets.

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.