<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>potisan</author_name>
  <author_url>https://blog.hatena.ne.jp/potisan/</author_url>
  <blog_title>potisanのプログラミングメモ</blog_title>
  <blog_url>https://potisan-programming-memo.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>Windows</anon>
  </categories>
  <description>Windows NT系列でデバイス情報要素のGUIDと不透明ハンドル（Opaque Handle）を列挙するサンプルコードです。 SP_DEVINFO_DATA構造体として取得する 最も単純な方法としてSP_DEVINFO_DATA構造体のまま取得するサンプルコードです。追記：一部のSetup API（SetupDiGetDeviceRegistryPropertyW等）はReservedが0のSP_DEVINFO_DATAインスタンスを与えると不正なパラメーターで失敗するため、下記のタプルにするよりもこちらの方が良いかもしれません。 SetupDiDestroyDeviceInfoList関…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2021%2F02%2F21%2F225237&quot; title=&quot;C++&amp;amp;Win32 API デバイス情報要素のGUIDと不透明ハンドルを列挙する - potisanのプログラミングメモ&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>2021-02-21 22:52:37</published>
  <title>C++&amp;Win32 API デバイス情報要素のGUIDと不透明ハンドルを列挙する</title>
  <type>rich</type>
  <url>https://potisan-programming-memo.hatenablog.jp/entry/2021/02/21/225237</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
