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