14 行
451 B
C#
14 行
451 B
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
|
|
|
|
// Ported from shared/winerror.h in the Windows SDK for Windows 10.0.22000.0
|
|
// Original source is Copyright © Microsoft. All rights reserved.
|
|
|
|
namespace TerraFX.Interop.Windows;
|
|
|
|
internal static partial class Windows
|
|
{
|
|
public static bool SUCCEEDED(HRESULT hr)
|
|
{
|
|
return hr >= 0;
|
|
}
|
|
} |