9 writes to tymed
System.Private.Windows.Core (7)
System\Private\Windows\Ole\Composition.ManagedToNativeAdapter.cs (2)
73pmedium->tymed = (TYMED)pformatetcIn->tymed; 77pmedium->tymed = TYMED.TYMED_HGLOBAL;
System\Private\Windows\Ole\DragDropFormat.cs (2)
96mediumDestination.tymed = mediumSource.tymed; 120_medium.tymed = TYMED.TYMED_NULL;
System\Private\Windows\Ole\DragDropHelper.cs (2)
202tymed = TYMED.TYMED_HGLOBAL, 360tymed = TYMED.TYMED_HGLOBAL,
Windows\Win32\System\Com\STGMEDIUM.cs (1)
20tymed = (TYMED)comTypeStg.tymed,
System.Private.Windows.Core.Tests (1)
System\Private\Windows\Ole\HGlobalNativeDataObject.cs (1)
69pmedium->tymed = TYMED.TYMED_HGLOBAL;
System.Windows.Forms.Tests (1)
System\Windows\Forms\DragDropFormatTests.cs (1)
139tymed = dragDropFormat.Medium.tymed,
14 references to tymed
System.Private.Windows.Core (6)
System\Private\Windows\Ole\Composition.ManagedToNativeAdapter.cs (1)
107if (!GetTymedUsable((TYMED)pformatetc->tymed) || !GetTymedUsable(pmedium->tymed))
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (2)
322if (medium.tymed == Com.TYMED.TYMED_HGLOBAL && !medium.hGlobal.IsNull && hr != HRESULT.COR_E_SERIALIZATION) 369if (medium.tymed != Com.TYMED.TYMED_ISTREAM || medium.hGlobal.IsNull)
System\Private\Windows\Ole\DragDropFormat.cs (2)
61switch (mediumSource.tymed) 96mediumDestination.tymed = mediumSource.tymed;
Windows\Win32\System\Com\STGMEDIUM.cs (1)
33tymed = (ComType.TYMED)stg.tymed,
System.Windows.Forms (1)
System\Windows\Forms\OLE\WinFormsOleServices.cs (1)
107&& (uint)medium.tymed == (uint)TYMED.TYMED_GDI
System.Windows.Forms.Tests (7)
System\Windows\Forms\DragDropFormatTests.cs (6)
79Assert.Equal(Com.TYMED.TYMED_NULL, dragDropFormat.Medium.tymed); 99Assert.Equal((uint)medium.tymed, (uint)data.tymed); 101switch (data.tymed) 139tymed = dragDropFormat.Medium.tymed, 142hGlobal = dragDropFormat.Medium.tymed switch 157switch (dragDropFormat.Medium.tymed)
System\Windows\Forms\DragDropHelperTests.cs (1)
284Assert.Equal(Com.TYMED.TYMED_NULL, dragDropFormat.Medium.tymed);