2022-08-06から1日間の記事一覧
COMとWILを使ってIUIAutomationElementを列挙するコードです。 実行例(ExplorerPatcher起動中) Source.cpp #include <format> #include <iostream> #include "string_util.hpp" #define STRICT #define NOMINMAX #include <Windows.h> #include <UIAutomation.h> #include "stl_win.hpp" #include "wil/c</uiautomation.h></windows.h></iostream></format>…