function hooktestproc(code:integer;wparam:longint;msg:longint):longint;stdcall;
begin
if (code=HC_ACTION)then
if pmsg(msg)^.message=WM_testmessage then //请问pmsg(msg)^为什么这么写。代表什么意思呢?
begin
showmessage('已经取得值');
end;
result:=callnexthookex(HookHandle,code,wpaeam,longint(@msg)); end;小弟在此谢过。。
begin
if (code=HC_ACTION)then
if pmsg(msg)^.message=WM_testmessage then //请问pmsg(msg)^为什么这么写。代表什么意思呢?
begin
showmessage('已经取得值');
end;
result:=callnexthookex(HookHandle,code,wpaeam,longint(@msg)); end;小弟在此谢过。。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货