{"published":"2021-09-05 18:17:14","version":"1.0","categories":["C++","Windows"],"provider_url":"https://hatena.blog","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","author_name":"potisan","url":"https://potisan-programming-memo.hatenablog.jp/entry/2021/09/05/181714","blog_url":"https://potisan-programming-memo.hatenablog.jp/","width":"100%","title":"C++20&Win API\uff08Vista\uff5e\uff09 \u5404\u96fb\u6e90\u30b9\u30ad\u30fc\u30e0\u306e\u30b5\u30d6\u30b0\u30eb\u30fc\u30d7\u306eGUID\u30fb\u540d\u524d\u30fb\u6982\u8981\u3092\u5217\u6319\u3059\u308b","type":"rich","provider_name":"Hatena Blog","description":"#include <format> #include <iostream> #include <string> #include <vector> #include <optional> #define STRICT #include <Windows.h> #include <powrprof.h> #pragma comment(lib, \"powrprof.lib\") namespace PowerUtil { std::vector<GUID> GetPowerSchemeGUIDs() { std::vector<GUID> guids; for (ULONG i = 0; ; ++\u2026","author_url":"https://blog.hatena.ne.jp/potisan/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2021%2F09%2F05%2F181714\" title=\"C++20&amp;Win API\uff08Vista\uff5e\uff09 \u5404\u96fb\u6e90\u30b9\u30ad\u30fc\u30e0\u306e\u30b5\u30d6\u30b0\u30eb\u30fc\u30d7\u306eGUID\u30fb\u540d\u524d\u30fb\u6982\u8981\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,"height":"190"}