GetThreadId on pre-vista systems?

前端 未结 3 1814
忘了有多久
忘了有多久 2021-01-05 06:42

Apperantly, GetThreadId is a Vista API. How can I get a thread\'s id on pre vista systems?

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-05 07:43

    If you can somehow make the thread in question call GetCurrentThreadId and store it somewhere, you could read the result.

提交回复
热议问题