码迷,mamicode.com
首页 > Windows程序 > 详细

GetCurrentThreadId GetCurrentProcessId GetWindowThreadProcessId

时间:2014-12-31 16:31:36      阅读:277      评论:0      收藏:0      [点我收藏+]

标签:getcurrentthreadid getcurrentprocessid getwindowthreadprocessid


DWORD GetCurrentThreadId(VOID);//获取当前窗口线程ID

DWORD GetCurrentProcessId(VOID);//获取当前窗口进程ID
DWORD GetWindowThreadProcessId(
  HWND hWnd,             // handle to window 
  LPDWORD lpdwProcessId  // process identifier 窗口句柄为hWnd的窗口进程ID
  );
  返回值:hWnd窗口的线程ID


本文出自 “whatever957” 博客,请务必保留此出处http://whatever957.blog.51cto.com/6835003/1598086

GetCurrentThreadId GetCurrentProcessId GetWindowThreadProcessId

标签:getcurrentthreadid getcurrentprocessid getwindowthreadprocessid

原文地址:http://whatever957.blog.51cto.com/6835003/1598086

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!