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