<?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>Windows</anon>
    <anon>C++</anon>
    <anon>C#</anon>
  </categories>
  <description>SetupDi系関数でデバイスインターフェイスクラスGUIDが取得できずに悩んだので、学んだことを記録します。結論、デバイスインターフェイスクラスGUIDはSDKヘッダーファイルの定数使用が正攻法ですが、cfgmgr32も使って良いならCM_Enumerate_Classesで列挙できます。 デバイスインターフェイスクラス、デバイスセットアップクラス、デバイスインターフェイス、デバイスインスタンスは別物。 デバイスセットアップクラスとデバイスインスタンスはSetupDiGetClassDevs(A/W)とSetupDiEnumDeviceInfoで取得できる。 デバイスインターフェイスの取得に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2024%2F08%2F21%2F030645&quot; title=&quot;Win API SetupDi系関数とデバイスインターフェイスクラスのメモ - 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>2024-08-21 03:06:45</published>
  <title>Win API SetupDi系関数とデバイスインターフェイスクラスのメモ</title>
  <type>rich</type>
  <url>https://potisan-programming-memo.hatenablog.jp/entry/2024/08/21/030645</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
