11 references to LB_ERR
System.Windows.Forms (11)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxItemAccessibleObject.cs (1)
47
if (result == PInvoke.
LB_ERR
)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
2201
if (maxLength == PInvoke.
LB_ERR
)
2210
Debug.Assert(actualLength != PInvoke.
LB_ERR
, "Should have validated the index above");
2211
return actualLength == PInvoke.
LB_ERR
? string.Empty : buffer[..Math.Min(maxLength, actualLength)].ToString();
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
949
m.ResultInternal = (LRESULT)PInvoke.
LB_ERR
;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (6)
30
public const int NoMatches = PInvoke.
LB_ERR
;
1538
if (insertIndex == PInvoke.
LB_ERR
)
1566
if (maxLength == PInvoke.
LB_ERR
)
1575
Debug.Assert(actualLength != PInvoke.
LB_ERR
, "Should have validated the index above");
1576
return actualLength == PInvoke.
LB_ERR
? string.Empty : buffer[..Math.Min(maxLength, actualLength)].ToString();
1594
if (insertIndex == PInvoke.
LB_ERR
)