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