title: Capture all Windows Messages
body: <p>I want to leverage machine learning to model a user's intent and potentially automate commonly performed tasks. To do this I would like to have access to a fire-hose of information about user actions and the machine state. To this end, it is my current thinking that getting access to the stream of windows messages is probably the way forward. </p>
  
  <p>I would like to have as much information as is possible, filtering the information to that which is pertinent I would like to leave to the machine learning tool.</p>
  
  <p>How would this be accomplished? (Preferably in C#).</p>
  
  <p>Please assume that I know how to manage and use this large influx of data.</p>
  
  <p>Any help would be gratefully appreciated.</p>