VariantChangeTypeEx

[DllImport("oleaut32.dll", SetLastError = true)]
public static extern int VariantChangeTypeEx(
   IntPtr pvargDest,
   IntPtr pvarSrc,
   uint lcid,
   ushort wFlags,
   ushort vt
);

Microsoft documentation: Link

Last updated