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