【发布时间】:2018-09-17 17:04:08
【问题描述】:
我有一个关于 directshownet 示例中的一些演示代码的快速问题。 是否如下:
// Set the video to stream to pictureBox1
int hr;
hr = this.videoWindow.put_Owner(this.pictureBox1.Handle);
DsError.ThrowExceptionForHR(hr);
更喜欢:
// Set the video to stream to pictureBox1
DsError.ThrowExceptionForHR(this.videoWindow.put_Owner(this.pictureBox1.Handle));
出于任何原因?如果是这样,为什么? 干杯
【问题讨论】:
标签: hresult