10 references to LB_ERR
UIAutomationClientSideProviders (10)
MS\Internal\AutomationProxies\WindowsListBox.cs (10)
308if (index != NativeMethods.LB_ERR) 482if (selection != NativeMethods.LB_ERR) 551return NativeMethods.LB_ERR; 557return result != NativeMethods.LB_ERR ? result : 0; 597return Misc.ProxySendMessageInt(_hwnd, NativeMethods.LB_SETSEL, IntPtr.Zero, new IntPtr(-1)) != NativeMethods.LB_ERR; 995return NativeMethods.LB_ERR != SendMessageResult; 1007return Misc.ProxySendMessageInt(_hwnd, NativeMethods.LB_SETCARETINDEX, new IntPtr(_item), new IntPtr(0)) != NativeMethods.LB_ERR; 1130success = (NativeMethods.LB_ERR != sendMessageResult); 1158success = (NativeMethods.LB_ERR != sendMessageResult); 1181return Misc.ProxySendMessageInt(hwnd, NativeMethods.LB_SETSEL, IntPtr.Zero, new IntPtr(item)) != NativeMethods.LB_ERR;