{"image_url":null,"version":"1.0","blog_url":"https://potisan-programming-memo.hatenablog.jp/","height":"190","width":"100%","categories":["C++","WIL","Windows","\u307e\u3068\u3081\u672a\u767b\u9332\uff08\u7ba1\u7406\u7528\uff09"],"author_url":"https://blog.hatena.ne.jp/potisan/","provider_name":"Hatena Blog","published":"2022-03-11 22:34:12","title":"C++20&WinAPI&WIL ZIP\u30d5\u30a1\u30a4\u30eb\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305fCLSID\u3092\u53d6\u5f97\u3059\u308b","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2022%2F03%2F11%2F223412\" title=\"C++20&amp;WinAPI&amp;WIL ZIP\u30d5\u30a1\u30a4\u30eb\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305fCLSID\u3092\u53d6\u5f97\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>","description":"ZIP\u30d5\u30a1\u30a4\u30eb\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305fCLSID\u3068\u305d\u306eProgID\u3092\u53d6\u5f97\u3059\u308b\u30b3\u30fc\u30c9\u3067\u3059\u3002 #include <array> #include <bit> #include <format> #include <string> #include <optional> #define STRICT #include <windows.h> #include \"wil/resource.h\" std::optional<GUID> GetSystemFileAssociationCLSID(PCWSTR name) noexcept { const auto path = std::format(L\"Sys\u2026","type":"rich","provider_url":"https://hatena.blog","author_name":"potisan","url":"https://potisan-programming-memo.hatenablog.jp/entry/2022/03/11/223412"}