using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NTwain.Internals { /// /// Interface for something that can check whether messages from WndProc is a TWAIN message and already handled. /// interface IWinMessageFilter { /// /// Checks and handle the message if it's a TWAIN message. /// /// The window handle. /// The message. /// The w parameter. /// The l parameter. /// true if handled internally. bool IsTwainMessage(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam); } }