Http://www.cnblogs.com/Charltsing/p/slv32.html
Welcome to Exchange: QQ564955427
Reading the data from the standard 32-bit ListView control, there is already a lot of code on the Web. I did a test today. Read the data in the Tcpeye software.
See procedure annex for details. Download (This program can modify the main form class name and sub-form class name, and crawl other software data.) Of course, the form hierarchy must be 2 layers and cannot have multiple sub-forms of the same name, because this is just a sample program)
***************************************************************
If the program is adaptive to 32-bit and 64-bit systems, the code needs to be adjusted because the data format looks inconsistent
Here is a C + + definition, online search, leave a backup
typedef struct {
UINT Mask;
int IItem;
int ISubItem;
UINT State;
UINT Statemask;
int placeholder1;
LPTSTR PszText;
int placeholder11;
int Cchtextmax;
int iImage;
LPARAM LPARAM;
int placeholder2;
#if (_win32_ie >= 0x0300)
int iindent;
#endif
#if (_win32_winnt >= 0x0501)
int igroupid;
UINT CColumns;
int Placeholder3;
UINT Pucolumns;
int placeholder4;
#endif
#if (_win32_winnt >= 0x0600)
int picolfmt;
int placeholder5;
int igroup;
int placeholder6;
#endif
} LVITEM64, *lplvitem64;
C # Cross-process reading data from a ListView control