|
|
导航: |
论坛 -> DELPHI技术
斑竹:liumazi,sephil |
|
作者: |
catanx (catanx) |
★☆☆☆☆ |
-
|
盒子活跃会员 |
|
2003/12/9 11:21:12 |
标题: |
哪位帮我解释一下这段代码??????????? |
浏览:1484 |
|
加入我的收藏 |
楼主: |
function GetMsgProc(nCode: integer; wParam: WPARAM; lParam: LPARAM): LRESULT; stdcall; var pcs: PMSG; begin pcs := PMSG(lParam); if (nCode >= 0) and (wParam=PM_REMOVE)and (pcs <> nil) and (pcs^.hwnd <> 0) then begin HookProc(pcs^.hwnd, pcs^.message, pcs^.wParam, pcs^.lParam); end; Result := CallNextHookEx(HHGetMsgProc, nCode, wParam, lParam); end;
----------------------------------------------
我常逛的一个电影站,写写程序看看电影,不要太累了,会死人的:) www.ddvan.com 很有特色哦,自己发觉吧。 |
作者: |
bios (阿贡) |
★☆☆☆☆ |
-
|
盒子中级会员 |
|
2003/12/9 15:52:21 |
2楼: |
HookProc 和PM_REMOVE在DELPHI帮助中怎么找不到 好象是自定义的吧?
----------------------------------------------
|
作者: |
|
2003/12/9 18:01:41 |
3楼: |
这是钩子啊。代码能不能给全点。。。
----------------------------------------------
|
|