【问题标题】:Is there any way to programmatically set the comment attribute on a file in XP?有没有办法以编程方式在 XP 中的文件上设置注释属性?
【发布时间】:2008-11-11 03:50:48
【问题描述】:

指向正确方向的链接,或示例代码将不胜感激。

【问题讨论】:

    标签: c++ windows-xp


    【解决方案1】:

    您可以使用一些非托管调用来实现,请查看 MSDN 上的 OLE32 函数 StgOpenPropStg() 和 StgOpenStorageEx() 函数:

    http://msdn.microsoft.com/en-us/library/aa380342(VS.85).aspx

    这有很多,但函数名应该能让你继续前进。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多