Get parent thread ID of a thread

Can Ps notify callback provide this info?


Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com

wrote in message news:xxxxx@ntdev…
> hi,
>
> I have Question regarding Threads, How can I Get parent thread ID of a thread. I want to list descendant threads of a thread that has been created by some other process. I have parent thread Id but not able to map child -parent relation ship between the threads.
>
> Any help really appreciated.
>
> Thanks,
> Sachin
>
>