[DllImport("Kernel32.dll")][return: MarshalAs(UnmanagedType.SysInt)] public static extern IntPtr GlobalAlloc( uint uFlags, UIntPtr dwBytes );
Microsoft documentation: Link
Last updated 1 year ago