// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
namespace WixToolset.Test.BA
{
using System;
///
/// Utility class to work with HRESULTs
///
internal class Hresult
{
///
/// Determines if an HRESULT was a success code or not.
///
/// HRESULT to verify.
/// True if the status is a success code.
public static bool Succeeded(int status)
{
return status >= 0;
}
}
}