当视频处理器用作呈现器的一部分并且呈现器了解输出设备时,设置输出设备。
Syntax
HRESULT SetOutputDevice(
[in] IUnknown *pOutputDevice
);
参数
[in] pOutputDevice
表示输出设备的 IUnknown 。 这可能是 IDXGIOutput 或 Windows.Graphics.Display.IDisplayInformation,具体取决于呈现器。
返回值
如果此方法成功,则返回 S_OK。 否则,它将返回 HRESULT 错误代码。
要求
| Requirement | 价值 |
|---|---|
| 最低支持的客户端 | Windows 10 版本 1803 |
| 支持的最低服务器 | Windows Server 版本 1803 |
| Header | mfidl.h |