IAMAnalogVideoDecoder::put_OutputEnable method (strmif.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 put_OutputEnable
method enables or disables the video port bus.
Syntax
HRESULT put_OutputEnable(
[in] long lOutputEnable
);
Parameters
[in] lOutputEnable
Specifies whether the bus is enabled. Use one of the following values.
Value | Description |
---|---|
0 | Disable the video port bus. |
1 | Enable the video port bus. |
Return value
Returns an HRESULT value. Possible values include the following.
Return code | Description |
---|---|
|
The device does not support this method. |
|
Success. |
Remarks
This method applies only to devices that use a shared video port bus. If the value is 1, the device will actively drive the video port bus. If the value is zero, the device will be tri-stated.
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 | strmif.h (include Dshow.h) |
Library | Strmiids.lib |