<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sabakunotabito</author_name>
  <author_url>https://blog.hatena.ne.jp/sabakunotabito/</author_url>
  <blog_title>砂漠の旅人(たびと)｜新天地：たびとの旅路</blog_title>
  <blog_url>https://sabakunotabito.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>C#</anon>
  </categories>
  <description>.NET 6のコンソールアプリからWin32 APIを呼び出し、プログラムでディスプレイの解像度を変更する方法を解説します。`DllImport`属性を使ったAPI関数の定義、`StructLayout`での構造体マーシャリング、そしてコンソールアプリでWinFormsライブラリを参照してマルチディスプレイ情報を取得するテクニックまで、具体的なコードを交えて紹介。システムの自動化や設定ツール開発に役立つ、古くて新しい魔法の実装ガイドです。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsabakunotabito.hatenablog.com%2Fentry%2F2023%2F03%2F19%2F205518&quot; title=&quot;古の魔法を、現代に蘇らせよ ～.NETとWin32APIで、世界の解像度を操る～ - 砂漠の旅人(たびと)｜新天地：たびとの旅路&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/s/sabakunotabito/20230317/20230317004542.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-03-19 20:55:18</published>
  <title>古の魔法を、現代に蘇らせよ ～.NETとWin32APIで、世界の解像度を操る～</title>
  <type>rich</type>
  <url>https://sabakunotabito.hatenablog.com/entry/2023/03/19/205518</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
