The MASM Forum

General => The Campus => Topic started by: LiaoMi on December 24, 2015, 07:37:15 AM

Title: Hierarchical process on windows
Post by: LiaoMi on December 24, 2015, 07:37:15 AM
Hallo,

how to list a hierarchical process tree on windows? How to build a relationship between the process ?! As an example we can take the Process Explorer. We need to build a linked list?

Thanks!
Title: Re: Hierarchical process on windows
Post by: qWord on December 24, 2015, 07:53:48 AM
You could try to use CreateToolhelp32Snapshot with Process32First/Next and then extact the information from the PROCESSENTRY32 structures to create the graph.
Title: Re: Hierarchical process on windows
Post by: LiaoMi on December 26, 2015, 01:06:19 AM
Quote from: qWord on December 24, 2015, 07:53:48 AM
You could try to use CreateToolhelp32Snapshot with Process32First/Next and then extact the information from the PROCESSENTRY32 structures to create the graph.

Hallo,

Thanks! That's what I was looking for!