What I am trying to do is take a service that I have a handle too and find out how much memory the service process is currently using.
So I have been able to get lots of info about a service from QueryServiceConfig2 but its not quite enough. From the binary path I could search all services but if the service binary is shared like svchost than I cannot tell which one is the exact process im looking for.
I would think you can get the processId from a serive handle but I havent been able to find any info on that.
Anyone know the solution?