深入浅出HOOKS(之陆)[5]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 jaccorporation 的 blog

                        myhookdata[index].hhook = setwindowshookex(

                            myhookdata[index].ntype,

                            myhookdata[index].hkprc,

                            (hinstance) null, getcurrentthreadid());

                        checkmenuitem(hmenu, index,

                            mf_bycommand | mf_checked);

                        afhooks[index] = true;

                    }

 

                    // if the selected type of hook procedure is

                    // already installed, remove it and remove the

                    // check mark from the associated menu item.

 

                    else

                    {

                        unhookwindowshookex(myhookdata[index].hhook);

                        checkmenuitem(hmenu, index,

本文关键:hooks
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top