可以通过ReadProcessMemory函数来更改listviewitem的text。用p_MyItemText来存放我们要设置的ITEMTEXT,并用WriteProcessMemory函数将其写入到目标程序中就可以更改listviewitem的text了。