Exemplo n.º 1
0
        public void Stop()
        {
            if (m_handle != IntPtr.Zero)
            {
                ApiFunctions.SendMessage(m_handle, CaptureMessage.WM_CAP_DRIVER_DISCONNECT,
                                         IntPtr.Zero, IntPtr.Zero);
                ApiFunctions.DestroyWindow(m_handle);

                m_handle = IntPtr.Zero;
            }

            GC.SuppressFinalize(this);
        }