Compartir a través de


IAMNetShowPreroll Interface

 
Microsoft DirectShow 9.0

IAMNetShowPreroll Interface

The IAMNetShowPreroll interface sets and retrieves the preroll settings for the legacy Windows Media Player 6.4 source filter. The Windows Media Source filter implements this interface. The filter's default preroll time is five seconds.

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

Method Description
get_Preroll Queries whether the filter is currently prerolling.
put_Preroll Specifies whether the filter should start prerolling.

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.