| 170 | } |
| 171 | |
| 172 | bool ProcessIs32Bit(HANDLE hProc) |
| 173 | { |
| 174 | BOOL isWow64 = false; |
| 175 | if (IsWow64Process(hProc, &isWow64)) { |
| 176 | return isWow64; |
| 177 | } |
| 178 | throw Except<HrError>("failed to check WOW64 status"); |
| 179 | } |
| 180 | std::wstring GuidToString(const GUID& guid) |
| 181 | { |
| 182 | wchar_t buf[64]; |