GetThreadPriority

此頁沒有內(nèi)容條目
內(nèi)容

GetThreadPriority

VB聲明

Declare Function GetThreadPriority Lib "kernel32" Alias "GetThreadPriority" (ByVal hThread As Long) As Long

說明

獲取特定線程的優(yōu)先級別

返回值

Long,返回帶有THREAD_PRIORITY_???前綴的某個函數(shù),它規(guī)定了線程的優(yōu)級。   THREAD_PRIORITY_ERROR_RETURN表示出錯

參數(shù)表

參數(shù)

類型及說明

hThread

Long,線程句柄

注解

線程的優(yōu)先級同進程的優(yōu)先級類組合在一起就決定了線程的實際優(yōu)先級

Top