Windows API header module
Translated from MinGW Windows headers
Source: core/sys/windows/_winerror.d
bool SUCCEEDED(HRESULT Status)
bool FAILED(HRESULT Status)
bool IS_ERROR(HRESULT Status)
ushort HRESULT_CODE(HRESULT r)
ushort SCODE_CODE(SCODE r)
ushort HRESULT_FACILITY(HRESULT r)
ushort SCODE_FACILITY(SCODE r)
ushort HRESULT_SEVERITY(HRESULT r)
ushort SCODE_SEVERITY(SCODE r)
HRESULT MAKE_HRESULT(bool s, uint f, uint c)
SCODE MAKE_SCODE(bool s, uint f, uint c)
SCODE GetScode(HRESULT hr)
HRESULT ResultFromScode(SCODE c)
HRESULT HRESULT_FROM_NT(HRESULT x)
HRESULT HRESULT_FROM_WIN32(HRESULT x)
HRESULT PropagateResult(HRESULT hrPrevious, SCODE scBase)