66 references to TYMED_HGLOBAL
PresentationCore (9)
System\Windows\dataobject.cs (9)
643
if ((formatetc.tymed & TYMED.
TYMED_HGLOBAL
) != 0)
645
medium.tymed = TYMED.
TYMED_HGLOBAL
;
703
medium.tymed != TYMED.
TYMED_HGLOBAL
&&
1428
if ((formatetc.tymed & TYMED.
TYMED_HGLOBAL
) != 0)
1541
medium.tymed = TYMED.
TYMED_HGLOBAL
;
2221
TYMED.
TYMED_HGLOBAL
,
2291
temp.tymed = TYMED.
TYMED_HGLOBAL
;
2845
formatetc.tymed = TYMED.
TYMED_HGLOBAL
;
2855
if (medium.unionmember != IntPtr.Zero && medium.tymed == TYMED.
TYMED_HGLOBAL
)
System.Windows.Forms (6)
System\Windows\Forms\OLE\DataObject.FormatEnumerator.cs (1)
50
tymed = format.Equals(DataFormats.Bitmap) ? ComTypes.TYMED.TYMED_GDI : ComTypes.TYMED.
TYMED_HGLOBAL
System\Windows\Forms\OLE\DragDropHelper.cs (5)
167
tymed = ComTypes.TYMED.
TYMED_HGLOBAL
272
tymed = ComTypes.TYMED.
TYMED_HGLOBAL
278
tymed = ComTypes.TYMED.
TYMED_HGLOBAL
,
428
tymed = ComTypes.TYMED.
TYMED_HGLOBAL
434
tymed = ComTypes.TYMED.
TYMED_HGLOBAL
,
System.Windows.Forms.Tests (51)
System\Windows\Forms\ClipboardTests.cs (1)
1024
tymed = ComTypes.TYMED.
TYMED_HGLOBAL
System\Windows\Forms\DataObjectTests.cs (47)
2025
{ DataFormats.CommaSeparatedValue, TYMED.
TYMED_HGLOBAL
},
2026
{ DataFormats.Dib, TYMED.
TYMED_HGLOBAL
},
2027
{ DataFormats.Dif, TYMED.
TYMED_HGLOBAL
},
2028
{ DataFormats.EnhancedMetafile, TYMED.
TYMED_HGLOBAL
},
2029
{ DataFormats.FileDrop, TYMED.
TYMED_HGLOBAL
},
2030
{ "FileName", TYMED.
TYMED_HGLOBAL
},
2031
{ "FileNameW", TYMED.
TYMED_HGLOBAL
},
2032
{ DataFormats.Html, TYMED.
TYMED_HGLOBAL
},
2033
{ DataFormats.Locale, TYMED.
TYMED_HGLOBAL
},
2034
{ DataFormats.MetafilePict, TYMED.
TYMED_HGLOBAL
},
2035
{ DataFormats.OemText, TYMED.
TYMED_HGLOBAL
},
2036
{ DataFormats.Palette, TYMED.
TYMED_HGLOBAL
},
2037
{ DataFormats.PenData, TYMED.
TYMED_HGLOBAL
},
2038
{ DataFormats.Riff, TYMED.
TYMED_HGLOBAL
},
2039
{ DataFormats.Rtf, TYMED.
TYMED_HGLOBAL
},
2040
{ DataFormats.Serializable, TYMED.
TYMED_HGLOBAL
},
2041
{ DataFormats.StringFormat, TYMED.
TYMED_HGLOBAL
},
2042
{ DataFormats.SymbolicLink, TYMED.
TYMED_HGLOBAL
},
2043
{ DataFormats.Text, TYMED.
TYMED_HGLOBAL
},
2044
{ DataFormats.Tiff, TYMED.
TYMED_HGLOBAL
},
2045
{ DataFormats.UnicodeText, TYMED.
TYMED_HGLOBAL
},
2046
{ DataFormats.WaveAudio, TYMED.
TYMED_HGLOBAL
}
2098
result[0].tymed.Should().Be(TYMED.
TYMED_HGLOBAL
);
2191
result[0].tymed.Should().Be(TYMED.
TYMED_HGLOBAL
);
2201
result[0].tymed.Should().Be(TYMED.
TYMED_HGLOBAL
);
2288
result[0].tymed.Should().Be(TYMED.
TYMED_HGLOBAL
);
2385
tymed = TYMED.
TYMED_HGLOBAL
,
2391
tymed = TYMED.
TYMED_HGLOBAL
2428
tymed = TYMED.
TYMED_HGLOBAL
,
2434
tymed = TYMED.
TYMED_HGLOBAL
2465
tymed = TYMED.
TYMED_HGLOBAL
,
2471
tymed = TYMED.
TYMED_HGLOBAL
2487
tymed = TYMED.
TYMED_HGLOBAL
,
2493
tymed = TYMED.
TYMED_HGLOBAL
2508
tymed = TYMED.
TYMED_HGLOBAL
,
2514
tymed = TYMED.
TYMED_HGLOBAL
2549
tymed = TYMED.
TYMED_HGLOBAL
,
2555
tymed = TYMED.
TYMED_HGLOBAL
2588
tymed = TYMED.
TYMED_HGLOBAL
,
2593
tymed = TYMED.
TYMED_HGLOBAL
2607
tymed = TYMED.
TYMED_HGLOBAL
,
2612
tymed = TYMED.
TYMED_HGLOBAL
2642
[InlineData(TYMED.
TYMED_HGLOBAL
, TYMED.
TYMED_HGLOBAL
, (short)CLIPBOARD_FORMAT.CF_UNICODETEXT)]
2643
[InlineData(TYMED.
TYMED_HGLOBAL
, TYMED.
TYMED_HGLOBAL
, (short)CLIPBOARD_FORMAT.CF_HDROP)]
2828
tymed = (uint)TYMED.
TYMED_HGLOBAL
,
System\Windows\Forms\DragDropFormatTests.cs (2)
31
tymed = TYMED.
TYMED_HGLOBAL
37
tymed = TYMED.
TYMED_HGLOBAL
,
System\Windows\Forms\DragDropHelperTests.cs (1)
98
tymed = TYMED.
TYMED_HGLOBAL