win32.winerror

Windows API header module

Translated from MinGW Windows headers

Members

Aliases

SCODE
alias SCODE = int
Undocumented in source.

Enums

ERROR_SUCCESS
anonymousenum ERROR_SUCCESS
Undocumented in source.
FACILITY_NULL
anonymousenum FACILITY_NULL
Undocumented in source.
SEVERITY_SUCCESS
anonymousenum SEVERITY_SUCCESS
Undocumented in source.
S_OK
anonymousenum S_OK
Undocumented in source.

Functions

FAILED
bool FAILED(HRESULT Status)
Undocumented in source. Be warned that the author may not have intended to support it.
GetScode
SCODE GetScode(HRESULT hr)
Undocumented in source. Be warned that the author may not have intended to support it.
HRESULT_CODE
ushort HRESULT_CODE(HRESULT r)
Undocumented in source. Be warned that the author may not have intended to support it.
HRESULT_FACILITY
ushort HRESULT_FACILITY(HRESULT r)
Undocumented in source. Be warned that the author may not have intended to support it.
HRESULT_FROM_NT
HRESULT HRESULT_FROM_NT(HRESULT x)
Undocumented in source. Be warned that the author may not have intended to support it.
HRESULT_FROM_WIN32
HRESULT HRESULT_FROM_WIN32(HRESULT x)
Undocumented in source. Be warned that the author may not have intended to support it.
HRESULT_SEVERITY
ushort HRESULT_SEVERITY(HRESULT r)
Undocumented in source. Be warned that the author may not have intended to support it.
IS_ERROR
bool IS_ERROR(HRESULT Status)
Undocumented in source. Be warned that the author may not have intended to support it.
MAKE_HRESULT
HRESULT MAKE_HRESULT(bool s, uint f, uint c)
Undocumented in source. Be warned that the author may not have intended to support it.
MAKE_SCODE
SCODE MAKE_SCODE(bool s, uint f, uint c)
Undocumented in source. Be warned that the author may not have intended to support it.
PropagateResult
HRESULT PropagateResult(HRESULT hrPrevious, SCODE scBase)
Undocumented in source. Be warned that the author may not have intended to support it.
ResultFromScode
HRESULT ResultFromScode(SCODE c)
Undocumented in source. Be warned that the author may not have intended to support it.
SCODE_CODE
ushort SCODE_CODE(SCODE r)
Undocumented in source. Be warned that the author may not have intended to support it.
SCODE_FACILITY
ushort SCODE_FACILITY(SCODE r)
Undocumented in source. Be warned that the author may not have intended to support it.
SCODE_SEVERITY
ushort SCODE_SEVERITY(SCODE r)
Undocumented in source. Be warned that the author may not have intended to support it.
SUCCEEDED
bool SUCCEEDED(HRESULT Status)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

Source

See Source File
core/sys/windows/winerror.d Automatically imported and edited from the druntime module core.sys.windows.winerror for the auto-generated win32 package.