CodePudding user response:
If simply want to lock the desktop, simulation send keyboard (Win + L) messages,If is to want to lock application area, only to write code that intercept mouse message, Keyboad message. Then, do not know to have API can directly reach the effect,
Lock the mouse activity area is API, but the whole lock don't let still do not know to have,
CodePudding user response:
Can be used when the hooks used for industrial control is to use the hook lock,CodePudding user response:
Have a reference code or API function?CodePudding user response:
Just lock the keyboard, the code also ah,,,CodePudding user response:
In the DLL injection hookCodePudding user response:
http://download.csdn.net/detail/zengshuai27/5554881CodePudding user response:
Lock the keyboard is more troublesome, especially Windows that key combination.CodePudding user response:
http://download.csdn.net/detail/zengshuai27/5578145