{"title":"(C++)\u73fe\u5728\u306e\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u308b\u30e6\u30fc\u30b6\u540d\u3092\u53d6\u5f97\u3059\u308b","blog_title":"shikaku's blog","provider_name":"Hatena Blog","description":"Windows API \u306e GetUserName\u95a2\u6570 \u3092\u4f7f\u3048\u3070\u3044\u3044\u3088\u3046\u3067\u3059\u3002 //\u73fe\u5728\u306e\u30e6\u30fc\u30b6\u540d\u53d6\u5f97 TCHAR user[1024]; DWORD dwUserSize; // \u53d6\u5f97\u3057\u305f\u30e6\u30fc\u30b6\u540d\u306e\u6587\u5b57\u5217\u306e\u9577\u3055 if ( ! GetUserName(user,&dwUserSize) ){ return -1; } MessageBox(NULL,user,_T(\"\u30e6\u30fc\u30b6\u540d\"),MB_OK); return 0;\u30cd\u30bf\u5143 http://jehupc.exblog.jp/13175145/","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/shikaku/","version":"1.0","height":"190","author_name":"shikaku","published":"2015-05-11 14:00:09","blog_url":"https://blog.systemjp.net/","url":"https://blog.systemjp.net/entry/2015/05/11/140009","categories":["VC","MFC"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F2015%2F05%2F11%2F140009\" title=\"(C++)\u73fe\u5728\u306e\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u308b\u30e6\u30fc\u30b6\u540d\u3092\u53d6\u5f97\u3059\u308b - shikaku&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","type":"rich","image_url":null}