WriteFmtUserTypeStg

[DllImport("ole32.dll", SetLastError = true)]
public static extern int WriteFmtUserTypeStg(
   IStorage pstg,
   uint cf,
   [MarshalAs(UnmanagedType.LPWStr)] string lpszUserType
);

Microsoft documentation: Link

Last updated