Click here to Skip to main content
15,883,901 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to Hook the Snapshot Key Message that the Webcam sent to the system by the driver, so I can do something when the Message is arrival, thanks.
Posted

1 solution

SetWindowsHookEx might be the solution to this. You would hook into the message loop of the process (or all processes) and could then detect the button is pressed, asuming a message can be identified that would indicate such an action.

The msdn info and example link:

http://msdn.microsoft.com/en-us/library/ms644990.aspx[^]

http://msdn.microsoft.com/en-us/library/ms644960(v=VS.85).aspx#installing_releasing[^]

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900