| VB声明 | |
| Declare Function GetThreadPriority Lib "kernel32" Alias "GetThreadPriority" (ByVal hThread As Long) As Long | |
| 说明 | |
| 获取特定线程的优先级别 | |
| 返回值 | |
| Long,返回带有THREAD_PRIORITY_???前缀的某个函数,它规定了线程的优级。 THREAD_PRIORITY_ERROR_RETURN表示出错 | |
| 参数表 | |
| 参数 | 类型及说明 |
| hThread | Long,线程句柄 |
| 注解 | |
| 线程的优先级同进程的优先级类组合在一起就决定了线程的实际优先级 | |