I have a quick question about some demo code from the directshownet samples. Is the following:
// Set the video to stream to pictureBox1
int hr;
hr = this.videoWindow.put_Owner(this.pictureBox1.Handle);
DsError.ThrowExceptionForHR(hr);
Preferable to:
// Set the video to stream to pictureBox1
DsError.ThrowExceptionForHR(this.videoWindow.put_Owner(this.pictureBox1.Handle));
for any reason? If so, why? Cheers