<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>apollo440</author_name>
  <author_url>https://blog.hatena.ne.jp/apollo440/</author_url>
  <blog_title>apollo440’s blog</blog_title>
  <blog_url>https://apollo440.hatenablog.com/</blog_url>
  <categories>
    <anon>.NETプログラミング</anon>
    <anon>.NETプログラミング</anon>
  </categories>
  <description>別のプロセスに対してCtrl+CやCtrl+Breakを送る方法。これは、自分自身にはCtrl+Cが送信できることを利用している。以下が簡単な処理の流れ AllocConsole ★AllocConsoleを行うと AttachConsoleに失敗しても問題なくなるHACKコード FreeConsole ★即デタッチ AttachConsole ・プロセスのコンソールへアタッチ ここで失敗すると二度とアタッチできないので ↑の★のHACKコードが必要になる SetConsoleCtrlHandler(add) ・Ctrl+Cを送信する準備 GenerateConsoleCtrlEvent ・C…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fapollo440.hatenablog.com%2Fentry%2F20120315%2F1331810337&quot; title=&quot; - apollo440’s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-03-15 20:18:57</published>
  <title></title>
  <type>rich</type>
  <url>https://apollo440.hatenablog.com/entry/20120315/1331810337</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
