Not searching device on every character input from our vendor and product text field.
Selecting a device in our tree now triggers a search for it.
2 using System.Runtime.InteropServices;
7 /// Win32 API declarations for Debug.Write statements.
10 internal sealed partial class Debugging
12 internal static class NativeMethods
14 internal const Int16 FormatMessageFromSystem = 0X1000;
16 [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
17 internal static extern Int32 FormatMessage(Int32 dwFlags, ref Int64 lpSource, Int32 dwMessageId, Int32 dwLanguageZId,
18 String lpBuffer, Int32 nSize, Int32 arguments);