预签证系统上的GetThreadId? [英] GetThreadId on pre-vista systems?

查看:48
本文介绍了预签证系统上的GetThreadId?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

显然,GetThreadId是Vista API.如何在pre vista系统上获取线程的ID?

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

推荐答案

有一些选择:

  • When you call CreateThread, you get the handle back.
  • You can call GetCurrentThreadId to get the current thread's ID.
  • You can use Thread32First/Thread32Next to enumerate threads.

这篇关于预签证系统上的GetThreadId?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆