c++ - Please explain me what this writing actually means in examples? -
If the nCode is less than zero, then return the value returned by callNextHookEx to the hook process.
If nCode is greater than or equal to zero, and the hook process does not process the message, then it is highly recommended that you call CallNextHookEx and return that value; Otherwise, other apps installing WH_MOUSE hooks will not receive hook notifications and can result in incorrectly behaving. If the hook process has been processed, then it can return a nonzero value to prevent the system from passing in the target window process.
I have found it and I'm not good in English as well as this hooking stuff, but I should make it as necessary if you can explain to me that simple For example, what is its real meaning, I am really grateful Please help me .... Thanks
In Cddocode, this means approximately:
if (nCode <0) back to CallNextHookEx (); Else if (nCode> = 0 & amp;! MsgProcessed) CallNextHookEx (); And return 1;
Comments
Post a Comment