<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kagasu</author_name>
  <author_url>https://blog.hatena.ne.jp/kagasu/</author_url>
  <blog_title>備忘録</blog_title>
  <blog_url>https://kagasu.hatenablog.com/</blog_url>
  <categories>
    <anon>Windows</anon>
    <anon>C/C++</anon>
  </categories>
  <description>Ⅰ. はじめに Ⅱ. 方法1 Ⅱ. 方法2 Ⅲ. 実行結果 参考 Ⅰ. はじめに タイトルの通り「C++でWindowsのバージョンを取得する」方法です。 Ⅱ. 方法1 以下レジストリの値を読み取る （サンプルプログラム省略） HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion Ⅱ. 方法2 サンプルプログラム #include &lt;Windows.h&gt; #include &lt;iostream&gt; typedef LONG NTSTATUS, *PNTSTATUS; #define STATUS_SUCCESS (0x000…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkagasu.hatenablog.com%2Fentry%2F2017%2F11%2F26%2F142303&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/k/kagasu/20171126/20171126142109.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-11-26 14:23:03</published>
  <title>C++でWindowsのバージョンを取得する</title>
  <type>rich</type>
  <url>https://kagasu.hatenablog.com/entry/2017/11/26/142303</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
