<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: HaoJames</title>
    <description>The latest articles on DEV Community by HaoJames (@haojames1).</description>
    <link>https://dev.to/haojames1</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F611297%2Ffb3c3389-6fa1-4dbb-a379-9b05b0067710.png</url>
      <title>DEV Community: HaoJames</title>
      <link>https://dev.to/haojames1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/haojames1"/>
    <language>en</language>
    <item>
      <title>Pass additional operation to a function hook in windows</title>
      <dc:creator>HaoJames</dc:creator>
      <pubDate>Sun, 11 Apr 2021 12:57:30 +0000</pubDate>
      <link>https://dev.to/haojames1/pass-additional-operation-to-a-function-hook-in-windows-2j80</link>
      <guid>https://dev.to/haojames1/pass-additional-operation-to-a-function-hook-in-windows-2j80</guid>
      <description>&lt;p&gt;Hi, I have been doing this to learn the windows internals and there's was the hook api click menu notepad thing I learned from &lt;a href="http://diendan.congdongcviet.com/threads/t26558::hook-message-click-button-menu-tren-process-khac.cpp"&gt;http://diendan.congdongcviet.com/threads/t26558::hook-message-click-button-menu-tren-process-khac.cpp&lt;/a&gt; but here, I want to perform following things:-&lt;br&gt;
Open file by&lt;/p&gt;

&lt;p&gt;File -&amp;gt; New File in Notepad&lt;/p&gt;

&lt;p&gt;But I don't seem to do so, anyone how this could be possible?&lt;br&gt;
Thanks&lt;/p&gt;

</description>
      <category>hhoohook</category>
      <category>winapi</category>
      <category>cpp</category>
      <category>click</category>
    </item>
    <item>
      <title>How to hook “File-&gt;Open” in Notepad?</title>
      <dc:creator>HaoJames</dc:creator>
      <pubDate>Fri, 09 Apr 2021 11:06:00 +0000</pubDate>
      <link>https://dev.to/haojames1/how-to-hook-file-open-in-notepad-20ce</link>
      <guid>https://dev.to/haojames1/how-to-hook-file-open-in-notepad-20ce</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;h1&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7Gn-iPj_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
            &lt;a href="https://stackoverflow.com/questions/67019695/how-to-hook-file-open-in-notepad" rel="noopener noreferrer"&gt;
               How to hook "File-&amp;gt;Open" in Notepad?
            &lt;/a&gt;
        &lt;/h1&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Apr  9 '21&lt;/span&gt;
            &lt;span&gt;Comments: 1&lt;/span&gt;
            &lt;span&gt;Answers: 0&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/67019695/how-to-hook-file-open-in-notepad" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Y9mJpuJP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wif5Zq3z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;h2&gt;Problem&lt;/h2&gt;

&lt;p&gt;Hello everyone, currently I have problems hooking api (c++) notepad, I can hook it by pressing any key on the keyboard and when pressing the key I can open "C: \ Windows \ System32 \ Caclc.exe ". But I want when I click on "File -&amp;gt; Open" it will…&lt;/p&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    
      &lt;a href="https://stackoverflow.com/questions/67019695/how-to-hook-file-open-in-notepad" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
    
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
  </channel>
</rss>
