GetConvertStg

[DllImport("ole32.dll", SetLastError = true)]
public static extern int GetConvertStg(
   IntPtr pbc,
   uint ef,
   IntPtr qfsout,
   uint pclsid,
   uint clsid,
   IntPtr pstg,
   ref uint lpflags,
   out IStorage ppstg
);

Microsoft documentation: Link

Last updated