{"author_name":"wistery_k","published":"2014-06-22 20:11:58","blog_title":"#define int ll","image_url":null,"description":"Process[] ps = Process.GetProcessesByName(\"hogehoge\"); /* Process[] ps = Process.GetProcesses(); foreach(var p in ps) { Console.WriteLine(p.ProcessName); } */ if (!ps.Any()) { return; } IntPtr hWnd = ps[0].MainWindowHandle; RECT rect = new RECT(); GetWindowRect(hWnd, out rect);","blog_url":"https://wistery-k.hatenadiary.org/","height":"190","author_url":"https://blog.hatena.ne.jp/wistery_k/","url":"https://wistery-k.hatenadiary.org/entry/20140622/1403435518","categories":["C#"],"provider_name":"Hatena Blog","width":"100%","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwistery-k.hatenadiary.org%2Fentry%2F20140622%2F1403435518\" title=\" \u30d7\u30ed\u30bb\u30b9\u540d\u3067\u30a6\u30a3\u30f3\u30c9\u30a6\u30cf\u30f3\u30c9\u30eb\u53d6\u5f97\u3000\u30b3\u30d4\u30da\u7528 - #define int ll\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","title":" \u30d7\u30ed\u30bb\u30b9\u540d\u3067\u30a6\u30a3\u30f3\u30c9\u30a6\u30cf\u30f3\u30c9\u30eb\u53d6\u5f97\u3000\u30b3\u30d4\u30da\u7528","type":"rich"}