IAMNetShowPreroll 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 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.
Inheritance
The IAMNetShowPreroll interface inherits from the IDispatch interface. IAMNetShowPreroll also has these types of members:
Methods
The IAMNetShowPreroll interface has these methods.
IAMNetShowPreroll::get_Preroll The get_Preroll method queries whether the filter is currently prerolling. |
IAMNetShowPreroll::put_Preroll The put_Preroll method specifies whether the filter should start prerolling. |
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>
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 |