| 129 | } |
| 130 | |
| 131 | bool delete_file(const wchar_t *path) { |
| 132 | SetFileAttributes(path, FILE_ATTRIBUTE_NORMAL); |
| 133 | return DeleteFile(path); |
| 134 | } |
| 135 | |
| 136 | std::optional<int> library_bitness(const wchar_t *path) { |
| 137 | auto h_file = CreateFile(path, GENERIC_READ, 0, nullptr, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OVERLAPPED, nullptr); |
no outgoing calls
no test coverage detected