Introduction - If you have any usage issues, please Google them yourself
First, create a process by CreateToolhelp32Snapshot function snapshot, and then use the snapshot by calling Process32First handle returned to traverse the process, relevant information is stored in the structure type PROCESSENTRY32 instance, by calling a function within GetProcessModule, to obtain the corresponding process module name, and then through the process address space information read to get the thread ID and other relevant information