Tech Support > Microsoft Windows > Development Resources > Enumerate service manager handles
Enumerate service manager handles
Posted by johnywalkyra@post.cz on April 25th, 2007


Hello,

sometimes you need to enumerate the handles to kernel objects and
there are few ways, how to achieve it (the NtQuerySystemInformation
approach, the Minidump approach etc.). The service handles are not
included in these listings (and no wonder, as they are not kernel
objects).
So to my question - is there any possibility, how to enumerate for
given process the service handles it holds? It doesn't matter these
are valid only locally, we need just to list them.

Thank you,

John Walker jr.