66 references to TYMED_HGLOBAL
PresentationCore (9)
System\Windows\dataobject.cs (9)
643if ((formatetc.tymed & TYMED.TYMED_HGLOBAL) != 0) 645medium.tymed = TYMED.TYMED_HGLOBAL; 703medium.tymed != TYMED.TYMED_HGLOBAL && 1428if ((formatetc.tymed & TYMED.TYMED_HGLOBAL) != 0) 1541medium.tymed = TYMED.TYMED_HGLOBAL; 2221TYMED.TYMED_HGLOBAL, 2291temp.tymed = TYMED.TYMED_HGLOBAL; 2845formatetc.tymed = TYMED.TYMED_HGLOBAL; 2855if (medium.unionmember != IntPtr.Zero && medium.tymed == TYMED.TYMED_HGLOBAL)
System.Windows.Forms (6)
System\Windows\Forms\OLE\DataObject.FormatEnumerator.cs (1)
50tymed = format.Equals(DataFormats.Bitmap) ? ComTypes.TYMED.TYMED_GDI : ComTypes.TYMED.TYMED_HGLOBAL
System\Windows\Forms\OLE\DragDropHelper.cs (5)
167tymed = ComTypes.TYMED.TYMED_HGLOBAL 272tymed = ComTypes.TYMED.TYMED_HGLOBAL 278tymed = ComTypes.TYMED.TYMED_HGLOBAL, 428tymed = ComTypes.TYMED.TYMED_HGLOBAL 434tymed = ComTypes.TYMED.TYMED_HGLOBAL,
System.Windows.Forms.Tests (51)
System\Windows\Forms\ClipboardTests.cs (1)
1024tymed = 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 } 2098result[0].tymed.Should().Be(TYMED.TYMED_HGLOBAL); 2191result[0].tymed.Should().Be(TYMED.TYMED_HGLOBAL); 2201result[0].tymed.Should().Be(TYMED.TYMED_HGLOBAL); 2288result[0].tymed.Should().Be(TYMED.TYMED_HGLOBAL); 2385tymed = TYMED.TYMED_HGLOBAL, 2391tymed = TYMED.TYMED_HGLOBAL 2428tymed = TYMED.TYMED_HGLOBAL, 2434tymed = TYMED.TYMED_HGLOBAL 2465tymed = TYMED.TYMED_HGLOBAL, 2471tymed = TYMED.TYMED_HGLOBAL 2487tymed = TYMED.TYMED_HGLOBAL, 2493tymed = TYMED.TYMED_HGLOBAL 2508tymed = TYMED.TYMED_HGLOBAL, 2514tymed = TYMED.TYMED_HGLOBAL 2549tymed = TYMED.TYMED_HGLOBAL, 2555tymed = TYMED.TYMED_HGLOBAL 2588tymed = TYMED.TYMED_HGLOBAL, 2593tymed = TYMED.TYMED_HGLOBAL 2607tymed = TYMED.TYMED_HGLOBAL, 2612tymed = 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)] 2828tymed = (uint)TYMED.TYMED_HGLOBAL,
System\Windows\Forms\DragDropFormatTests.cs (2)
31tymed = TYMED.TYMED_HGLOBAL 37tymed = TYMED.TYMED_HGLOBAL,
System\Windows\Forms\DragDropHelperTests.cs (1)
98tymed = TYMED.TYMED_HGLOBAL