{"blog_url":"https://potisan-programming-memo.hatenablog.jp/","provider_name":"Hatena Blog","url":"https://potisan-programming-memo.hatenablog.jp/entry/2021/09/20/140504","author_url":"https://blog.hatena.ne.jp/potisan/","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","provider_url":"https://hatena.blog","height":"190","type":"rich","published":"2021-09-20 14:05:04","width":"100%","author_name":"potisan","description":"\u30d5\u30a1\u30a4\u30eb\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u8a18\u8ff0\u5b50\u2192DACL\u2192ACE\u3068\u53d6\u5f97\u3057\u3066\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30e6\u30fc\u30b6\u30fc\u306e\u540d\u524d\u3092\u5217\u6319\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3067\u3059\u3002 #include <bit> #include <string> #include <span> #include <memory> #include <vector> #define STRICT #define NOMINMAX #include <Windows.h> #include <AclAPI.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,\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2021%2F09%2F20%2F140504\" title=\"C++20&amp;Win API \u30d5\u30a1\u30a4\u30eb\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30e6\u30fc\u30b6\u30fc\u306e\u540d\u524d\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>","image_url":null,"categories":["C++","Windows"],"version":"1.0","title":"C++20&Win API \u30d5\u30a1\u30a4\u30eb\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30e6\u30fc\u30b6\u30fc\u306e\u540d\u524d\u3092\u5217\u6319\u3059\u308b"}