16 instantiations of STGMEDIUM
PresentationCore (1)
System\Windows\dataobject.cs (1)
639
medium = new
STGMEDIUM
();
System.Windows.Forms (2)
System\Windows\Forms\OLE\DragDropHelper.cs (2)
275
ComTypes.STGMEDIUM medium =
new
()
431
ComTypes.STGMEDIUM medium =
new
()
System.Windows.Forms.Primitives (1)
Windows\Win32\System\Com\STGMEDIUM.cs (1)
28
public static explicit operator ComType.STGMEDIUM(STGMEDIUM stg) =>
new
()
System.Windows.Forms.Tests (12)
System\Windows\Forms\DataObjectTests.cs (10)
2389
STGMEDIUM stgMedium =
new
()
2432
STGMEDIUM stgMedium =
new
()
2469
STGMEDIUM stgMedium =
new
()
2491
STGMEDIUM stgMedium =
new
()
2512
STGMEDIUM stgMedium =
new
()
2553
STGMEDIUM stgMedium =
new
()
2591
STGMEDIUM stgMedium =
new
()
2610
STGMEDIUM stgMedium =
new
()
2632
STGMEDIUM stgMedium =
new
()
2658
STGMEDIUM stgMedium =
new
()
System\Windows\Forms\DragDropFormatTests.cs (2)
34
STGMEDIUM medium =
new
()
57
medium =
new
()
81 references to STGMEDIUM
ComDisabled.Tests (3)
DataObjectComTests.cs (3)
95
public void GetData(ref FORMATETC format, out
STGMEDIUM
medium) => throw new NotImplementedException();
96
public void GetDataHere(ref FORMATETC format, ref
STGMEDIUM
medium) => throw new NotImplementedException();
98
public void SetData(ref FORMATETC formatIn, ref
STGMEDIUM
medium, bool release) => throw new NotImplementedException();
netstandard (1)
netstandard.cs (1)
1669
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.InteropServices.ComTypes.
STGMEDIUM
))]
PresentationCore (13)
System\Windows\dataobject.cs (13)
627
void IComDataObject.GetData(ref FORMATETC formatetc, out
STGMEDIUM
medium)
697
void IComDataObject.GetDataHere(ref FORMATETC formatetc, ref
STGMEDIUM
medium)
757
void IComDataObject.SetData(ref FORMATETC pFormatetcIn, ref
STGMEDIUM
pmedium, bool fRelease)
1241
private int OleGetDataUnrestricted(ref FORMATETC formatetc, ref
STGMEDIUM
medium, bool doNotReallocate)
1404
private int GetDataIntoOleStructs(ref FORMATETC formatetc, ref
STGMEDIUM
medium, bool doNotReallocate)
1453
private int GetDataIntoOleStructsByTypeMedimHGlobal(string format, object data, ref
STGMEDIUM
medium, bool doNotReallocate)
1550
private int GetDataIntoOleStructsByTypeMedimIStream(string format, object data, ref
STGMEDIUM
medium)
1596
private int GetDataIntoOleStructsByTypeMediumGDI(string format, object data, ref
STGMEDIUM
medium)
1630
private int GetDataIntoOleStructsByTypeMediumEnhancedMetaFile(string format, object data, ref
STGMEDIUM
medium)
2666
STGMEDIUM
medium;
2837
STGMEDIUM
medium;
2877
STGMEDIUM
medium;
3237
private void GetDataInner(ref FORMATETC formatetc, out
STGMEDIUM
medium)
System (1)
src\libraries\shims\System\ref\System.cs (1)
827
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.InteropServices.ComTypes.
STGMEDIUM
))]
System.Runtime.InteropServices (4)
System\Runtime\InteropServices\ComTypes\IAdviseSink.cs (1)
28
void OnDataChange([In] ref FORMATETC format, [In] ref
STGMEDIUM
stgmedium);
System\Runtime\InteropServices\ComTypes\IDataObject.cs (3)
29
void GetData([In] ref FORMATETC format, out
STGMEDIUM
medium);
36
void GetDataHere([In] ref FORMATETC format, ref
STGMEDIUM
medium);
60
void SetData([In] ref FORMATETC formatIn, [In] ref
STGMEDIUM
medium, [MarshalAs(UnmanagedType.Bool)] bool release);
System.Windows.Forms (23)
System\Windows\Forms\OLE\DataObject.Composition.cs (3)
142
public void GetData(ref FORMATETC format, out
STGMEDIUM
medium) => _runtimeDataObject.GetData(ref format, out medium);
143
public void GetDataHere(ref FORMATETC format, ref
STGMEDIUM
medium) => _runtimeDataObject.GetDataHere(ref format, ref medium);
145
public void SetData(ref FORMATETC formatIn, ref
STGMEDIUM
medium, bool release) => _runtimeDataObject.SetData(ref formatIn, ref medium, release);
System\Windows\Forms\OLE\DataObject.Composition.NativeToRuntimeAdapter.cs (6)
78
void ComTypes.IDataObject.GetData(ref FORMATETC format, out
STGMEDIUM
medium)
84
medium = (
STGMEDIUM
)nativeMedium;
88
void ComTypes.IDataObject.GetDataHere(ref FORMATETC format, ref
STGMEDIUM
medium)
94
medium = (
STGMEDIUM
)nativeMedium;
104
void ComTypes.IDataObject.SetData(ref FORMATETC formatIn, ref
STGMEDIUM
medium, bool release)
110
medium = (
STGMEDIUM
)nativeMedium;
System\Windows\Forms\OLE\DataObject.Composition.RuntimeToNativeAdapter.cs (8)
29
public void GetData(ref FORMATETC format, out
STGMEDIUM
medium) => _runtimeDataObject.GetData(ref format, out medium);
30
public void GetDataHere(ref FORMATETC format, ref
STGMEDIUM
medium) => _runtimeDataObject.GetDataHere(ref format, ref medium);
32
public void SetData(ref FORMATETC formatIn, ref
STGMEDIUM
medium, bool release) => _runtimeDataObject.SetData(ref formatIn, ref medium, release);
99
GetData(ref *(FORMATETC*)pformatetcIn, out
STGMEDIUM
medium);
116
STGMEDIUM
medium = (
STGMEDIUM
)(*pmedium);
139
STGMEDIUM
medium = (
STGMEDIUM
)(*pmedium);
System\Windows\Forms\OLE\DataObject.cs (3)
480
void ComTypes.IDataObject.GetData(ref FORMATETC formatetc, out
STGMEDIUM
medium) =>
483
void ComTypes.IDataObject.GetDataHere(ref FORMATETC formatetc, ref
STGMEDIUM
medium) =>
489
void ComTypes.IDataObject.SetData(ref FORMATETC pFormatetcIn, ref
STGMEDIUM
pmedium, bool fRelease) =>
System\Windows\Forms\OLE\DragDropHelper.cs (3)
157
ComTypes.
STGMEDIUM
medium = default;
275
ComTypes.
STGMEDIUM
medium = new()
431
ComTypes.
STGMEDIUM
medium = new()
System.Windows.Forms.Primitives (2)
Windows\Win32\System\Com\STGMEDIUM.cs (2)
13
public static explicit operator STGMEDIUM(ComType.
STGMEDIUM
comTypeStg)
28
public static explicit operator ComType.
STGMEDIUM
(STGMEDIUM stg) => new()
System.Windows.Forms.Tests (34)
System\Windows\Forms\ClipboardTests.cs (7)
631
void ComTypes.IDataObject.GetData(ref ComTypes.FORMATETC format, out ComTypes.
STGMEDIUM
medium) => throw new NotImplementedException();
632
void ComTypes.IDataObject.GetDataHere(ref ComTypes.FORMATETC format, ref ComTypes.
STGMEDIUM
medium) => throw new NotImplementedException();
643
void ComTypes.IDataObject.SetData(ref ComTypes.FORMATETC formatIn, ref ComTypes.
STGMEDIUM
medium, bool release) => throw new NotImplementedException();
1026
dataObject.GetData(ref formatetc, out ComTypes.
STGMEDIUM
medium);
1159
public void SetData(ref ComTypes.FORMATETC formatIn, ref ComTypes.
STGMEDIUM
medium, bool release) => throw new NotImplementedException();
1160
public void GetData(ref ComTypes.FORMATETC format, out ComTypes.
STGMEDIUM
medium) => throw new NotImplementedException();
1161
public void GetDataHere(ref ComTypes.FORMATETC format, ref ComTypes.
STGMEDIUM
medium) => throw new NotImplementedException();
System\Windows\Forms\DataObjectComTests.cs (3)
74
public void GetData(ref FORMATETC format, out
STGMEDIUM
medium) => throw new NotImplementedException();
75
public void GetDataHere(ref FORMATETC format, ref
STGMEDIUM
medium) => throw new NotImplementedException();
77
public void SetData(ref FORMATETC formatIn, ref
STGMEDIUM
medium, bool release) => throw new NotImplementedException();
System\Windows\Forms\DataObjectTests.cs (16)
1846
public void GetData(ref FORMATETC format, out
STGMEDIUM
medium)
1868
public void GetDataHere(ref FORMATETC format, ref
STGMEDIUM
medium) => throw new NotImplementedException();
1870
public void SetData(ref FORMATETC formatIn, ref
STGMEDIUM
medium, bool release) => throw new NotImplementedException();
2389
STGMEDIUM
stgMedium = new()
2432
STGMEDIUM
stgMedium = new()
2469
STGMEDIUM
stgMedium = new()
2491
STGMEDIUM
stgMedium = new()
2512
STGMEDIUM
stgMedium = new()
2553
STGMEDIUM
stgMedium = new()
2591
STGMEDIUM
stgMedium = new()
2610
STGMEDIUM
stgMedium = new()
2632
STGMEDIUM
stgMedium = new()
2658
STGMEDIUM
stgMedium = new()
2676
public void GetData(ref FORMATETC format, out
STGMEDIUM
medium) => throw new NotImplementedException();
2680
public void GetDataHere(ref FORMATETC format, ref
STGMEDIUM
medium) => throw new NotImplementedException();
2687
public void SetData(ref FORMATETC formatIn, ref
STGMEDIUM
medium, bool release) => throw new NotImplementedException();
System\Windows\Forms\DragDropFormatTests.cs (5)
12
using STGMEDIUM = System.Runtime.InteropServices.ComTypes.
STGMEDIUM
;
34
STGMEDIUM
medium = new()
69
public void DragDropFormat_Set_Dispose_ReturnsExpected(FORMATETC formatEtc,
STGMEDIUM
medium)
91
public void DragDropFormat_Set_GetData_ReturnsExpected(FORMATETC formatEtc,
STGMEDIUM
medium)
130
public void DragDropFormat_Set_RefreshData_ReturnsExpected(FORMATETC formatEtc,
STGMEDIUM
medium)
System\Windows\Forms\ToolStripItemTests.cs (3)
10256
public void GetData(ref FORMATETC format, out
STGMEDIUM
medium) => throw new NotImplementedException();
10257
public void GetDataHere(ref FORMATETC format, ref
STGMEDIUM
medium) => throw new NotImplementedException();
10260
public void SetData(ref FORMATETC formatIn, ref
STGMEDIUM
medium, bool release) => throw new NotImplementedException();