30 references to DISPID_UNKNOWN
System.Windows.Forms (20)
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (2)
305*pid = PInvokeCore.DISPID_UNKNOWN; 329*pid = PInvokeCore.DISPID_UNKNOWN;
System\Windows\Forms\ActiveX\AxHost.AxPropertyDescriptor.cs (1)
92: PInvokeCore.DISPID_UNKNOWN;
System\Windows\Forms\ActiveX\AxHost.cs (2)
2710Debug.Assert(dispid != PInvokeCore.DISPID_UNKNOWN, "Wrong dispid sent to GetPropertyDescriptorFromDispid"); 3045sink.OnChanged(PInvokeCore.DISPID_UNKNOWN);
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (1)
485if (dispid != PInvokeCore.DISPID_UNKNOWN)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1258if (dispID == PInvokeCore.DISPID_UNKNOWN)
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (2)
144int dispid = PInvokeCore.DISPID_UNKNOWN; 174int pDispid = PInvokeCore.DISPID_UNKNOWN;
System\Windows\Forms\ComponentModel\COM2Interop\Com2TypeInfoProcessor.PropInfo.cs (1)
20public int DispId { get; set; } = PInvokeCore.DISPID_UNKNOWN;
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (3)
109if (dispid != PInvokeCore.DISPID_UNKNOWN) 129int dispid = PInvokeCore.DISPID_UNKNOWN; 137return dispid == PInvokeCore.DISPID_UNKNOWN
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (2)
512int dispid = PInvokeCore.DISPID_UNKNOWN; 516if (!hr.Succeeded || dispid == PInvokeCore.DISPID_UNKNOWN)
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (2)
581int dispid = PInvokeCore.DISPID_UNKNOWN; 586if (!hr.Succeeded || dispid == PInvokeCore.DISPID_UNKNOWN)
System\Windows\Forms\Controls\WebBrowser\HtmlToClrEventProxy.cs (3)
67*pid = PInvokeCore.DISPID_UNKNOWN; 81case PInvokeCore.DISPID_UNKNOWN: 91*pid = PInvokeCore.DISPID_UNKNOWN;
System.Windows.Forms.Primitives (5)
Windows\Win32\System\Com\StandardDispatch.cs (2)
151*pid = PInvokeCore.DISPID_UNKNOWN; 208if (id == PInvokeCore.DISPID_UNKNOWN)
Windows\Win32\System\Ole\ClassPropertyDispatchAdapter.cs (3)
76if (desiredId != PInvokeCore.DISPID_UNKNOWN && !IdInUse(desiredId)) 277nextDispId = PInvokeCore.DISPID_UNKNOWN; 322int dispid = info.GetCustomAttribute<DispIdAttribute>()?.Value ?? PInvokeCore.DISPID_UNKNOWN;
System.Windows.Forms.Primitives.Tests (4)
Interop\Oleaut32\ITypeInfoTests.cs (3)
152Assert.Equal([(int)PInvokeCore.DISPID_PICT_WIDTH, PInvokeCore.DISPID_UNKNOWN], rgDispId); 254Assert.Equal(PInvokeCore.DISPID_UNKNOWN, pTypeAttr->memidConstructor); 255Assert.Equal(PInvokeCore.DISPID_UNKNOWN, pTypeAttr->memidDestructor);
Windows\Win32\System\Com\IDispatchTests.cs (1)
32Assert.Equal([(int)PInvokeCore.DISPID_PICT_WIDTH, PInvokeCore.DISPID_UNKNOWN], rgDispId);
System.Windows.Forms.Tests (1)
System\Windows\Forms\HtmlToClrEventProxyTest.cs (1)
22dispatchEx.Value->GetNextDispID(fdexEnumAll, PInvokeCore.DISPID_UNKNOWN, out int id);