Allocates memory from the unmanaged memory of the process using LocalAlloc.
- cb (Int32)
- The number of bytes in memory required.
An IntPtr to the newly allocated memory.
This memory must be released using the FreeHGlobal(IntPtr) method.