Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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 get_OutputEnable method determines whether the video port bus is enabled.
Syntax
HRESULT get_OutputEnable(
[out] long *plOutputEnable
);
Parameters
[out] plOutputEnable
Pointer to a variable that receives one of the following values.
| Value | Description |
|---|---|
| 0 | Video port bus is disabled. |
| 1 | Video port bus is enabled. |
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 returned value is 1, the device is actively driving the video port bus. If the value is zero, the device is 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 |