Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This header is used by multiple technologies. For more information, see:
- Component Object Model (COM)
- Direct2D
- DXGI
- Network Access Protection
- Remote Procedure Call (RPC)
- System Services
- Task Scheduler
- Windows Animation Manager
- Windows Event Log
- Windows Filtering Platform
winerror.h contains the following programming interfaces:
Functions
FAILED Provides a generic test for failure on any status value. |
HRESULT_CODE Extracts the code portion of the specified HRESULT. |
HRESULT_FACILITY Extracts the facility of the specified HRESULT. |
HRESULT_FROM_NT Maps an NT status value to an HRESULT value. |
HRESULT_FROM_WIN32 Maps a system error code to an HRESULT value. |
HRESULT_SEVERITY Extracts the severity field of the specified HRESULT. |
IS_ERROR Provides a generic test for errors on any status value. |
MAKE_HRESULT The MAKE_HRESULT macro (winerror.h) creates an HRESULT value from its component pieces. |
MAKE_SCODE Creates an SCODE value from its component pieces. |
SCODE_CODE Extracts the code portion of the specified SCODE. |
SCODE_FACILITY Extracts the facility of the specified SCODE. |
SCODE_SEVERITY Extracts the severity field of the specified SCODE. |
SUCCEEDED Provides a generic test for success on any status value. |