<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dNaga392</author_name>
  <author_url>https://blog.hatena.ne.jp/dNaga392/</author_url>
  <blog_title>カンテラの光の下で</blog_title>
  <blog_url>https://dnaga392.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>要点 C++でWindowsのバージョン情報を取得します。 Windows 固有のライブラリ ntdll.dll の RtlGetVersion 関数を使います。 内部バージョンが取得できるので、ユーザー向け表示にはひと手間必要です。 説明 Windows のバージョン情報を取得する方法はいくつかありますが、その一つが ntdll.dll の RtlGetVersion 関数を使う方法です。 この方法は、マニフェストファイルなど設定ファイルが不要なため、実行の準備が少なくてすむという利点があります。 実際には次の手順で行います。 ntdll.dll を利用するため、 GetModuleHand…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdnaga392.hatenablog.com%2Fentry%2F2020%2F05%2F14%2F100000&quot; title=&quot;【C++】Windowsのバージョン情報を取得する - カンテラの光の下で&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>https://cdn-ak.f.st-hatena.com/images/fotolife/d/dNaga392/20200513/20200513233442.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-14 10:00:00</published>
  <title>【C++】Windowsのバージョン情報を取得する</title>
  <type>rich</type>
  <url>https://dnaga392.hatenablog.com/entry/2020/05/14/100000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
