IDShowPlugin Interface

 
Microsoft DirectShow 9.0

IDShowPlugin Interface

The IDShowPlugin interface enables the Windows Media Source filter to communicate with the Windows Media Player 6.4 Plug-in for Netscape Navigator. If Windows Media Player 6.4 is hosted in the Netscape Navigator browser, the Windows Media Source filter uses this interface to retrieve the URL and the User-Agent heading. This interface is not used when the player is hosted as an ActiveX control in Microsoft Internet Explorer.

Applications cannot access this interface. It is documented here for completeness, because it is defined in the header file Qnetwork.h.

In addition to the methods inherited from IUnknown, the IDShowPlugin interface exposes the following methods.

Method Description
get_URL Retrieves the URL of the current Web page.
get_UserAgent Retrieves the User-Agent string.

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.