HRESULT_FACILITY 1N5DEXM
#define HRESULT_FACILITY(hr) (((hr) >> 16) & 0x1fff)
Returns the facility from the HRESULT.