<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kenhys</author_name>
  <author_url>https://blog.hatena.ne.jp/kenhys/</author_url>
  <blog_title>ひとりしずかに。</blog_title>
  <blog_url>https://kenhys.hatenablog.jp/</blog_url>
  <categories>
    <anon>WindowsMobile</anon>
  </categories>
  <description>C#からWindows APIを利用したい。 ただし以下の制限で。 Windows Mobile Classic 6.1 .NET Compact Framework 2.0 具体的に利用したいのはだいたいこんな関数。 CreateEvent ResetEvent SetEvent どうすればいいか調べてみたらP/Invokeなる仕組みを使うらしい。 ざっくりと以下のようなこと使うためにはするようだ。 DllImportで対象となるdllを指定 呼び出す関数の宣言を記述 例えばCreateEventだとこんな感じ。 [DllImport(&quot;Coredll.dll&quot;, SetLastError …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkenhys.hatenablog.jp%2Fentry%2F20090222%2F1235290541&quot; title=&quot; WindowsMobileでC#からAPIを叩く - ひとりしずかに。&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>2009-02-22 17:15:41</published>
  <title> WindowsMobileでC#からAPIを叩く</title>
  <type>rich</type>
  <url>https://kenhys.hatenablog.jp/entry/20090222/1235290541</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
