VB声明 | |
Declare Function GetWindowThreadProcessId Lib
"user32" Alias "GetWindowThreadProcessId" (ByVal hwnd As Long,
lpdwProcessId As Long) As Long |
|
说明 | |
获取与指定窗口关联在一起的一个进程和线程标识符 | |
返回值 | |
Long,拥有窗口的线程的标识符 | |
参数表 | |
参数 | 类型及说明 |
lpdwProcessId | Long,指定一个变量,用于装载拥有那个窗口的一个进程的标识符 |
hwnd | Long,指定窗口句柄 |