OleDoAutoConvert

[DllImport("ole32.dll", SetLastError = true)]
public static extern int OleDoAutoConvert(
   IStorage pStg,
   out Guid pClsidNew
);

Microsoft documentation: Link

Last updated