Throws a DXException on failing HRESULT
| 285 | |
| 286 | // Throws a DXException on failing HRESULT |
| 287 | inline void DXCall(HRESULT hr) |
| 288 | { |
| 289 | if(FAILED(hr)) |
| 290 | throw DXException(hr); |
| 291 | } |
| 292 | |
| 293 | // Throws a Win32Exception on failing return value |
| 294 | inline void Win32Call(BOOL retVal) |
no test coverage detected