viewimage.php?id=3dafdf21f7d335ab67b1d1&no=29bcc427b18a77a16fb3dab004c86b6f01720db71ff8b166cf266ac822e9ba8d6e5c130782d81a16335226386d9b7d1e2fc935879ec0f214c9edf09032

//

// Note: There is a slightly modified layout for HRESULT values below,

//        after the heading "COM Error Codes".

//

// Search for "**** Available SYSTEM error codes ****" to find where to

// insert new error codes

//

//  Values are 32 bit values laid out as follows:

//

//   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1

//   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0

//  +-+-+-+-+-+---------------------+-------------------------------+

//  |S|R|C|N|r|    Facility         |               Code            |

//  +-+-+-+-+-+---------------------+-------------------------------+

//

//  where

//

//      S - Severity - indicates success/fail

//

//          0 - Success

//          1 - Fail (COERROR)

//

//      R - reserved portion of the facility code, corresponds to NT's

//              second severity bit.

//

//      C - reserved portion of the facility code, corresponds to NT's

//              C field.

//

//      N - reserved portion of the facility code. Used to indicate a

//              mapped NT status value.

//

//      r - 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 - is the facility code

//

//      Code - is the facility's status code

//

//

// Define the facility codes

//