uTools-Manuals/src/docs/win32api/1/EnumThreadWndProc.html
2020-06-29 01:56:42 +08:00

16 lines
1.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html>
<body>
<h3>函数功能</h3>该函数枚举所有与一个线程相关联的非子窗口办法是先将句柄传送给每一个窗口随后传送给应用程序定义的回调函数。EnumThreadWindows函数继续直到所有窗口枚举完为止或回调函数返回FALSE为止。要枚举一个特定窗口的所有子窗口使用EnumChildWindows函数。<br>
<h3>函数原型</h3>BOOL EnumThreadWindowsDWORD dwThreadld,WNDENUMPROClpfn,LPARAMlparam<br>
<h3>参数</h3>
dwThreadld标识将被列举窗口的线程。<br>
lpfn指向一个应用程序定义的回调函数指针请参看EnumThreadWndProc。<br>
lPararm指定一个传递给回调函数的应用程序定义值。<br>
<h3>返回值</h3>如果函数成功返回值为非零如果函数失败返回值为零。若想获得更多错误信息请调用GetLastError函数。<br>
<h3>速查</h3>Windows NT3.1以上版本; Windows95以上版本 Windows CE不支持头文件winuser.h库文件user32.Iib。<br>
</body>
</html>