<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>snaka72</author_name>
  <author_url>https://blog.hatena.ne.jp/snaka72/</author_url>
  <blog_title>今日もスミマセン。</blog_title>
  <blog_url>https://snaka72.hatenadiary.org/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>ちょっと曖昧なところもあるけど、取り合えず呼び出すことができたのでメモっとく。今回、WindowsAPIのSHChangeNotifyを呼び出す必要があって、その方法を調べた。irbでためしたところ以下のような感じで呼び出すことに成功した。 irb(main):001:0&gt; require 'Win32API' =&gt; true irb(main):002:0&gt; SHChangeNotify = Win32API.new(&quot;shell32.dll&quot;, &quot;SHChangeNotify&quot;, &quot;LILL&quot;, nil) =&gt; #&lt;Win32API:0x7ff9f6e4&gt; irb(main):003:0&gt;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsnaka72.hatenadiary.org%2Fentry%2F20100110%2F1263103670&quot; title=&quot;{windows]RubyスクリプトからWidowsAPIを呼び出す方法 - 今日もスミマセン。&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>2010-01-10 15:07:50</published>
  <title>{windows]RubyスクリプトからWidowsAPIを呼び出す方法</title>
  <type>rich</type>
  <url>https://snaka72.hatenadiary.org/entry/20100110/1263103670</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
