Tsukikage.WindowsUtil.TouchMessageDecoder.UnregisterTouchWindow C# (CSharp) Method

UnregisterTouchWindow() public method

public UnregisterTouchWindow ( ) : void
return void
        public void UnregisterTouchWindow()
        {
            try
            {
                if (filter != null)
                {
                    filter.Dispose();
                    filter = null;
                }

                if (!control.IsDisposed && !Win32.UnregisterTouchWindow(control.Handle))
                {
                    Debug.WriteLine("ERROR: Could not unregister window for multi-touch");
                }
            }
            catch (Exception)
            {
                Debug.WriteLine("ERROR: Touch APIs aren't supported.");
            }
        }