Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #ifndef _INC_HOSTERROR
      7 #define _INC_HOSTERROR
      8 #if (_WIN32_WINNT >= 0x0600)
      9 
     10 #define _EAP_CERT_FIRST 0x0
     11 #define _EAP_CERT_LAST 0xf
     12 #define _EAP_CERT_NOT_FOUND 0x1
     13 #define _EAP_CERT_INVALID 0x2
     14 #define _EAP_CERT_EXPIRED 0x3
     15 #define _EAP_CERT_REVOKED 0x4
     16 #define _EAP_CERT_OTHER_ERROR 0x5
     17 #define _EAP_CERT_REJECTED 0x6
     18 #define _EAP_CERT_NAME_REQUIRED 0x7
     19 #define _EAP_GENERAL_FIRST 0x10
     20 #define _EAP_GENERAL_LAST 0x3f
     21 
     22 #define EAP_E_EAPHOST_FIRST __MSABI_LONG(0x80420000)
     23 #define EAP_E_EAPHOST_LAST  __MSABI_LONG(0x804200FF)
     24 #define EAP_I_EAPHOST_FIRST __MSABI_LONG(0x80420000)
     25 #define EAP_I_EAPHOST_FIRST __MSABI_LONG(0x804200FF)
     26 
     27 #define EAP_E_CERT_STORE_INACCESSIBLE 0x80420011
     28 #define EAP_E_EAPHOST_METHOD_NOT_INSTALLED 0x80420011
     29 #define EAP_E_EAPHOST_THIRDPARTY_METHOD_HOST_RESET 0x80420012
     30 #define EAP_E_EAPHOST_EAPQEC_INACCESSIBLE 0x80420013
     31 #define EAP_E_EAPHOST_IDENTITY_UNKNOWN 0x80420014
     32 #define EAP_E_AUTHENTICATION_FAILED 0x80420015
     33 #define EAP_I_EAPHOST_EAP_NEGOTIATION_FAILED 0x40420016
     34 #define EAP_E_EAPHOST_METHOD_INVALID_PACKET 0x40420017
     35 #define EAP_E_EAPHOST_REMOTE_INVALID_PACKET 0x40420018
     36 #define EAP_E_EAPHOST_XML_MALFORMED 0x40420019
     37 
     38 #if (_WIN32_WINNT >= 0x0601)
     39 #define EAP_E_METHOD_CONFIG_DOES_NOT_SUPPORT_SSO 0x4042001A
     40 #endif /*(_WIN32_WINNT >= 0x0601)*/
     41 
     42 #define EAP_E_EAPHOST_METHOD_OPERATION_NOT_SUPPORTED 0x80420020
     43 
     44 #define EAP_E_USER_FIRST __MSABI_LONG(0x80420100)
     45 #define EAP_E_USER_LAST  __MSABI_LONG(0x804201FF)
     46 #define EAP_I_USER_FIRST __MSABI_LONG(0x40420100)
     47 #define EAP_I_USER_LAST  __MSABI_LONG(0x804201FF)
     48 
     49 #define EAP_E_USER_CERT_NOT_FOUND 0x80420100
     50 #define EAP_E_USER_CERT_INVALID 0x80420101
     51 #define EAP_E_USER_CERT_EXPIRED 0x80420102
     52 #define EAP_E_USER_CERT_REVOKED 0x80420103
     53 #define EAP_E_USER_CERT_OTHER_ERROR 0x80420104
     54 #define EAP_E_USER_CERT_REJECTED 0x80420105
     55 #define EAP_I_USER_ACCOUNT_OTHER_ERROR 0x40420110
     56 #define EAP_E_USER_CREDENTIALS_REJECTED 0x40420111
     57 
     58 #if (_WIN32_WINNT >= 0x0601)
     59 #define EAP_E_USER_NAME_PASSWORD_REJECTED 0x40420112
     60 #define EAP_E_NO_SMART_CARD_READER 0x80420113
     61 #endif /*(_WIN32_WINNT >= 0x0601)*/
     62 
     63 #define EAP_E_SERVER_FIRST __MSABI_LONG(0x80420200)
     64 #define EAP_E_SERVER_LAST __MSABI_LONG(0x804202FF)
     65 
     66 #define EAP_E_SERVER_CERT_NOT_FOUND 0x80420200
     67 #define EAP_E_SERVER_CERT_INVALID 0x80420201
     68 #define EAP_E_SERVER_CERT_EXPIRED 0x80420202
     69 #define EAP_E_SERVER_CERT_REVOKED 0x80420203
     70 #define EAP_E_SERVER_CERT_OTHER_ERROR 0x80420204
     71 
     72 #define EAP_E_USER_ROOT_CERT_FIRST __MSABI_LONG(0x80420300)
     73 #define EAP_E_USER_ROOT_CERT_LAST __MSABI_LONG(0x804203FF)
     74 #define EAP_E_USER_ROOT_CERT_NOT_FOUND 0x80420300
     75 #define EAP_E_USER_ROOT_CERT_INVALID 0x80420301
     76 #define EAP_E_USER_ROOT_CERT_EXPIRED 0x80420302
     77 
     78 #define EAP_E_SERVER_ROOT_CERT_FIRST __MSABI_LONG(0x80420400)
     79 #define EAP_E_SERVER_ROOT_CERT_LAST __MSABI_LONG(0x804204FF)
     80 
     81 #define EAP_E_SERVER_ROOT_CERT_NOT_FOUND 0x80420400
     82 #define EAP_E_SERVER_ROOT_CERT_INVALID 0x80420401
     83 #define EAP_E_SERVER_ROOT_CERT_NAME_REQUIRED 0x80420406
     84 
     85 #endif /*(_WIN32_WINNT >= 0x0600)*/
     86 #endif /*_INC_HOSTERROR*/
     87