网站首页  词典首页

请输入您要查询的函数:

 

术语 getwindowthreadprocessid
释义 GetWindowThreadProcessId
语法:
DWORD GetWindowThreadProcessId( HWND hWnd,
LPDWORD lpdwProcessId
);
GetWindowThreadProcessId函数
该GetWindowThreadProcessId函数检索的线程创建指定的窗口和可选的标识符,该进程创建的窗口标识符。
参数
hWnd
[in]的窗口句柄。
lpdwProcessId
[out]指向一个变量,它接收的进程标识符。如果这个参数不为NULL,GetWindowThreadProcessId副本的进程标识符变量,否则,它不会。
返回值
返回值是线程创建的窗口标识符。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
参见
视窗概述
==英文原文==GetWindowThreadProcessId Function
The GetWindowThreadProcessId function retrieves the identifier of the thread that created the specified window and, optionally, the identifier of the process that created the window.
Syntax
DWORD GetWindowThreadProcessId( HWND hWnd,
LPDWORD lpdwProcessId
);
Parameters
hWnd
[in] Handle to the window.
lpdwProcessId
[out] Pointer to a variable that receives the process identifier. If this parameter is not NULL, GetWindowThreadProcessId copies the identifier of the process to the variable; otherwise, it does not.
Return Value
The return value is the identifier of the thread that created the window.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
See Also
Windows Overview
==原始网址==http://msdn.microsoft.com/en-us/library/ms633522(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:25:14