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