<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>espresso3389</author_name>
  <author_url>https://blog.hatena.ne.jp/espresso3389/</author_url>
  <blog_title>espresso3389の日記</blog_title>
  <blog_url>https://espresso3389.hatenablog.com/</blog_url>
  <categories>
    <anon>Win32</anon>
    <anon>WIC</anon>
    <anon>C++</anon>
  </categories>
  <description>上記の方法で、いろいろなファイルが読み込めることがわかったが、一方で、WIC経由で開くことのできる(はずの)ファイル形式の一覧がほしいことがある。端的に言えば、「ファイルを開く」ダイアログのフィルターを作ったりするときに、*.*では格好悪すぎる。 下記のコードは、レジストリの情報を読み込んで、WIC対応のファイル拡張子一覧を取得する。 #include &lt;windows.h&gt; #include &lt;shlwapi.h&gt; #include &lt;shlguid.h&gt; #include &lt;tchar.h&gt; #include &lt;clocale&gt; #include &quot;atlbase.h&quot; #include …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fespresso3389.hatenablog.com%2Fentry%2F20080628%2F1214607118&quot; title=&quot;WIC一覧の取得 - espresso3389の日記&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>2008-06-28 07:51:58</published>
  <title>WIC一覧の取得</title>
  <type>rich</type>
  <url>https://espresso3389.hatenablog.com/entry/20080628/1214607118</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
