【问题标题】:How to modify the PKEY_COPYRIGHT field using IPropertyStore Interface如何使用 IPropertyStore 接口修改 PKEY_COPYRIGHT 字段
【发布时间】:2012-07-15 01:45:33
【问题描述】:

尝试修改此字段时,IProertyStore::SetValue() 返回 AccessDenied 错误代码。我的界面是用 ReadWrite 标志初始化的。

我还尝试在文件的处理程序保持打开状态时修改此属性,但我从 SHGetPropertyStoreFromParsingName() 收到 HRESULT 错误代码,说明文件已在使用中(嗯,这是有道理的:O?)

顺便提一下,PKEY_TITLE、PKEY_Comment等值的更新成功结束。

谢谢!

【问题讨论】:

  • 先检查IPropertyStoreCapabilities::IsPropertyWritable的结果

标签: c++ winapi windows-7 windows-shell


【解决方案1】:

如果你想更改版权和其他字符串的程序,你可以使用 Restorator 2007 或 Resource Hacker

【讨论】:

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