diff --git a/core/sys/windows/winerror.odin b/core/sys/windows/winerror.odin index 82d3e4fc1..b7652d1f4 100644 --- a/core/sys/windows/winerror.odin +++ b/core/sys/windows/winerror.odin @@ -44,3 +44,5 @@ ERROR_UNSUPPORTED_TYPE : DWORD : 1630 ERROR_NOT_SAME_OBJECT : DWORD : 1656 E_NOTIMPL :: HRESULT(-0x7fff_bfff) // 0x8000_4001 + +SUCCEEDED :: #force_inline proc(#any_int result: int) -> bool do return result >= 0