{"author_url":"https://blog.hatena.ne.jp/shive/","version":"1.0","height":"190","type":"rich","provider_url":"https://hatena.blog","author_name":"shive","url":"https://shive.hateblo.jp/entry/20160817/1471416034","provider_name":"Hatena Blog","width":"100%","blog_title":"\u30b2\u30fc\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u306a\u65e5\u3005","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshive.hateblo.jp%2Fentry%2F20160817%2F1471416034\" title=\"\u5b50\u30d7\u30ed\u30bb\u30b9\u8d77\u52d5\u6642\u306b\u7ba1\u7406\u8005\u6a29\u9650\u3067\u306e\u5b9f\u884c\u3092\u5f37\u5236\u3059\u308b - \u30b2\u30fc\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u306a\u65e5\u3005\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"categories":["win32api"],"blog_url":"https://shive.hateblo.jp/","title":"\u5b50\u30d7\u30ed\u30bb\u30b9\u8d77\u52d5\u6642\u306b\u7ba1\u7406\u8005\u6a29\u9650\u3067\u306e\u5b9f\u884c\u3092\u5f37\u5236\u3059\u308b","published":"2016-08-17 15:40:34","description":"ShellExecuteEx\u3067lpVerb=runas\u306b\u3059\u308c\u3070\u826f\u3044\u3089\u3057\u3044\u3002 #include <windows.h> #include <shellapi.h> #include <cstdio> int main(int, const char**) { SHELLEXECUTEINFO sei = {}; sei.cbSize = sizeof(sei); sei.fMask |= SEE_MASK_WAITFORINPUTIDLE; sei.fMask |= SEE_MASK_FLAG_NO_UI; sei.fMask |= SEE_MASK_NO_CONSOLE; sei.fMask \u2026"}