2 references to GlobalAlloc
System.Drawing (2)
commonui\System\Drawing\Printing\PrinterSettings.cs (2)
1010
IntPtr handle = SafeNativeMethods.
GlobalAlloc
(SafeNativeMethods.GMEM_MOVEABLE, (uint)modeSize); // cannot be <0 anyway
1110
IntPtr handle = SafeNativeMethods.
GlobalAlloc
(SafeNativeMethods.GMEM_MOVEABLE | SafeNativeMethods.GMEM_ZEROINIT, namesSize);