<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shikaku</author_name>
  <author_url>https://blog.hatena.ne.jp/shikaku/</author_url>
  <blog_title>shikaku's blog</blog_title>
  <blog_url>https://blog.systemjp.net/</blog_url>
  <categories>
    <anon>VC</anon>
    <anon>MFC</anon>
  </categories>
  <description>Windows API の GetUserName関数 を使えばいいようです。 //現在のユーザ名取得 TCHAR user[1024]; DWORD dwUserSize; // 取得したユーザ名の文字列の長さ if ( ! GetUserName(user,&amp;dwUserSize) ){ return -1; } MessageBox(NULL,user,_T(&quot;ユーザ名&quot;),MB_OK); return 0;ネタ元 http://jehupc.exblog.jp/13175145/</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F2015%2F05%2F11%2F140009&quot; title=&quot;(C++)現在のログインしてるユーザ名を取得する - shikaku&amp;#39;s blog&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>2015-05-11 14:00:09</published>
  <title>(C++)現在のログインしてるユーザ名を取得する</title>
  <type>rich</type>
  <url>https://blog.systemjp.net/entry/2015/05/11/140009</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
