HRESULT_FACILITY macro
Extracts the facility of the specified HRESULT.
Syntax
WORD HRESULT_FACILITY( HRESULT hr );
Parameters
- hr
-
The HRESULT value.
Return value
The facility.
Remarks
This macro is defined as follows:
#define HRESULT_FACILITY(hr) (((hr) >> 16) & 0x1fff)
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
Show: