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

上一篇:在Delphi中使用indy SMTP发送gmail邮件[转]


下一篇:WIN8下git报错解决,fatal: Not a git repository (or any of the parent directories): .git