private void StartSnap() { System.Diagnostics.Debug.Assert(m_Camera.GetHandle() != IntPtr.Zero); IntPtr[] pBuffers = new IntPtr[1]; pBuffers[0] = m_Camera.GetRawBuffer(); HVSTATUS status = USBCameraAPI.HVStartSnap(m_Camera.GetHandle(), pBuffers, 1); USBCameraAPI.HV_VERIFY(status); if (USBCameraAPI.HV_SUCCESS(status)) { m_bIsSnap = true; } }