CoTaskMemRealloc

[DllImport("ole32.dll", SetLastError = true)]
public static extern IntPtr CoTaskMemRealloc(
   IntPtr pv,
   IntPtr cb
);

Microsoft documentation: Link

Last updated