User:Zzco/sandbox

HRESULTs are organized as follows:

Format details

 * S - Severity - indicates success/fail
 * 0 - Success
 * 1 - Failure
 * R - Reserved portion of the facility code, corresponds to the system's second severity bit.
 * 1 - Severe Failure
 * C - Customer. This bit specifies if the value is customer-defined or OS-defined.
 * 0 - OS-defined
 * 1 - Customer-defined
 * N - Reserved portion of the facility code. Used to indicate a mapped status value.
 * X - Reserved portion of the facility code. Reserved for internal use. Used to indicate HRESULT values that are not status values, but are instead message ids for display strings.
 * Facility - indicates the system service that is responsible for the error. Example facility codes are shown below (for the full list see ).
 * 1 - RPC
 * 2 -
 * 3 -
 * 4 -
 * 7 -
 * 8 -
 * 9 -
 * 10 -
 * 11 -
 * 12 -
 * 13 -
 * 14 -
 * 15 -
 * Code - is the facility's status code