Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

419 lines
37 KiB

  1. #pragma once
  2. //-----------------------------------------------------------------------------
  3. //
  4. // File: pperr.h
  5. //
  6. // Passport error code definitions.
  7. //
  8. //-----------------------------------------------------------------------------
  9. #include <winerror.h>
  10. // General errors
  11. #define PP_E_COMFAIL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1000)
  12. #define PP_E_ERRORCODE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1001)
  13. #define PP_E_TOOMANYREQUESTS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1002)
  14. #define PP_E_SVC_NOT_CONFIGURED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1003)
  15. #define PP_E_NEEDSBIRTHDATE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1004)
  16. #define PP_E_MD5SILENTNOCONSENT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1005)
  17. #define PP_E_MD5SILENTNEEDPARENT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1006)
  18. #define PP_E_PROFILENOTEXIST MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1007)
  19. #define PP_E_TICKETEXPIRED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1008)
  20. #define PP_E_TICKETNOTEXIST MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1009)
  21. #define PP_E_SECTICKETNOTEXIST MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x100A)
  22. #define PP_E_SECTICKETNOTMATCH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x100B)
  23. #define PP_E_FORCESIGNIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x100C)
  24. #define PP_E_KPPVCMISSING MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x100D)
  25. #define PP_E_KPPVCINVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x100E)
  26. #define PP_E_KPPNONKIDSITE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x100F)
  27. #define PP_E_EXCLUDED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1010)
  28. #define PP_E_MEMBER_LOCKED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1011)
  29. #define PP_E_BAD_PASSWORD MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1012)
  30. #define PP_E_KIDNPP MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1014)
  31. #define PP_E_KIDSPASSPORTURL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1015)
  32. #define PP_E_NOT_OVER_SSL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1016)
  33. #define PP_E_INVALIDKPP MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1017)
  34. #define PP_E_INVALIDSITEID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1018)
  35. #define PP_E_INVALIDMEMBERNAME MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1019)
  36. #define PP_E_INVALIDRETURNURL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x101A)
  37. #define PP_E_INVALIDKEYVERSION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x101B)
  38. #define PP_E_INVALIDREQUEST MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x101C)
  39. #define PP_E_INVALIDPARAMS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x101D)
  40. #define PP_E_NOCREDENTIALS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x101E)
  41. #define PP_E_NOAUTH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x101F)
  42. #define PP_E_NO_SL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1020)
  43. #define PP_E_NO_ALIAS_NO_PASSWORD MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1021)
  44. #define PP_E_NO_ALIAS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1022)
  45. #define PP_E_NO_PASSWORD MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1023)
  46. #define PP_E_NO_DOMAIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1024)
  47. #define PP_E_NO_CHALLENGE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1025)
  48. #define PP_E_INVALIDMODE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1026)
  49. #define PP_E_USER_BAD_LOGIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1027)
  50. #define PP_E_SAME_USER_BAD_LOGIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1028)
  51. #define PP_E_DIFFERENT_USER MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1029)
  52. #define PP_E_WRONG_CREDENTIALS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x102A)
  53. #define PP_E_WRONG_MODE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x102B)
  54. #define PP_E_BROWSERINCAPABLE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x102C)
  55. #define PP_E_BROWSERCOOKIEDISABLED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x102D)
  56. #define PP_E_CRED_INPUT_TOO_LONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x102E)
  57. #define PP_E_NOT_EMAIL_INPUT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x102F)
  58. #define PP_E_MISSING_CREDS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1030)
  59. #define PP_E_MISSING_MEMBERNAME MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1031)
  60. #define PP_E_MISSING_PASSWORD MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1032)
  61. #define PP_E_MISSING_DOMAIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1033)
  62. #define PP_E_INVALID_MEMBERNAME MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1034)
  63. #define PP_E_WRONG_DA_DOMAIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1035)
  64. #define PP_E_NONE_AUTH_MODE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1036)
  65. #define PP_E_INVALID_CARD MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1037)
  66. #define PP_E_LOCATION_WRONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1038)
  67. #define PP_E_SECRET_ANS_WRONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1039)
  68. #define PP_E_KID_HAS_NO_CONSENT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x103A)
  69. #define PP_E_NO_COUNTRY MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x103B)
  70. #define PP_E_NO_REGION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x103C)
  71. #define PP_E_NO_POSTALCODE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x103D)
  72. #define PP_E_NO_SECRET_ANSWER MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x103E)
  73. #define PP_E_NO_CREDIT_CARD MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x103F)
  74. #define PP_E_NEED_STRONG_CREDENTIALS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1040)
  75. #define PP_E_BAD_PIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1041)
  76. #define PP_E_EMAIL_TAKEN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1042)
  77. #define PP_E_BAD_PINSA MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1043)
  78. #define PP_E_MISSING_PIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1044)
  79. #define PP_E_MISSING_PINSA MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1045)
  80. #define PP_E_PIN_MISMATCH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1046)
  81. #define PP_E_PIN_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1047)
  82. #define PP_E_PIN_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1048)
  83. #define PP_E_PIN_TOO_SHORT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1049)
  84. #define PP_E_PIN_TOO_LONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x104A)
  85. #define PP_E_PIN_CONTAINS_MEMBERNAME MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x104B)
  86. #define PP_E_FORCE_RENAME MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x104C)
  87. #define PP_E_MISSING_PHONENUM MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x104D)
  88. #define PP_E_MISSING_PHONEPIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x104E)
  89. #define PP_E_PPM_NOTCAPABLE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x104F)
  90. #define PP_E_CREATECOOKIE_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1050)
  91. #define PP_E_NAMECHANGE_NOTALLOWED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1051)
  92. #define PP_E_SECRET_QUESTION_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1052)
  93. #define PP_E_BLANK_PASSWORD MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1053)
  94. #define PP_E_LOADSTRING_NOT_HANDLED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1054)
  95. #define PP_E_IIS_ERROR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1055)
  96. #define PP_E_RX_PARSE_ERROR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1056)
  97. #define PP_E_RX_NO_MATCH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1057)
  98. #define PP_E_INVALIDNAMESPACE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1058)
  99. // Success Codes from ValidateFunctions.cpp
  100. #define PP_S_TIMEZONE_OLD MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0x1151)
  101. // Errors from ValidateFunctions.cpp
  102. #define PP_E_NAME_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1100)
  103. #define PP_E_NAME_TOO_SHORT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1101)
  104. #define PP_E_NAME_TOO_LONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1102)
  105. #define PP_E_NAME_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1103)
  106. #define PP_E_PASSWORD_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1104)
  107. #define PP_E_PASSWORD_TOO_SHORT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1105)
  108. #define PP_E_PASSWORD_TOO_LONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1106)
  109. #define PP_E_PASSWORD_CONTAINS_MEMBERNAME MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1107)
  110. #define PP_E_PASSWORD_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1108)
  111. #define PP_E_PASSWORD_MISMATCH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1109)
  112. #define PP_E_EMAIL_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x110A)
  113. #define PP_E_EMAIL_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x110B)
  114. #define PP_E_EMAIL_RIGHT_TOO_LONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x110C)
  115. #define PP_E_EMAIL_INCOMPLETE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x110D)
  116. #define PP_E_EMAIL_INVALID_CHARS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x110E)
  117. #define PP_E_BIRTHDATE_NOTENTERED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x110F)
  118. #define PP_E_BIRTHYEAR_INVALID_CHARS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1110)
  119. #define PP_E_BIRTHYEAR_NOT_4DIGIT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1111)
  120. #define PP_E_BIRTHYEAR_TOO_LOW MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1112)
  121. #define PP_E_BIRTHYEAR_MISSING MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1113)
  122. #define PP_E_BIRTHMONTH_MISSING MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1114)
  123. #define PP_E_BIRTHMONTH_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1115)
  124. #define PP_E_BIRTHDAY_MISSING MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1116)
  125. #define PP_E_BIRTHDAY_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1117)
  126. #define PP_E_BADDAYFORMONTH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1118)
  127. #define PP_E_BIRTHDATE_UNDER18 MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1119)
  128. #define PP_E_BIRTHDATE_IN_FUTURE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x111A)
  129. #define PP_E_PARENT_UNDER13 MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x111B)
  130. #define PP_E_SECRETQA_NOQUESTION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x111C)
  131. #define PP_E_SECRETQA_NOANSWER MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x111D)
  132. #define PP_E_SQ_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x111E)
  133. #define PP_E_SA_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x111F)
  134. #define PP_E_SA_TOOSHORT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1120)
  135. #define PP_E_SA_TOOLONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1121)
  136. #define PP_E_SQ_TOOSHORT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1122)
  137. #define PP_E_SQ_TOOLONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1123)
  138. #define PP_E_LOCATION_INVALID_REGION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1124)
  139. #define PP_E_LOCATION_INVALID_POSTALCODE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1125)
  140. #define PP_E_LOCATION_INVALID_POSTALCODECHARS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1126)
  141. #define PP_E_LOCATION_INVALID_COUNTRY MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1127)
  142. #define PP_E_GENDER_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1128)
  143. #define PP_E_GENDER_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1129)
  144. #define PP_E_LANGUAGE_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x112A)
  145. #define PP_E_TIMEZONE_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x112B)
  146. #define PP_E_OCCUPATION_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x112C)
  147. #define PP_E_SVC_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x112D)
  148. #define PP_E_SAVEPASSWORD_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x112E)
  149. #define PP_E_ACCESSIBILITY_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x112F)
  150. #define PP_E_ALLOWEMAILINPROFILE_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1130)
  151. #define PP_E_ALLOWPASSPORTNETWORKEMAIL_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1131)
  152. #define PP_E_MEMBER_EXIST MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1132)
  153. #define PP_E_EMAIL_MEMBER_EXIST MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1133)
  154. #define PP_E_EMAIL_MANAGED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1134)
  155. #define PP_E_SECRETQA_DUPLICATE_Q MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1135)
  156. #define PP_E_FIRSTNAME_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1136)
  157. #define PP_E_LASTNAME_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1137)
  158. #define PP_E_NICKNAME_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1138)
  159. #define PP_E_EMAIL_RESERVED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1139)
  160. #define PP_E_DOMAIN_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x113A)
  161. #define PP_E_SECRETQA_DUPLICATE_A MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x113B)
  162. #define PP_E_SECRETQA_NOMATCH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x113C)
  163. #define PP_E_EXTERNALFIELD_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x113D)
  164. #define PP_E_PARENT_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x113E)
  165. #define PP_E_INVALID_PHONENUMBER MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x113F)
  166. #define PP_E_PHONENUMBER_EXIST MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1140)
  167. #define PP_E_TIMEZONE_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1141)
  168. #define PP_E_OCCUPATION_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1142)
  169. #define PP_E_LANGUAGE_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1143)
  170. #define PP_E_INVALID_PINNUMBER MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1144)
  171. #define PP_E_SECUREPIN_MISMATCH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1145)
  172. #define PP_E_SECUREPIN_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1146)
  173. #define PP_E_SECUREPIN_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1147)
  174. #define PP_E_SECUREPIN_TOO_SHORT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1148)
  175. #define PP_E_SECUREPIN_TOO_LONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1149)
  176. #define PP_E_SECUREPIN_CONTAINS_MEMBERNAME MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x114a)
  177. #define PP_E_SECRETQA_VERIFY_NOANSWER MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x114b)
  178. #define PP_E_FIELD_TOO_LONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x114c)
  179. #define PP_E_FIRSTNAME_TOO_LONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x114d)
  180. #define PP_E_LASTNAME_TOO_LONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x114e)
  181. #define PP_E_FORCERENAME_RESPONSE_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x114f)
  182. #define PP_E_LOCATION_INVALID_POSTALCODEBLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1150)
  183. #define PP_E_EMAIL_TOO_LONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1151)
  184. #define PP_E_EMAIL_LEFT_TOO_LONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1152)
  185. #define PP_E_NAME_FIRST_LAST_DOT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1153)
  186. #define PP_E_NAME_DOT_AFTER_DOT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1154)
  187. #define PP_E_DOMAIN_INVALID_CHAR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1155)
  188. #define PP_E_NAME_INVALID_CHAR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1156)
  189. #define PP_E_DOMAIN_FIRST_LAST_CHAR_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1157)
  190. #define PP_E_DOMAIN_DOT_AFTER_DOT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1158)
  191. // Database Errors
  192. #define PP_E_DB_STRINGTOOLONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1200)
  193. #define PP_E_DB_STRINGTOOSHORT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1201)
  194. #define PP_E_DB_INVALIDPASSWORD MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1202)
  195. #define PP_E_DB_INVALIDEMAIL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1203)
  196. #define PP_E_DB_INVALIDMEMBERNAME MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1204)
  197. #define PP_E_DB_MISSINGPARAMETERS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1205)
  198. #define PP_E_DB_FORBIDDENWORD MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1206)
  199. #define PP_E_DB_INVALIDDOMAINNAME MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1207)
  200. #define PP_E_DB_CRITICALERROR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1208)
  201. #define PP_E_DB_ERROR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1209)
  202. #define PP_E_DB_MEMBEREXISTS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x120A)
  203. #define PP_E_DB_MEMBERDOESNOTEXIST MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x120B)
  204. #define PP_E_DB_NODATA MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x120C)
  205. #define PP_E_DB_DUPLICATEFRIENDLYNAME MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x120D)
  206. #define PP_E_DB_ADDRESSDOESNOTEXIST MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x120E)
  207. #define PP_E_DB_CARDDOESNOTEXIST MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x120F)
  208. #define PP_E_DB_ADDRESSREFERENCEDBYCARD MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1210)
  209. #define PP_E_DB_KIDSSITENOTLISTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1211)
  210. #define PP_E_DB_SITEALREADYREQUESTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1212)
  211. #define PP_E_DB_CONNECTIONTIMEOUT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1213)
  212. #define PP_E_DB_NOCONNECTIONAVAILABLE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1224)
  213. #define PP_E_DB_TOOMANYUSERSWITHTHISNAME MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1225)
  214. #define PP_E_DB_DOMAINNOTSUPPORTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1226)
  215. // XML interface errors
  216. #define PP_E_XML_PARSE_ERROR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1300)
  217. #define PP_E_XML_NO_CLIENTINFO MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1301)
  218. #define PP_E_XML_UNKNOWN_CLIENTVERSION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1302)
  219. #define PP_E_XML_NAME_AND_PASSWORD_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1303)
  220. #define PP_E_XML_DOMAIN_BLANK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1304)
  221. #define PP_E_XML_INCOMPLETE_MEMBERNAME MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1305)
  222. #define PP_E_XML_NO_SUCH_NODE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1306)
  223. #define PP_E_XML_NO_TEXT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1307)
  224. #define PP_E_XML_INVALID_ROOTTAG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1308)
  225. #define PP_E_XML_USER_ALREADY_LOGGEDIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1309)
  226. #define PP_E_XML_KEYVERSION_NOT_A_NUMBER MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x130A)
  227. #define PP_E_XML_NO_USER_LOGGED_IN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x130B)
  228. #define PP_E_XML_NO_SUCH_ATTRIBUTE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x130C)
  229. // Global Init object errors
  230. #define PP_E_GLOBALINIT_BASE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1400)
  231. #define PP_E_GLOBALINIT_MISSING_PCONTROL_SERVICE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1400)
  232. #define PP_E_GLOBALINIT_NOAGENT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1401)
  233. #define PP_E_GLOBALINIT_DOMAINGET_BINDFAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1402)
  234. #define PP_E_GLOBALINIT_MISSING_STRINGTABLE_SERVICE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1403)
  235. #define PP_E_GLOBALINIT_DOMAINGET_EXECUTEFAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1404)
  236. #define PP_E_GLOBALINIT_MISSING_DOMAINID_CONFIG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1405)
  237. #define PP_E_GLOBALINIT_INVALID_DOMAIN_INDEX MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1406)
  238. #define PP_E_GLOBALINIT_BUFFER_TOO_SMALL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1407)
  239. #define PP_E_GLOBALINIT_MISSING_MANAGER_SERVICE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1408)
  240. #define PP_E_GLOBALINIT_ADDSTRING_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1409)
  241. #define PP_E_GLOBALINIT_DOMAINGET_GETROWEXFAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x140A)
  242. #define PP_E_GLOBALINIT_DOMAINGET_GETITEMFAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x140B)
  243. #define PP_E_GLOBALINIT_ADDNUMBER_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x140C)
  244. // Digest Errors
  245. #define PP_E_DIGEST_PARSE_AUTH_HEADER MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1500)
  246. #define PP_E_DIGEST_OPAQUE_MISSMATCH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1501)
  247. #define PP_E_DIGEST_ALGORITHM_MISSMATCH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1502)
  248. #define PP_E_DIGEST_REALMS_MISSMATCH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1503)
  249. #define PP_E_DIGEST_URI_MISSMATCH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1504)
  250. #define PP_E_DIGEST_USERNAME_MISSING MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1505)
  251. #define PP_E_DIGEST_CNONCE_MISSING MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1506)
  252. #define PP_E_DIGEST_NONCE_COUNT_MISSING MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1507)
  253. #define PP_E_DIGEST_NONCE_MISSING MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1508)
  254. #define PP_E_DIGEST_UNSUPPORTED_KPP_MODE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1509)
  255. #define PP_E_DIGEST_NONCE_MISSMATCH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x150A)
  256. #define PP_E_DIGEST_RESPONSE_TIMEOUT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x150B)
  257. #define PP_E_DIGEST_RESPONSE_MISSING MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x150C)
  258. #define PP_E_DIGEST_QOP_MISSMATCH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x150D)
  259. #define PP_E_DIGEST_INVALID_NONCE_COUNT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x150E)
  260. #define PP_E_DIGEST_HOTMAIL_USERNAME_MISMATCH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x150F)
  261. // MD5 Silent Errors
  262. #define PP_E_MD5SILENT_SITEID_IS_ONE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1600)
  263. #define PP_E_MD5SILENT_INVALID_T MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1601)
  264. #define PP_E_MD5SILENT_INVALID_P MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1602)
  265. #define PP_E_MD5SILENT_INVALID_KPP MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1603)
  266. #define PP_E_MD5SILENT_INVALID_SITE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1604)
  267. // Inline Signin Errors
  268. #define PP_E_INLINESIGNIN_NOT_ALLOWED_FOR_SITE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1700)
  269. #define PP_E_INLINESIGNIN_SSL_REQUIRED_FOR_POST MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1701)
  270. // NetPartnerInfo (NSO) Errors
  271. #define PP_E_NETPARTNERINFO_UNINITIALZED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1800)
  272. #define PP_E_NETPARTNERINFO_SITEID_NOT_FOUND MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1801)
  273. #define PP_E_NETPARTNERINFO_DECRYPT_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1802)
  274. #define PP_E_NETPARTNERINFO_KEYSIZE_MISMATCH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1803)
  275. #define PP_E_NETPARTNERINFO_CREATEFILE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1804)
  276. #define PP_E_NETPARTNERINFO_WRITEFILE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1805)
  277. #define PP_E_NETPARTNERINFO_READFILE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1806)
  278. // Com object errors
  279. #define PP_E_HASHSTRING_ADDRECORD_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1900)
  280. #define PP_E_MD5_HASH_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1901)
  281. // Globalization errors
  282. #define PP_E_GLOBALIZATION_INVALID_COUNTRY_ID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A00)
  283. #define PP_E_GLOBALIZATION_INVALID_REGION_ID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A01)
  284. #define PP_E_GLOBALIZATION_INVALID_POSTAL_ID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A02)
  285. #define PP_E_GLOBALIZATION_INVALID_GEO_ID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A03)
  286. #define PP_E_GLOBALIZATION_INVALID_TIMEZONE_ID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A04)
  287. #define PP_E_GLOBALIZATION_INVALID_REGION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A05)
  288. #define PP_E_GLOBALIZATION_INVALID_TIMEZONE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A06)
  289. #define PP_E_GLOBALIZATION_INVALID_INDEX MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A07)
  290. #define PP_E_GLOBALIZATION_INVALID_DATA MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A08)
  291. #define PP_E_GLOBALIZATION_INVALID_DATA_TYPE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A09)
  292. #define PP_E_GLOBALIZATION_OBJ_IS_NULL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A0A)
  293. #define PP_E_GLOBALIZATION_PTR_IS_NULL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A0B)
  294. #define PP_E_GLOBALIZATION_STREAM_IS_NULL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A0C)
  295. #define PP_E_GLOBALIZATION_BSTR_EXPECTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A0D)
  296. #define PP_E_GLOBALIZATION_SEMICOLON_NOT_FOUND MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A0E)
  297. #define PP_E_GLOBALIZATION_COMMA_NOT_FOUND MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A0F)
  298. #define PP_E_GLOBALIZATION_ALREADY_LOADED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A10)
  299. #define PP_E_GLOBALIZATION_LCIDINFO_NOT_LOADED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A11)
  300. #define PP_E_GLOBALIZATION_LCIDINFO_NOT_PREPARED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A12)
  301. #define PP_E_GLOBALIZATION_REGION_LOAD_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A13)
  302. #define PP_E_GLOBALIZATION_TIMEZONE_LOAD_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A14)
  303. #define PP_E_GLOBALIZATION_LOOKUP_OBJ_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A15)
  304. #define PP_E_GLOBALIZATION_LOADVALUES_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A16)
  305. #define PP_E_GLOBALIZATION_GETLOCALINFO_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A17)
  306. #define PP_E_GLOBALIZATION_STRING_RETURNED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A18)
  307. #define PP_E_GLOBALIZATION_W2A_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A19)
  308. #define PP_E_GLOBALIZATION_A2W_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A1A)
  309. #define PP_E_GLOBALIZATION_INSTREAM_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A1B)
  310. #define PP_E_GLOBALIZATION_GET_LCIDINFODIR_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A1C)
  311. #define PP_E_GLOBALIZATION_STRING_TOO_LONG MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A1D)
  312. #define PP_E_GLOBALIZATION_IDTABLE_NOT_INIT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1A1E)
  313. // DelegatedAdmin Errors
  314. #define PP_E_DELEGADMIN_INVALID_ADMIN_ELE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B00)
  315. #define PP_E_DELEGADMIN_INVALID_ADMIN_TICKET MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B01)
  316. #define PP_E_DELEGADMIN_DOMAIN_ALREADY_MANAGED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B02)
  317. #define PP_E_DELEGADMIN_DOMAIN_NOT_MANAGED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B03)
  318. #define PP_E_DELEGADMIN_DOMAIN_NOT_PARTNERS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B04)
  319. #define PP_E_DELEGADMIN_INVALID_NS_ADMIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B05)
  320. #define PP_E_DELEGADMIN_INVALID_PARTNER_ADMIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B06)
  321. #define PP_E_DELEGADMIN_ERROR_LOADING_XMLRQ MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B07)
  322. #define PP_E_DELEGADMIN_INVALID_AUTH_ELE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B08)
  323. #define PP_E_DELEGADMIN_INVALID_DOMAIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B09)
  324. #define PP_E_DELEGADMIN_INVALID_ACTION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B0a)
  325. #define PP_E_DELEGADMIN_INVALID_CLIENTVERSION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B0b)
  326. #define PP_E_DELEGADMIN_NOTALLOWED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B0c)
  327. #define PP_E_DELEGADMIN_INVALID_USER MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B0d)
  328. #define PP_E_DELEGADMIN_INVALID_USER_ELE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B0e)
  329. #define PP_E_DELEGADMIN_INVALID_PARAM MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B0f)
  330. #define PP_E_DELEGADMIN_NOT_NAMESPACE_PARTNER MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B10)
  331. #define PP_E_DELEGADMIN_INVALID_SITEID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B11)
  332. #define PP_E_DELEGADMIN_TICKET_EXPIRED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B12)
  333. #define PP_E_DELEGADMIN_ROLLBACK_ERROR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B13)
  334. #define PP_E_DELEGADMIN_INVALID_ENUM_TYPE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B14)
  335. #define PP_E_DELEGADMIN_ALREADY_AN_ADMIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B15)
  336. #define PP_E_DELEGADMIN_LAST_ADMIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B16)
  337. #define PP_E_DELEGADMIN_INVALID_ADMIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1B17)
  338. // Update Server Errors
  339. #define PP_E_UPDATE_UPDATES_NOT_ALLOWED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1C00)
  340. // Profile Server Errors
  341. #define PP_E_PROFILE_REG_LOGIN_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1D00)
  342. #define PP_E_EMAILRESPONSE_INTERNALERROR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1D01) // unexpected error (status should be of VT_INT) return from EmailResponse object
  343. #define PP_E_EMAIL_NOT_FOUND MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1D02)
  344. #define PP_E_LCID_NOT_FOUND MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1D03)
  345. #define PP_E_EMAILRESPONSE_CHECKSECRET MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1D04)
  346. #define PP_E_MEMBERNAME_NOT_FOUND MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1D05)
  347. #define PP_E_PREEMAIL_NOT_FOUND MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1D06)
  348. #define PP_E_EMAILRESPONSE_ERROR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1D07)
  349. #define PP_E_EMAIL_ALREADY_PROCESSED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1D08)
  350. // PST Support Object Errors
  351. #define PP_E_PSTUTIL_INVALID_EMAIL_STATUS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1E00)
  352. #define PP_E_PSTUTIL_INVALID_ADMIN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1E01)
  353. #define PP_E_PSTUTIL_INVALID_CRED_TYPE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1E02)
  354. #define PP_E_PSTUTIL_NOPASSPORTSERVEROBJ MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1E03)
  355. #define PP_E_PSTUTIL_CANT_UPDATE_INACTIVE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1E04)
  356. #define PP_E_PSTUTIL_INVALID_REPORT_TYPE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1E05)
  357. #define PP_E_PSTUTIL_OUT_OF_MEMORY MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1E06)
  358. #define PP_E_PSTUTIL_INTERNALERROR_NOCRED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1E07)
  359. #define PP_E_PSTUTIL_DICTIONARY_ERROR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1E08)
  360. // msppext Errors
  361. #define PP_E_MSPPEXT_GETEXTVERSION_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1F00)
  362. #define PP_E_MSPPEXT_GETENV_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1F01)
  363. #define PP_E_MSPPEXT_SET_EVENT_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1F02)
  364. #define PP_E_MSPPEXT_INIT_UPDATEMGR_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1F03)
  365. #define PP_E_MSPPEXT_INIT_EVENT_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1F04)
  366. #define PP_E_MSPPEXT_CREATE_THREAD_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1F05)
  367. #define PP_E_MSPPEXT_WAIT_EVENT_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1F06)
  368. #define PP_E_MSPPEXT_SERVICEMGR_NOT_INIT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1F07)
  369. #define PP_E_MSPPEXT_SERVICE_NOT_LOADED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1F08)
  370. #define PP_E_MSPPEXT_REQUEST_TIMEOUT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1F09)
  371. #define PP_E_MSPPEXT_COM_SWAP_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1F0A)
  372. // ProfileInfoCom Errors
  373. #define PP_E_PROFILEINFOCOM_COULDNOTEVENTCSITE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x2000)
  374. // map db error to application error defined above
  375. HRESULT DBError(HRESULT hr);
  376. // EOF