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