2025年关于SHFileOperation「建议收藏」

关于SHFileOperation「建议收藏」CString str f 11 FileOp pFrom LPCTSTR str 执行不成功 翻了下 msdn ms help MS VSCC v80 MS MSDN v80 MS WIN32COM v10 en shellcc platform shell reference structures shfileopstru htm pFrom Address of

CString str=”f://11″;

FileOp.pFrom = (LPCTSTR)str;

执行不成功,翻了下msdn

ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.WIN32COM.v10.en/shellcc/platform/shell/reference/structures/shfileopstruct.htm

pFrom

Address of a buffer to specify one or more source file names. These names must be fully qualified paths. Standard Microsoft MS-DOS wild cards, such as “*”, are permitted in the file-name position. Although this member is declared as a null-terminated string, it is used as a buffer to hold multiple file names. Each file name must be terminated by a single NULL character. An additional NULL character must be appended to the end of the final name to indicate the end of

pFrom .

发现是屁股后面需要2个0

编程小号
上一篇 2025-09-27 20:27
下一篇 2025-08-11 10:51

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/hz/144256.html