13 references to GlobalAlloc
System.Drawing.Common (2)
System\Drawing\Printing\PrinterSettings.cs (2)
634HGLOBAL handle = PInvokeCore.GlobalAlloc(GLOBAL_ALLOC_FLAGS.GMEM_MOVEABLE, (uint)result); 735HGLOBAL handle = PInvokeCore.GlobalAlloc(
System.Private.Windows.Core (5)
System\IO\StreamExtensions.cs (1)
39hglobal = PInvokeCore.GlobalAlloc(GLOBAL_ALLOC_FLAGS.GMEM_MOVEABLE, (uint)size);
System\Private\Windows\Ole\Composition.ManagedToNativeAdapter.cs (1)
78pmedium->hGlobal = PInvokeCore.GlobalAlloc(GLOBAL_ALLOC_FLAGS.GMEM_MOVEABLE | GLOBAL_ALLOC_FLAGS.GMEM_ZEROINIT, 1);
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (1)
377hglobal = PInvokeCore.GlobalAlloc(GLOBAL_ALLOC_FLAGS.GMEM_MOVEABLE | GLOBAL_ALLOC_FLAGS.GMEM_ZEROINIT, (uint)sstg.cbSize);
System\Private\Windows\Ole\DragDropHelper.cs (2)
203hGlobal = PInvokeCore.GlobalAlloc(GMEM_MOVEABLE | GMEM_ZEROINIT, (nuint)sizeof(BOOL)) 361hGlobal = PInvokeCore.GlobalAlloc(GMEM_MOVEABLE | GMEM_ZEROINIT, (nuint)sizeof(DROPDESCRIPTION))
System.Windows.Forms (1)
System\Windows\Forms\ActiveX\AxHost.State.cs (1)
140hglobal = PInvokeCore.GlobalAlloc(GMEM_MOVEABLE, (uint)_length);
System.Windows.Forms.Tests (5)
System\Windows\Forms\DataObjectTests.cs (4)
2474HGLOBAL handle = PInvokeCore.GlobalAlloc( 2517HGLOBAL handle = PInvokeCore.GlobalAlloc( 2597HGLOBAL handle = PInvokeCore.GlobalAlloc( 2638HGLOBAL handle = PInvokeCore.GlobalAlloc(
System\Windows\Forms\DragDropFormatTests.cs (1)
37unionmember = PInvokeCore.GlobalAlloc(