commit | 032dbbee170e56ea8ddaf687d8f28495da5ca0a2 | [log] [tgz] |
---|---|---|
author | anpol <anpol@yandex-team.ru> | Tue Nov 01 21:53:06 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Nov 01 21:56:20 2016 |
tree | cae7e5765fc38f58fcab30f549fa26581c84bd95 | |
parent | ae9450781b42670f0af7f22b2684c9cb40c3906c [diff] |
Open th32Process when enumerating processes. PROCESSENTRY32 is the structure filled by Process32First/Process32Next, and |th32Process| is the handle of the process to be opened for further investigation. The previous use of |th32ParentProcessID| have caused collecting a redundant information about the parent process itself. An example on how to enumerate child processes: https://msdn.microsoft.com/library/windows/desktop/ms686701(v=vs.85).aspx BUG= Review-Url: https://codereview.chromium.org/2438023005 Cr-Commit-Position: refs/heads/master@{#429129}