5 references to GlobalAlloc
Microsoft.Private.Windows.Core (5)
System\IO\StreamExtensions.cs (1)
48
hglobal = PInvokeCore.
GlobalAlloc
(GLOBAL_ALLOC_FLAGS.GMEM_MOVEABLE, (uint)size);
System\Private\Windows\Ole\Composition.ManagedToNativeAdapter.cs (1)
83
pmedium->hGlobal = PInvokeCore.
GlobalAlloc
(GLOBAL_ALLOC_FLAGS.GMEM_MOVEABLE | GLOBAL_ALLOC_FLAGS.GMEM_ZEROINIT, 1);
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (1)
455
hglobal = PInvokeCore.
GlobalAlloc
(GLOBAL_ALLOC_FLAGS.GMEM_MOVEABLE | GLOBAL_ALLOC_FLAGS.GMEM_ZEROINIT, (uint)sstg.cbSize);
System\Private\Windows\Ole\DragDropHelper.cs (2)
211
hGlobal = PInvokeCore.
GlobalAlloc
(GMEM_MOVEABLE | GMEM_ZEROINIT, (nuint)sizeof(BOOL))
369
hGlobal = PInvokeCore.
GlobalAlloc
(GMEM_MOVEABLE | GMEM_ZEROINIT, (nuint)sizeof(DROPDESCRIPTION))