{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2021%2F09%2F05%2F172853\" title=\"C++20&amp;Win API\uff08Vista\uff5e\uff09 \u96fb\u6e90\u30b9\u30ad\u30fc\u30e0\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>","categories":["C++","Windows"],"published":"2021-09-05 17:28:53","author_name":"potisan","title":"C++20&Win API\uff08Vista\uff5e\uff09 \u96fb\u6e90\u30b9\u30ad\u30fc\u30e0\u306eGUID\u30fb\u540d\u524d\u30fb\u6982\u8981\u3092\u5217\u6319\u3059\u308b","width":"100%","height":"190","provider_url":"https://hatena.blog","version":"1.0","image_url":null,"blog_url":"https://potisan-programming-memo.hatenablog.jp/","url":"https://potisan-programming-memo.hatenablog.jp/entry/2021/09/05/172853","author_url":"https://blog.hatena.ne.jp/potisan/","description":"#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; ; ++i) { GUID guid; DW\u2026","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","provider_name":"Hatena Blog","type":"rich"}