GlobalAlloc Function - Windows API

Purpose



Declaration

C#

[DllImport("kernel32.dll", SetLastError = true)]
private static extern int GlobalAlloc(int wFlags, int dwBytes);