Hi,

I'm using pdh to generate Performace data for a thread in my multithreaded program.
The counter should be like
"\\Thread(App/3)\\% Processor Time"
here App/3 is the name of the instance for the thread.

My question is:
I know the thread Id for my thread, how do I find the instance name of the thread from my program?

Please help