25 references to ADVF
ComDisabled.Tests (1)
DataObjectComTests.cs (1)
90public int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => throw new NotImplementedException();
netstandard (1)
netstandard.cs (1)
1623[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.InteropServices.ComTypes.ADVF))]
PresentationCore (1)
System\Windows\dataobject.cs (1)
545int IComDataObject.DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink pAdvSink, out int pdwConnection)
System (1)
src\libraries\shims\System\ref\System.cs (1)
818[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.InteropServices.ComTypes.ADVF))]
System.Runtime.InteropServices (2)
System\Runtime\InteropServices\ComTypes\IDataObject.cs (1)
75int DAdvise([In] ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection);
System\Runtime\InteropServices\ComTypes\STATDATA.cs (1)
12public ADVF advf;
System.Windows.Forms (5)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
137public int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => _runtimeDataObject.DAdvise(ref pFormatetc, advf, adviseSink, out connection);
System\Windows\Forms\OLE\DataObject.Composition.NativeToRuntimeAdapter.cs (1)
32int ComTypes.IDataObject.DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection)
System\Windows\Forms\OLE\DataObject.Composition.RuntimeToNativeAdapter.cs (2)
24public int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => _runtimeDataObject.DAdvise(ref pFormatetc, advf, adviseSink, out connection); 39return (HRESULT)DAdvise(ref *(FORMATETC*)pformatetc, (ADVF)advf, adviseSink, out *(int*)pdwConnection);
System\Windows\Forms\OLE\DataObject.cs (1)
466int ComTypes.IDataObject.DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink pAdvSink, out int pdwConnection) =>
System.Windows.Forms.Tests (14)
System\Windows\Forms\ClipboardTests.cs (2)
609int ComTypes.IDataObject.DAdvise(ref ComTypes.FORMATETC pFormatetc, ComTypes.ADVF advf, ComTypes.IAdviseSink adviseSink, out int connection) => throw new NotImplementedException(); 1154public int DAdvise(ref ComTypes.FORMATETC pFormatetc, ComTypes.ADVF advf, ComTypes.IAdviseSink adviseSink, out int connection) => throw new NotImplementedException();
System\Windows\Forms\DataObjectComTests.cs (1)
69public int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => throw new NotImplementedException();
System\Windows\Forms\DataObjectTests.cs (10)
1871public int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => throw new NotImplementedException(); 1876public static TheoryData<ADVF, IAdviseSink> DAdvise_TheoryData() 1878TheoryData<ADVF, IAdviseSink> theoryData = new() 1880{ ADVF.ADVF_DATAONSTOP, null } 1884theoryData.Add(ADVF.ADVF_DATAONSTOP, mockAdviseSink.Object); 1891public void DataObject_DAdvise_InvokeDefault_Success(ADVF advf, IAdviseSink adviseSink) 1900private delegate void DAdviseCallback(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection); 1904public void DataObject_DAdvise_InvokeCustomComDataObject_Success(ADVF advf, IAdviseSink adviseSink) 1909.Callback((DAdviseCallback)((ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => 2671public int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => throw new NotImplementedException();
System\Windows\Forms\ToolStripItemTests.cs (1)
10262public int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => throw new NotImplementedException();