文件名称:GetRemoteWndProcInWindows
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.69mb
- 下载次数:
- 0次
- 提 供 者:
- 陈*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
获取本进程内窗口的窗口过程确实很简单 ,直接调用GetWindowLong(hWnd,GWL_WNDPROC)就可以了(注意,根据窗口是否是Unicode的,你要判断是调用GetWindowLongA,还是GetWindowLongW,可以用IsWindowUnicode来判断), 但是GetWindowLong这个函数内部会检查调用进程和该窗口句柄是否属于同一进程,如果不是,就简单的返回0了。
-Within the process window for the window procedure is indeed very simple, direct call to GetWindowLong (hWnd, GWL_WNDPROC) on it (note that, according to whether the window is Unicode, you have to determine is to call GetWindowLongA, or GetWindowLongW, can IsWindowUnicode to judge), However, this function GetWindowLong calling process and the internal checks whether the window handle of the same process, if not, it simply returns 0 a.
-Within the process window for the window procedure is indeed very simple, direct call to GetWindowLong (hWnd, GWL_WNDPROC) on it (note that, according to whether the window is Unicode, you have to determine is to call GetWindowLongA, or GetWindowLongW, can IsWindowUnicode to judge), However, this function GetWindowLong calling process and the internal checks whether the window handle of the same process, if not, it simply returns 0 a.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
GetRemoteWndProcInWindows\Debug\GetRemoteWndProc.obj
.........................\.....\GetRemoteWndProc.pch
.........................\.....\GetRemoteWndProc.res
.........................\.....\GetRemoteWndProcDlg.obj
.........................\.....\StdAfx.obj
.........................\.....\vc60.idb
.........................\.....\vc60.pdb
.........................\GetRemoteWndProc.ncb
.........................\GetRemoteWndProc.opt
.........................\GetRemoteWndProc.plg
.........................\GetRemoteWndProcInWindows.cpp
.........................\GetRemoteWndProcInWindows.dsp
.........................\GetRemoteWndProcInWindows.dsw
.........................\GetRemoteWndProcInWindows.h
.........................\GetRemoteWndProcInWindows.rc
.........................\GetRemoteWndProcInWindowsDlg.cpp
.........................\GetRemoteWndProcInWindowsDlg.h
.........................\GGetWndProc.cpp
.........................\GGetWndProc.h
.........................\GGetWndProcInWindows.cpp
.........................\ReadMe.txt
.........................\res\drag.cur
.........................\...\empty.ico
.........................\...\GetRemoteWndProc.ico
.........................\...\GetRemoteWndProc.rc2
.........................\...\orig.ico
.........................\Resource.h
.........................\StdAfx.cpp
.........................\StdAfx.h
.........................\Debug
.........................\res
GetRemoteWndProcInWindows
.........................\.....\GetRemoteWndProc.pch
.........................\.....\GetRemoteWndProc.res
.........................\.....\GetRemoteWndProcDlg.obj
.........................\.....\StdAfx.obj
.........................\.....\vc60.idb
.........................\.....\vc60.pdb
.........................\GetRemoteWndProc.ncb
.........................\GetRemoteWndProc.opt
.........................\GetRemoteWndProc.plg
.........................\GetRemoteWndProcInWindows.cpp
.........................\GetRemoteWndProcInWindows.dsp
.........................\GetRemoteWndProcInWindows.dsw
.........................\GetRemoteWndProcInWindows.h
.........................\GetRemoteWndProcInWindows.rc
.........................\GetRemoteWndProcInWindowsDlg.cpp
.........................\GetRemoteWndProcInWindowsDlg.h
.........................\GGetWndProc.cpp
.........................\GGetWndProc.h
.........................\GGetWndProcInWindows.cpp
.........................\ReadMe.txt
.........................\res\drag.cur
.........................\...\empty.ico
.........................\...\GetRemoteWndProc.ico
.........................\...\GetRemoteWndProc.rc2
.........................\...\orig.ico
.........................\Resource.h
.........................\StdAfx.cpp
.........................\StdAfx.h
.........................\Debug
.........................\res
GetRemoteWndProcInWindows