Provides a generic test for failure on any status value.
// // #define FAILED(hr) (((HRESULT)(hr)) < 0) bool FAILED(int result) => result < 0;