If something failed, show the error code and fail fast.
| 17 | |
| 18 | // If something failed, show the error code and fail fast. |
| 19 | void CheckFailure(HRESULT hr, const std::wstring& message) |
| 20 | { |
| 21 | if (FAILED(hr)) |
| 22 | { |
| 23 | ShowFailure(hr, message); |
| 24 | FAIL_FAST(); |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | void FeatureNotAvailable() |
| 29 | { |
nothing calls this directly
no test coverage detected