{"published":"2021-09-20 12:42:33","author_name":"potisan","provider_name":"Hatena Blog","width":"100%","title":"C++20&Win API \u30d5\u30a1\u30a4\u30eb\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30aa\u30fc\u30ca\u30fc\u306e\u540d\u524d\u30fb\u53c2\u7167\u30c9\u30e1\u30a4\u30f3\u540d\u30fb\u540d\u524d\u306e\u4f7f\u3044\u65b9\u3092\u53d6\u5f97\u3059\u308b","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2021%2F09%2F20%2F124233\" title=\"C++20&amp;Win API \u30d5\u30a1\u30a4\u30eb\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30aa\u30fc\u30ca\u30fc\u306e\u540d\u524d\u30fb\u53c2\u7167\u30c9\u30e1\u30a4\u30f3\u540d\u30fb\u540d\u524d\u306e\u4f7f\u3044\u65b9\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>","version":"1.0","categories":["C++","Windows"],"height":"190","provider_url":"https://hatena.blog","description":"\u4e00\u90e8\u306eC API\u306bC++\u30e9\u30c3\u30d1\u30fc\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059\u3002 #include <string> #include <vector> #define STRICT #define NOMINMAX #include <Windows.h> // \u30d5\u30a1\u30a4\u30eb\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u60c5\u5831\u3092\u30d0\u30a4\u30c8\u914d\u5217\u3068\u3057\u3066\u8fd4\u3057\u307e\u3059\u3002 std::vector<BYTE> GetFileSecurityW(std::wstring_view Path, SECURITY_INFORMATION RequestedInformation) { DWORD needed{ 0 }; if (!::GetFileSecurityW(Path.da\u2026","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","blog_url":"https://potisan-programming-memo.hatenablog.jp/","url":"https://potisan-programming-memo.hatenablog.jp/entry/2021/09/20/124233","author_url":"https://blog.hatena.ne.jp/potisan/","type":"rich"}