| 185 | } |
| 186 | |
| 187 | void ExplorePath(const std::filesystem::path& path) |
| 188 | { |
| 189 | const auto result = (INT_PTR)ShellExecuteW(nullptr, L"open", path.c_str(), nullptr, nullptr, SW_SHOWDEFAULT); |
| 190 | if (result <= 32) { |
| 191 | throw Except<HrError>(ShellExecuteCodeToHr_(result), "failed to open file system path in shell"); |
| 192 | } |
| 193 | } |
| 194 | } |
no test coverage detected