29 references to VT_ERROR
System.Private.Windows.Core (6)
Windows\Win32\System\Variant\VARIANT.cs (6)
137case VT_ERROR: 306case VT_ERROR: // Not explicitly mentioned in the docs but trivial to implement. 543case VT_ERROR: // Not explicitly mentioned in the docs but trivial to implement. 660VT_UI4 or VT_UINT or VT_ERROR => typeof(uint), 713case VT_ERROR: 774case VT_ERROR:
System.Windows.Forms (1)
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
893VT_ERROR or VT_HRESULT => typeof(int),
System.Windows.Forms.Primitives.Tests (22)
Interop\Oleaut32\VARIANTTests.cs (22)
299yield return new object[] { VT_ERROR, unchecked((nint)long.MinValue), 0 }; 302yield return new object[] { VT_ERROR, (nint)int.MinValue, int.MinValue }; 303yield return new object[] { VT_ERROR, (nint)short.MinValue, (int)short.MinValue }; 304yield return new object[] { VT_ERROR, (nint)sbyte.MinValue, (int)sbyte.MinValue }; 305yield return new object[] { VT_ERROR, (nint)(-10), -10 }; 306yield return new object[] { VT_ERROR, (nint)0, 0 }; 307yield return new object[] { VT_ERROR, (nint)10, 10 }; 308yield return new object[] { VT_ERROR, (nint)sbyte.MaxValue, (int)sbyte.MaxValue }; 309yield return new object[] { VT_ERROR, (nint)short.MaxValue, (int)short.MaxValue }; 310yield return new object[] { VT_ERROR, (nint)int.MaxValue, int.MaxValue }; 313yield return new object[] { VT_ERROR, unchecked((nint)long.MaxValue), -1 }; 343yield return new object[] { VT_ERROR }; 1619variant.Anonymous.Anonymous.vt = VT_VECTOR | VT_ERROR; 1631using VARIANT variant = Create(VT_VECTOR | VT_ERROR); 3747SAFEARRAY* psa = CreateSafeArray(VT_ERROR, result); 3750vt = VT_ARRAY | VT_ERROR, 3772SAFEARRAY* psa = CreateSafeArray(VT_ERROR, result, 1); 3775vt = VT_ARRAY | VT_ERROR, 3809SAFEARRAY* psa = CreateSafeArray(VT_ERROR, result); 3812vt = VT_ARRAY | VT_ERROR, 3836SAFEARRAY* psa = CreateSafeArray(VT_ERROR, result, 1, 2); 3839vt = VT_ARRAY | VT_ERROR,