<?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>WIL</anon>
    <anon>Windows</anon>
  </categories>
  <description>Windows Vistaからはマスター音量（システム全体の音量）の変更にCOMベースのMMDevice API (Windows Multimedia Device API)が用いらます。ここではミュートを切り替えるコードを記載します。 #define STRICT #define NOMINMAX #include &lt;Windows.h&gt; #include &lt;mmdeviceapi.h&gt; #include &lt;endpointvolume.h&gt; #include &lt;wil/com.h&gt; int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) …</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%2F09%2F23%2F142121&quot; title=&quot;C++20&amp;amp;WIL&amp;amp;Win API MMDevice APIでミュートを切り替える - 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-09-23 14:21:21</published>
  <title>C++20&amp;WIL&amp;Win API MMDevice APIでミュートを切り替える</title>
  <type>rich</type>
  <url>https://potisan-programming-memo.hatenablog.jp/entry/2021/09/23/142121</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
