title: Is possible hook EnumWindowsProc callback function?
body: <p>I want know if is possible hook a callback function for example like <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms633498%28v=vs.85%29.aspx?f=255&amp;MSPPError=-2147217396" rel="nofollow noreferrer"><code>EnumWindowsProc()</code></a> using <a href="https://stackoverflow.com/a/8978266/9672569"><em>inline hook</em></a> approach? and if yes, could provide a code snippet (example) please?</p>
  
  <p>Thank you.</p>
  
  <hr>
  
  <p><strong>EDITION:</strong></p>
  
  <p><code>EnumWindowsProc</code> is a callback implemented in other app. I not call it inside my app. </p>
  
  <p>And i want hook <code>EnumWindowsProc</code> in this other app, by dll injection.</p>