private static extern bool StartVideoPreview(IntPtr hChannel, IntPtr WndHandle, Rect rect, bool bOverlay, int VideoFormat, int FrameRate); 其中的rect必须是系统引用类型,整句如下 :private static extern bool StartVideoPreview(IntPtr hChannel, IntPtr WndHandle, ref System.Drawing.Rectangle rect, bool bOverlay, int VideoFormat, int FrameRate); 就可以...
|