{"type":"rich","provider_url":"https://hatena.blog","url":"https://potisan-programming-memo.hatenablog.jp/entry/2014/07/03/000000","categories":["C++","Windows"],"height":"190","blog_url":"https://potisan-programming-memo.hatenablog.jp/","provider_name":"Hatena Blog","image_url":null,"description":"Win32 Setup API\u3067\u30b7\u30b9\u30c6\u30e0\u306b\u5b58\u5728\u3059\u308b\u30c7\u30d0\u30a4\u30b9\u306e\u30af\u30e9\u30b9\u30fb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u30af\u30e9\u30b9\u3068\u8aac\u660e\u3092\u5217\u6319\u3059\u308b\u30b3\u30fc\u30c9\u3067\u3059\u3002main\u95a2\u6570\u5185\u3067\u306f\u30e1\u30e2\u30ea\u7ba1\u7406\u3084\u4f8b\u5916\u51e6\u7406\u3092\u6020\u3063\u3066\u3044\u308b\u306e\u3067\u6ce8\u610f\u3057\u3066\u4e0b\u3055\u3044\u3002 \u5358\u7d14\u306b\u5217\u6319\u3059\u308b #pragma comment(lib, \"SetupAPI.lib\") #define STRICT #include <Windows.h> #include <SetupAPI.h> #define INITGUID #include <devpkey.h> #undef INITGUID // \u30c7\u30d0\u30a4\u30b9\u306e\u6587\u5b57\u5217\u578b\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u30d2\u30fc\u30d7\u306b\u78ba\u4fdd\u3057\u3066\u8fd4\u3057\u307e\u3059\u3002 LPTSTR HeapAllo\u2026","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2014%2F07%2F03%2F000000\" title=\"C++11 Win32 Setup API\u3067\u30b7\u30b9\u30c6\u30e0\u306b\u5b58\u5728\u3059\u308b\u30c7\u30d0\u30a4\u30b9\u306e\u30af\u30e9\u30b9\u30fb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u30af\u30e9\u30b9\u3068\u8aac\u660e\u3092\u5217\u6319\u3059\u308b - potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2\" 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%","title":"C++11 Win32 Setup API\u3067\u30b7\u30b9\u30c6\u30e0\u306b\u5b58\u5728\u3059\u308b\u30c7\u30d0\u30a4\u30b9\u306e\u30af\u30e9\u30b9\u30fb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u30af\u30e9\u30b9\u3068\u8aac\u660e\u3092\u5217\u6319\u3059\u308b","published":"2014-07-03 00:00:00","author_name":"potisan","author_url":"https://blog.hatena.ne.jp/potisan/"}