WinEr.c 135 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055
  1. /* vim: set expandtab ts=4 sw=4: */
  2. /*
  3. * You may redistribute this program and/or modify it under the terms of
  4. * the GNU General Public License as published by the Free Software Foundation,
  5. * either version 3 of the License, or (at your option) any later version.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. *
  12. * You should have received a copy of the GNU General Public License
  13. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  14. */
  15. #include "exception/WinEr.h"
  16. #include <windows.h>
  17. #include <ntstatus.h>
  18. char* WinEr_strerror(long status)
  19. {
  20. switch (status) {
  21. case ERROR_SUCCESS:
  22. return "ERROR_SUCCESS";
  23. case ERROR_INVALID_FUNCTION:
  24. return "ERROR_INVALID_FUNCTION";
  25. case ERROR_FILE_NOT_FOUND:
  26. return "ERROR_FILE_NOT_FOUND";
  27. case ERROR_PATH_NOT_FOUND:
  28. return "ERROR_PATH_NOT_FOUND";
  29. case ERROR_TOO_MANY_OPEN_FILES:
  30. return "ERROR_TOO_MANY_OPEN_FILES";
  31. case ERROR_ACCESS_DENIED:
  32. return "ERROR_ACCESS_DENIED";
  33. case ERROR_INVALID_HANDLE:
  34. return "ERROR_INVALID_HANDLE";
  35. case ERROR_ARENA_TRASHED:
  36. return "ERROR_ARENA_TRASHED";
  37. case ERROR_NOT_ENOUGH_MEMORY:
  38. return "ERROR_NOT_ENOUGH_MEMORY";
  39. case ERROR_INVALID_BLOCK:
  40. return "ERROR_INVALID_BLOCK";
  41. case ERROR_BAD_ENVIRONMENT:
  42. return "ERROR_BAD_ENVIRONMENT";
  43. case ERROR_BAD_FORMAT:
  44. return "ERROR_BAD_FORMAT";
  45. case ERROR_INVALID_ACCESS:
  46. return "ERROR_INVALID_ACCESS";
  47. case ERROR_INVALID_DATA:
  48. return "ERROR_INVALID_DATA";
  49. case ERROR_OUTOFMEMORY:
  50. return "ERROR_OUTOFMEMORY";
  51. case ERROR_INVALID_DRIVE:
  52. return "ERROR_INVALID_DRIVE";
  53. case ERROR_CURRENT_DIRECTORY:
  54. return "ERROR_CURRENT_DIRECTORY";
  55. case ERROR_NOT_SAME_DEVICE:
  56. return "ERROR_NOT_SAME_DEVICE";
  57. case ERROR_NO_MORE_FILES:
  58. return "ERROR_NO_MORE_FILES";
  59. case ERROR_WRITE_PROTECT:
  60. return "ERROR_WRITE_PROTECT";
  61. case ERROR_BAD_UNIT:
  62. return "ERROR_BAD_UNIT";
  63. case ERROR_NOT_READY:
  64. return "ERROR_NOT_READY";
  65. case ERROR_BAD_COMMAND:
  66. return "ERROR_BAD_COMMAND";
  67. case ERROR_CRC:
  68. return "ERROR_CRC";
  69. case ERROR_BAD_LENGTH:
  70. return "ERROR_BAD_LENGTH";
  71. case ERROR_SEEK:
  72. return "ERROR_SEEK";
  73. case ERROR_NOT_DOS_DISK:
  74. return "ERROR_NOT_DOS_DISK";
  75. case ERROR_SECTOR_NOT_FOUND:
  76. return "ERROR_SECTOR_NOT_FOUND";
  77. case ERROR_OUT_OF_PAPER:
  78. return "ERROR_OUT_OF_PAPER";
  79. case ERROR_WRITE_FAULT:
  80. return "ERROR_WRITE_FAULT";
  81. case ERROR_READ_FAULT:
  82. return "ERROR_READ_FAULT";
  83. case ERROR_GEN_FAILURE:
  84. return "ERROR_GEN_FAILURE";
  85. case ERROR_SHARING_VIOLATION:
  86. return "ERROR_SHARING_VIOLATION";
  87. case ERROR_LOCK_VIOLATION:
  88. return "ERROR_LOCK_VIOLATION";
  89. case ERROR_WRONG_DISK:
  90. return "ERROR_WRONG_DISK";
  91. case ERROR_SHARING_BUFFER_EXCEEDED:
  92. return "ERROR_SHARING_BUFFER_EXCEEDED";
  93. case ERROR_HANDLE_EOF:
  94. return "ERROR_HANDLE_EOF";
  95. case ERROR_HANDLE_DISK_FULL:
  96. return "ERROR_HANDLE_DISK_FULL";
  97. case ERROR_NOT_SUPPORTED:
  98. return "ERROR_NOT_SUPPORTED";
  99. case ERROR_REM_NOT_LIST:
  100. return "ERROR_REM_NOT_LIST";
  101. case ERROR_DUP_NAME:
  102. return "ERROR_DUP_NAME";
  103. case ERROR_BAD_NETPATH:
  104. return "ERROR_BAD_NETPATH";
  105. case ERROR_NETWORK_BUSY:
  106. return "ERROR_NETWORK_BUSY";
  107. case ERROR_DEV_NOT_EXIST:
  108. return "ERROR_DEV_NOT_EXIST";
  109. case ERROR_TOO_MANY_CMDS:
  110. return "ERROR_TOO_MANY_CMDS";
  111. case ERROR_ADAP_HDW_ERR:
  112. return "ERROR_ADAP_HDW_ERR";
  113. case ERROR_BAD_NET_RESP:
  114. return "ERROR_BAD_NET_RESP";
  115. case ERROR_UNEXP_NET_ERR:
  116. return "ERROR_UNEXP_NET_ERR";
  117. case ERROR_BAD_REM_ADAP:
  118. return "ERROR_BAD_REM_ADAP";
  119. case ERROR_PRINTQ_FULL:
  120. return "ERROR_PRINTQ_FULL";
  121. case ERROR_NO_SPOOL_SPACE:
  122. return "ERROR_NO_SPOOL_SPACE";
  123. case ERROR_PRINT_CANCELLED:
  124. return "ERROR_PRINT_CANCELLED";
  125. case ERROR_NETNAME_DELETED:
  126. return "ERROR_NETNAME_DELETED";
  127. case ERROR_NETWORK_ACCESS_DENIED:
  128. return "ERROR_NETWORK_ACCESS_DENIED";
  129. case ERROR_BAD_DEV_TYPE:
  130. return "ERROR_BAD_DEV_TYPE";
  131. case ERROR_BAD_NET_NAME:
  132. return "ERROR_BAD_NET_NAME";
  133. case ERROR_TOO_MANY_NAMES:
  134. return "ERROR_TOO_MANY_NAMES";
  135. case ERROR_TOO_MANY_SESS:
  136. return "ERROR_TOO_MANY_SESS";
  137. case ERROR_SHARING_PAUSED:
  138. return "ERROR_SHARING_PAUSED";
  139. case ERROR_REQ_NOT_ACCEP:
  140. return "ERROR_REQ_NOT_ACCEP";
  141. case ERROR_REDIR_PAUSED:
  142. return "ERROR_REDIR_PAUSED";
  143. case ERROR_FILE_EXISTS:
  144. return "ERROR_FILE_EXISTS";
  145. case ERROR_CANNOT_MAKE:
  146. return "ERROR_CANNOT_MAKE";
  147. case ERROR_FAIL_I24:
  148. return "ERROR_FAIL_I24";
  149. case ERROR_OUT_OF_STRUCTURES:
  150. return "ERROR_OUT_OF_STRUCTURES";
  151. case ERROR_ALREADY_ASSIGNED:
  152. return "ERROR_ALREADY_ASSIGNED";
  153. case ERROR_INVALID_PASSWORD:
  154. return "ERROR_INVALID_PASSWORD";
  155. case ERROR_INVALID_PARAMETER:
  156. return "ERROR_INVALID_PARAMETER";
  157. case ERROR_NET_WRITE_FAULT:
  158. return "ERROR_NET_WRITE_FAULT";
  159. case ERROR_NO_PROC_SLOTS:
  160. return "ERROR_NO_PROC_SLOTS";
  161. case ERROR_TOO_MANY_SEMAPHORES:
  162. return "ERROR_TOO_MANY_SEMAPHORES";
  163. case ERROR_EXCL_SEM_ALREADY_OWNED:
  164. return "ERROR_EXCL_SEM_ALREADY_OWNED";
  165. case ERROR_SEM_IS_SET:
  166. return "ERROR_SEM_IS_SET";
  167. case ERROR_TOO_MANY_SEM_REQUESTS:
  168. return "ERROR_TOO_MANY_SEM_REQUESTS";
  169. case ERROR_INVALID_AT_INTERRUPT_TIME:
  170. return "ERROR_INVALID_AT_INTERRUPT_TIME";
  171. case ERROR_SEM_OWNER_DIED:
  172. return "ERROR_SEM_OWNER_DIED";
  173. case ERROR_SEM_USER_LIMIT:
  174. return "ERROR_SEM_USER_LIMIT";
  175. case ERROR_DISK_CHANGE:
  176. return "ERROR_DISK_CHANGE";
  177. case ERROR_DRIVE_LOCKED:
  178. return "ERROR_DRIVE_LOCKED";
  179. case ERROR_BROKEN_PIPE:
  180. return "ERROR_BROKEN_PIPE";
  181. case ERROR_OPEN_FAILED:
  182. return "ERROR_OPEN_FAILED";
  183. case ERROR_BUFFER_OVERFLOW:
  184. return "ERROR_BUFFER_OVERFLOW";
  185. case ERROR_DISK_FULL:
  186. return "ERROR_DISK_FULL";
  187. case ERROR_NO_MORE_SEARCH_HANDLES:
  188. return "ERROR_NO_MORE_SEARCH_HANDLES";
  189. case ERROR_INVALID_TARGET_HANDLE:
  190. return "ERROR_INVALID_TARGET_HANDLE";
  191. case ERROR_INVALID_CATEGORY:
  192. return "ERROR_INVALID_CATEGORY";
  193. case ERROR_INVALID_VERIFY_SWITCH:
  194. return "ERROR_INVALID_VERIFY_SWITCH";
  195. case ERROR_BAD_DRIVER_LEVEL:
  196. return "ERROR_BAD_DRIVER_LEVEL";
  197. case ERROR_CALL_NOT_IMPLEMENTED:
  198. return "ERROR_CALL_NOT_IMPLEMENTED";
  199. case ERROR_SEM_TIMEOUT:
  200. return "ERROR_SEM_TIMEOUT";
  201. case ERROR_INSUFFICIENT_BUFFER:
  202. return "ERROR_INSUFFICIENT_BUFFER";
  203. case ERROR_INVALID_NAME:
  204. return "ERROR_INVALID_NAME";
  205. case ERROR_INVALID_LEVEL:
  206. return "ERROR_INVALID_LEVEL";
  207. case ERROR_NO_VOLUME_LABEL:
  208. return "ERROR_NO_VOLUME_LABEL";
  209. case ERROR_MOD_NOT_FOUND:
  210. return "ERROR_MOD_NOT_FOUND";
  211. case ERROR_PROC_NOT_FOUND:
  212. return "ERROR_PROC_NOT_FOUND";
  213. case ERROR_WAIT_NO_CHILDREN:
  214. return "ERROR_WAIT_NO_CHILDREN";
  215. case ERROR_CHILD_NOT_COMPLETE:
  216. return "ERROR_CHILD_NOT_COMPLETE";
  217. case ERROR_DIRECT_ACCESS_HANDLE:
  218. return "ERROR_DIRECT_ACCESS_HANDLE";
  219. case ERROR_NEGATIVE_SEEK:
  220. return "ERROR_NEGATIVE_SEEK";
  221. case ERROR_SEEK_ON_DEVICE:
  222. return "ERROR_SEEK_ON_DEVICE";
  223. case ERROR_IS_JOIN_TARGET:
  224. return "ERROR_IS_JOIN_TARGET";
  225. case ERROR_IS_JOINED:
  226. return "ERROR_IS_JOINED";
  227. case ERROR_IS_SUBSTED:
  228. return "ERROR_IS_SUBSTED";
  229. case ERROR_NOT_JOINED:
  230. return "ERROR_NOT_JOINED";
  231. case ERROR_NOT_SUBSTED:
  232. return "ERROR_NOT_SUBSTED";
  233. case ERROR_JOIN_TO_JOIN:
  234. return "ERROR_JOIN_TO_JOIN";
  235. case ERROR_SUBST_TO_SUBST:
  236. return "ERROR_SUBST_TO_SUBST";
  237. case ERROR_JOIN_TO_SUBST:
  238. return "ERROR_JOIN_TO_SUBST";
  239. case ERROR_SUBST_TO_JOIN:
  240. return "ERROR_SUBST_TO_JOIN";
  241. case ERROR_BUSY_DRIVE:
  242. return "ERROR_BUSY_DRIVE";
  243. case ERROR_SAME_DRIVE:
  244. return "ERROR_SAME_DRIVE";
  245. case ERROR_DIR_NOT_ROOT:
  246. return "ERROR_DIR_NOT_ROOT";
  247. case ERROR_DIR_NOT_EMPTY:
  248. return "ERROR_DIR_NOT_EMPTY";
  249. case ERROR_IS_SUBST_PATH:
  250. return "ERROR_IS_SUBST_PATH";
  251. case ERROR_IS_JOIN_PATH:
  252. return "ERROR_IS_JOIN_PATH";
  253. case ERROR_PATH_BUSY:
  254. return "ERROR_PATH_BUSY";
  255. case ERROR_IS_SUBST_TARGET:
  256. return "ERROR_IS_SUBST_TARGET";
  257. case ERROR_SYSTEM_TRACE:
  258. return "ERROR_SYSTEM_TRACE";
  259. case ERROR_INVALID_EVENT_COUNT:
  260. return "ERROR_INVALID_EVENT_COUNT";
  261. case ERROR_TOO_MANY_MUXWAITERS:
  262. return "ERROR_TOO_MANY_MUXWAITERS";
  263. case ERROR_INVALID_LIST_FORMAT:
  264. return "ERROR_INVALID_LIST_FORMAT";
  265. case ERROR_LABEL_TOO_LONG:
  266. return "ERROR_LABEL_TOO_LONG";
  267. case ERROR_TOO_MANY_TCBS:
  268. return "ERROR_TOO_MANY_TCBS";
  269. case ERROR_SIGNAL_REFUSED:
  270. return "ERROR_SIGNAL_REFUSED";
  271. case ERROR_DISCARDED:
  272. return "ERROR_DISCARDED";
  273. case ERROR_NOT_LOCKED:
  274. return "ERROR_NOT_LOCKED";
  275. case ERROR_BAD_THREADID_ADDR:
  276. return "ERROR_BAD_THREADID_ADDR";
  277. case ERROR_BAD_ARGUMENTS:
  278. return "ERROR_BAD_ARGUMENTS";
  279. case ERROR_BAD_PATHNAME:
  280. return "ERROR_BAD_PATHNAME";
  281. case ERROR_SIGNAL_PENDING:
  282. return "ERROR_SIGNAL_PENDING";
  283. case ERROR_MAX_THRDS_REACHED:
  284. return "ERROR_MAX_THRDS_REACHED";
  285. case ERROR_LOCK_FAILED:
  286. return "ERROR_LOCK_FAILED";
  287. case ERROR_BUSY:
  288. return "ERROR_BUSY";
  289. case ERROR_CANCEL_VIOLATION:
  290. return "ERROR_CANCEL_VIOLATION";
  291. case ERROR_ATOMIC_LOCKS_NOT_SUPPORTED:
  292. return "ERROR_ATOMIC_LOCKS_NOT_SUPPORTED";
  293. case ERROR_INVALID_SEGMENT_NUMBER:
  294. return "ERROR_INVALID_SEGMENT_NUMBER";
  295. case ERROR_INVALID_ORDINAL:
  296. return "ERROR_INVALID_ORDINAL";
  297. case ERROR_ALREADY_EXISTS:
  298. return "ERROR_ALREADY_EXISTS";
  299. case ERROR_INVALID_FLAG_NUMBER:
  300. return "ERROR_INVALID_FLAG_NUMBER";
  301. case ERROR_SEM_NOT_FOUND:
  302. return "ERROR_SEM_NOT_FOUND";
  303. case ERROR_INVALID_STARTING_CODESEG:
  304. return "ERROR_INVALID_STARTING_CODESEG";
  305. case ERROR_INVALID_STACKSEG:
  306. return "ERROR_INVALID_STACKSEG";
  307. case ERROR_INVALID_MODULETYPE:
  308. return "ERROR_INVALID_MODULETYPE";
  309. case ERROR_INVALID_EXE_SIGNATURE:
  310. return "ERROR_INVALID_EXE_SIGNATURE";
  311. case ERROR_EXE_MARKED_INVALID:
  312. return "ERROR_EXE_MARKED_INVALID";
  313. case ERROR_BAD_EXE_FORMAT:
  314. return "ERROR_BAD_EXE_FORMAT";
  315. case ERROR_ITERATED_DATA_EXCEEDS_64k:
  316. return "ERROR_ITERATED_DATA_EXCEEDS_64k";
  317. case ERROR_INVALID_MINALLOCSIZE:
  318. return "ERROR_INVALID_MINALLOCSIZE";
  319. case ERROR_DYNLINK_FROM_INVALID_RING:
  320. return "ERROR_DYNLINK_FROM_INVALID_RING";
  321. case ERROR_IOPL_NOT_ENABLED:
  322. return "ERROR_IOPL_NOT_ENABLED";
  323. case ERROR_INVALID_SEGDPL:
  324. return "ERROR_INVALID_SEGDPL";
  325. case ERROR_AUTODATASEG_EXCEEDS_64k:
  326. return "ERROR_AUTODATASEG_EXCEEDS_64k";
  327. case ERROR_RING2SEG_MUST_BE_MOVABLE:
  328. return "ERROR_RING2SEG_MUST_BE_MOVABLE";
  329. case ERROR_RELOC_CHAIN_XEEDS_SEGLIM:
  330. return "ERROR_RELOC_CHAIN_XEEDS_SEGLIM";
  331. case ERROR_INFLOOP_IN_RELOC_CHAIN:
  332. return "ERROR_INFLOOP_IN_RELOC_CHAIN";
  333. case ERROR_ENVVAR_NOT_FOUND:
  334. return "ERROR_ENVVAR_NOT_FOUND";
  335. case ERROR_NO_SIGNAL_SENT:
  336. return "ERROR_NO_SIGNAL_SENT";
  337. case ERROR_FILENAME_EXCED_RANGE:
  338. return "ERROR_FILENAME_EXCED_RANGE";
  339. case ERROR_RING2_STACK_IN_USE:
  340. return "ERROR_RING2_STACK_IN_USE";
  341. case ERROR_META_EXPANSION_TOO_LONG:
  342. return "ERROR_META_EXPANSION_TOO_LONG";
  343. case ERROR_INVALID_SIGNAL_NUMBER:
  344. return "ERROR_INVALID_SIGNAL_NUMBER";
  345. case ERROR_THREAD_1_INACTIVE:
  346. return "ERROR_THREAD_1_INACTIVE";
  347. case ERROR_LOCKED:
  348. return "ERROR_LOCKED";
  349. case ERROR_TOO_MANY_MODULES:
  350. return "ERROR_TOO_MANY_MODULES";
  351. case ERROR_NESTING_NOT_ALLOWED:
  352. return "ERROR_NESTING_NOT_ALLOWED";
  353. case ERROR_EXE_MACHINE_TYPE_MISMATCH:
  354. return "ERROR_EXE_MACHINE_TYPE_MISMATCH";
  355. case ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY:
  356. return "ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY";
  357. case ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY:
  358. return "ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY";
  359. case ERROR_BAD_PIPE:
  360. return "ERROR_BAD_PIPE";
  361. case ERROR_PIPE_BUSY:
  362. return "ERROR_PIPE_BUSY";
  363. case ERROR_NO_DATA:
  364. return "ERROR_NO_DATA";
  365. case ERROR_PIPE_NOT_CONNECTED:
  366. return "ERROR_PIPE_NOT_CONNECTED";
  367. case ERROR_MORE_DATA:
  368. return "ERROR_MORE_DATA";
  369. case ERROR_VC_DISCONNECTED:
  370. return "ERROR_VC_DISCONNECTED";
  371. case ERROR_INVALID_EA_NAME:
  372. return "ERROR_INVALID_EA_NAME";
  373. case ERROR_EA_LIST_INCONSISTENT:
  374. return "ERROR_EA_LIST_INCONSISTENT";
  375. case ERROR_NO_MORE_ITEMS:
  376. return "ERROR_NO_MORE_ITEMS";
  377. case ERROR_CANNOT_COPY:
  378. return "ERROR_CANNOT_COPY";
  379. case ERROR_DIRECTORY:
  380. return "ERROR_DIRECTORY";
  381. case ERROR_EAS_DIDNT_FIT:
  382. return "ERROR_EAS_DIDNT_FIT";
  383. case ERROR_EA_FILE_CORRUPT:
  384. return "ERROR_EA_FILE_CORRUPT";
  385. case ERROR_EA_TABLE_FULL:
  386. return "ERROR_EA_TABLE_FULL";
  387. case ERROR_INVALID_EA_HANDLE:
  388. return "ERROR_INVALID_EA_HANDLE";
  389. case ERROR_EAS_NOT_SUPPORTED:
  390. return "ERROR_EAS_NOT_SUPPORTED";
  391. case ERROR_NOT_OWNER:
  392. return "ERROR_NOT_OWNER";
  393. case ERROR_TOO_MANY_POSTS:
  394. return "ERROR_TOO_MANY_POSTS";
  395. case ERROR_PARTIAL_COPY:
  396. return "ERROR_PARTIAL_COPY";
  397. case ERROR_OPLOCK_NOT_GRANTED:
  398. return "ERROR_OPLOCK_NOT_GRANTED";
  399. case ERROR_INVALID_OPLOCK_PROTOCOL:
  400. return "ERROR_INVALID_OPLOCK_PROTOCOL";
  401. case ERROR_DISK_TOO_FRAGMENTED:
  402. return "ERROR_DISK_TOO_FRAGMENTED";
  403. case ERROR_DELETE_PENDING:
  404. return "ERROR_DELETE_PENDING";
  405. case ERROR_MR_MID_NOT_FOUND:
  406. return "ERROR_MR_MID_NOT_FOUND";
  407. case ERROR_SCOPE_NOT_FOUND:
  408. return "ERROR_SCOPE_NOT_FOUND";
  409. case ERROR_INVALID_ADDRESS:
  410. return "ERROR_INVALID_ADDRESS";
  411. case ERROR_ARITHMETIC_OVERFLOW:
  412. return "ERROR_ARITHMETIC_OVERFLOW";
  413. case ERROR_PIPE_CONNECTED:
  414. return "ERROR_PIPE_CONNECTED";
  415. case ERROR_PIPE_LISTENING:
  416. return "ERROR_PIPE_LISTENING";
  417. case ERROR_EA_ACCESS_DENIED:
  418. return "ERROR_EA_ACCESS_DENIED";
  419. case ERROR_OPERATION_ABORTED:
  420. return "ERROR_OPERATION_ABORTED";
  421. case ERROR_IO_INCOMPLETE:
  422. return "ERROR_IO_INCOMPLETE";
  423. case ERROR_IO_PENDING:
  424. return "ERROR_IO_PENDING";
  425. case ERROR_NOACCESS:
  426. return "ERROR_NOACCESS";
  427. case ERROR_SWAPERROR:
  428. return "ERROR_SWAPERROR";
  429. case ERROR_STACK_OVERFLOW:
  430. return "ERROR_STACK_OVERFLOW";
  431. case ERROR_INVALID_MESSAGE:
  432. return "ERROR_INVALID_MESSAGE";
  433. case ERROR_CAN_NOT_COMPLETE:
  434. return "ERROR_CAN_NOT_COMPLETE";
  435. case ERROR_INVALID_FLAGS:
  436. return "ERROR_INVALID_FLAGS";
  437. case ERROR_UNRECOGNIZED_VOLUME:
  438. return "ERROR_UNRECOGNIZED_VOLUME";
  439. case ERROR_FILE_INVALID:
  440. return "ERROR_FILE_INVALID";
  441. case ERROR_FULLSCREEN_MODE:
  442. return "ERROR_FULLSCREEN_MODE";
  443. case ERROR_NO_TOKEN:
  444. return "ERROR_NO_TOKEN";
  445. case ERROR_BADDB:
  446. return "ERROR_BADDB";
  447. case ERROR_BADKEY:
  448. return "ERROR_BADKEY";
  449. case ERROR_CANTOPEN:
  450. return "ERROR_CANTOPEN";
  451. case ERROR_CANTREAD:
  452. return "ERROR_CANTREAD";
  453. case ERROR_CANTWRITE:
  454. return "ERROR_CANTWRITE";
  455. case ERROR_REGISTRY_RECOVERED:
  456. return "ERROR_REGISTRY_RECOVERED";
  457. case ERROR_REGISTRY_CORRUPT:
  458. return "ERROR_REGISTRY_CORRUPT";
  459. case ERROR_REGISTRY_IO_FAILED:
  460. return "ERROR_REGISTRY_IO_FAILED";
  461. case ERROR_NOT_REGISTRY_FILE:
  462. return "ERROR_NOT_REGISTRY_FILE";
  463. case ERROR_KEY_DELETED:
  464. return "ERROR_KEY_DELETED";
  465. case ERROR_NO_LOG_SPACE:
  466. return "ERROR_NO_LOG_SPACE";
  467. case ERROR_KEY_HAS_CHILDREN:
  468. return "ERROR_KEY_HAS_CHILDREN";
  469. case ERROR_CHILD_MUST_BE_VOLATILE:
  470. return "ERROR_CHILD_MUST_BE_VOLATILE";
  471. case ERROR_NOTIFY_ENUM_DIR:
  472. return "ERROR_NOTIFY_ENUM_DIR";
  473. case ERROR_DEPENDENT_SERVICES_RUNNING:
  474. return "ERROR_DEPENDENT_SERVICES_RUNNING";
  475. case ERROR_INVALID_SERVICE_CONTROL:
  476. return "ERROR_INVALID_SERVICE_CONTROL";
  477. case ERROR_SERVICE_REQUEST_TIMEOUT:
  478. return "ERROR_SERVICE_REQUEST_TIMEOUT";
  479. case ERROR_SERVICE_NO_THREAD:
  480. return "ERROR_SERVICE_NO_THREAD";
  481. case ERROR_SERVICE_DATABASE_LOCKED:
  482. return "ERROR_SERVICE_DATABASE_LOCKED";
  483. case ERROR_SERVICE_ALREADY_RUNNING:
  484. return "ERROR_SERVICE_ALREADY_RUNNING";
  485. case ERROR_INVALID_SERVICE_ACCOUNT:
  486. return "ERROR_INVALID_SERVICE_ACCOUNT";
  487. case ERROR_SERVICE_DISABLED:
  488. return "ERROR_SERVICE_DISABLED";
  489. case ERROR_CIRCULAR_DEPENDENCY:
  490. return "ERROR_CIRCULAR_DEPENDENCY";
  491. case ERROR_SERVICE_DOES_NOT_EXIST:
  492. return "ERROR_SERVICE_DOES_NOT_EXIST";
  493. case ERROR_SERVICE_CANNOT_ACCEPT_CTRL:
  494. return "ERROR_SERVICE_CANNOT_ACCEPT_CTRL";
  495. case ERROR_SERVICE_NOT_ACTIVE:
  496. return "ERROR_SERVICE_NOT_ACTIVE";
  497. case ERROR_FAILED_SERVICE_CONTROLLER_CONNECT:
  498. return "ERROR_FAILED_SERVICE_CONTROLLER_CONNECT";
  499. case ERROR_EXCEPTION_IN_SERVICE:
  500. return "ERROR_EXCEPTION_IN_SERVICE";
  501. case ERROR_DATABASE_DOES_NOT_EXIST:
  502. return "ERROR_DATABASE_DOES_NOT_EXIST";
  503. case ERROR_SERVICE_SPECIFIC_ERROR:
  504. return "ERROR_SERVICE_SPECIFIC_ERROR";
  505. case ERROR_PROCESS_ABORTED:
  506. return "ERROR_PROCESS_ABORTED";
  507. case ERROR_SERVICE_DEPENDENCY_FAIL:
  508. return "ERROR_SERVICE_DEPENDENCY_FAIL";
  509. case ERROR_SERVICE_LOGON_FAILED:
  510. return "ERROR_SERVICE_LOGON_FAILED";
  511. case ERROR_SERVICE_START_HANG:
  512. return "ERROR_SERVICE_START_HANG";
  513. case ERROR_INVALID_SERVICE_LOCK:
  514. return "ERROR_INVALID_SERVICE_LOCK";
  515. case ERROR_SERVICE_MARKED_FOR_DELETE:
  516. return "ERROR_SERVICE_MARKED_FOR_DELETE";
  517. case ERROR_SERVICE_EXISTS:
  518. return "ERROR_SERVICE_EXISTS";
  519. case ERROR_ALREADY_RUNNING_LKG:
  520. return "ERROR_ALREADY_RUNNING_LKG";
  521. case ERROR_SERVICE_DEPENDENCY_DELETED:
  522. return "ERROR_SERVICE_DEPENDENCY_DELETED";
  523. case ERROR_BOOT_ALREADY_ACCEPTED:
  524. return "ERROR_BOOT_ALREADY_ACCEPTED";
  525. case ERROR_SERVICE_NEVER_STARTED:
  526. return "ERROR_SERVICE_NEVER_STARTED";
  527. case ERROR_DUPLICATE_SERVICE_NAME:
  528. return "ERROR_DUPLICATE_SERVICE_NAME";
  529. case ERROR_DIFFERENT_SERVICE_ACCOUNT:
  530. return "ERROR_DIFFERENT_SERVICE_ACCOUNT";
  531. case ERROR_CANNOT_DETECT_DRIVER_FAILURE:
  532. return "ERROR_CANNOT_DETECT_DRIVER_FAILURE";
  533. case ERROR_CANNOT_DETECT_PROCESS_ABORT:
  534. return "ERROR_CANNOT_DETECT_PROCESS_ABORT";
  535. case ERROR_NO_RECOVERY_PROGRAM:
  536. return "ERROR_NO_RECOVERY_PROGRAM";
  537. case ERROR_SERVICE_NOT_IN_EXE:
  538. return "ERROR_SERVICE_NOT_IN_EXE";
  539. case ERROR_NOT_SAFEBOOT_SERVICE:
  540. return "ERROR_NOT_SAFEBOOT_SERVICE";
  541. case ERROR_END_OF_MEDIA:
  542. return "ERROR_END_OF_MEDIA";
  543. case ERROR_FILEMARK_DETECTED:
  544. return "ERROR_FILEMARK_DETECTED";
  545. case ERROR_BEGINNING_OF_MEDIA:
  546. return "ERROR_BEGINNING_OF_MEDIA";
  547. case ERROR_SETMARK_DETECTED:
  548. return "ERROR_SETMARK_DETECTED";
  549. case ERROR_NO_DATA_DETECTED:
  550. return "ERROR_NO_DATA_DETECTED";
  551. case ERROR_PARTITION_FAILURE:
  552. return "ERROR_PARTITION_FAILURE";
  553. case ERROR_INVALID_BLOCK_LENGTH:
  554. return "ERROR_INVALID_BLOCK_LENGTH";
  555. case ERROR_DEVICE_NOT_PARTITIONED:
  556. return "ERROR_DEVICE_NOT_PARTITIONED";
  557. case ERROR_UNABLE_TO_LOCK_MEDIA:
  558. return "ERROR_UNABLE_TO_LOCK_MEDIA";
  559. case ERROR_UNABLE_TO_UNLOAD_MEDIA:
  560. return "ERROR_UNABLE_TO_UNLOAD_MEDIA";
  561. case ERROR_MEDIA_CHANGED:
  562. return "ERROR_MEDIA_CHANGED";
  563. case ERROR_BUS_RESET:
  564. return "ERROR_BUS_RESET";
  565. case ERROR_NO_MEDIA_IN_DRIVE:
  566. return "ERROR_NO_MEDIA_IN_DRIVE";
  567. case ERROR_NO_UNICODE_TRANSLATION:
  568. return "ERROR_NO_UNICODE_TRANSLATION";
  569. case ERROR_DLL_INIT_FAILED:
  570. return "ERROR_DLL_INIT_FAILED";
  571. case ERROR_SHUTDOWN_IN_PROGRESS:
  572. return "ERROR_SHUTDOWN_IN_PROGRESS";
  573. case ERROR_NO_SHUTDOWN_IN_PROGRESS:
  574. return "ERROR_NO_SHUTDOWN_IN_PROGRESS";
  575. case ERROR_IO_DEVICE:
  576. return "ERROR_IO_DEVICE";
  577. case ERROR_SERIAL_NO_DEVICE:
  578. return "ERROR_SERIAL_NO_DEVICE";
  579. case ERROR_IRQ_BUSY:
  580. return "ERROR_IRQ_BUSY";
  581. case ERROR_MORE_WRITES:
  582. return "ERROR_MORE_WRITES";
  583. case ERROR_COUNTER_TIMEOUT:
  584. return "ERROR_COUNTER_TIMEOUT";
  585. case ERROR_FLOPPY_ID_MARK_NOT_FOUND:
  586. return "ERROR_FLOPPY_ID_MARK_NOT_FOUND";
  587. case ERROR_FLOPPY_WRONG_CYLINDER:
  588. return "ERROR_FLOPPY_WRONG_CYLINDER";
  589. case ERROR_FLOPPY_UNKNOWN_ERROR:
  590. return "ERROR_FLOPPY_UNKNOWN_ERROR";
  591. case ERROR_FLOPPY_BAD_REGISTERS:
  592. return "ERROR_FLOPPY_BAD_REGISTERS";
  593. case ERROR_DISK_RECALIBRATE_FAILED:
  594. return "ERROR_DISK_RECALIBRATE_FAILED";
  595. case ERROR_DISK_OPERATION_FAILED:
  596. return "ERROR_DISK_OPERATION_FAILED";
  597. case ERROR_DISK_RESET_FAILED:
  598. return "ERROR_DISK_RESET_FAILED";
  599. case ERROR_EOM_OVERFLOW:
  600. return "ERROR_EOM_OVERFLOW";
  601. case ERROR_NOT_ENOUGH_SERVER_MEMORY:
  602. return "ERROR_NOT_ENOUGH_SERVER_MEMORY";
  603. case ERROR_POSSIBLE_DEADLOCK:
  604. return "ERROR_POSSIBLE_DEADLOCK";
  605. case ERROR_MAPPED_ALIGNMENT:
  606. return "ERROR_MAPPED_ALIGNMENT";
  607. case ERROR_SET_POWER_STATE_VETOED:
  608. return "ERROR_SET_POWER_STATE_VETOED";
  609. case ERROR_SET_POWER_STATE_FAILED:
  610. return "ERROR_SET_POWER_STATE_FAILED";
  611. case ERROR_TOO_MANY_LINKS:
  612. return "ERROR_TOO_MANY_LINKS";
  613. case ERROR_OLD_WIN_VERSION:
  614. return "ERROR_OLD_WIN_VERSION";
  615. case ERROR_APP_WRONG_OS:
  616. return "ERROR_APP_WRONG_OS";
  617. case ERROR_SINGLE_INSTANCE_APP:
  618. return "ERROR_SINGLE_INSTANCE_APP";
  619. case ERROR_RMODE_APP:
  620. return "ERROR_RMODE_APP";
  621. case ERROR_INVALID_DLL:
  622. return "ERROR_INVALID_DLL";
  623. case ERROR_NO_ASSOCIATION:
  624. return "ERROR_NO_ASSOCIATION";
  625. case ERROR_DDE_FAIL:
  626. return "ERROR_DDE_FAIL";
  627. case ERROR_DLL_NOT_FOUND:
  628. return "ERROR_DLL_NOT_FOUND";
  629. case ERROR_NO_MORE_USER_HANDLES:
  630. return "ERROR_NO_MORE_USER_HANDLES";
  631. case ERROR_MESSAGE_SYNC_ONLY:
  632. return "ERROR_MESSAGE_SYNC_ONLY";
  633. case ERROR_SOURCE_ELEMENT_EMPTY:
  634. return "ERROR_SOURCE_ELEMENT_EMPTY";
  635. case ERROR_DESTINATION_ELEMENT_FULL:
  636. return "ERROR_DESTINATION_ELEMENT_FULL";
  637. case ERROR_ILLEGAL_ELEMENT_ADDRESS:
  638. return "ERROR_ILLEGAL_ELEMENT_ADDRESS";
  639. case ERROR_MAGAZINE_NOT_PRESENT:
  640. return "ERROR_MAGAZINE_NOT_PRESENT";
  641. case ERROR_DEVICE_REINITIALIZATION_NEEDED:
  642. return "ERROR_DEVICE_REINITIALIZATION_NEEDED";
  643. case ERROR_DEVICE_REQUIRES_CLEANING:
  644. return "ERROR_DEVICE_REQUIRES_CLEANING";
  645. case ERROR_DEVICE_DOOR_OPEN:
  646. return "ERROR_DEVICE_DOOR_OPEN";
  647. case ERROR_DEVICE_NOT_CONNECTED:
  648. return "ERROR_DEVICE_NOT_CONNECTED";
  649. case ERROR_NOT_FOUND:
  650. return "ERROR_NOT_FOUND";
  651. case ERROR_NO_MATCH:
  652. return "ERROR_NO_MATCH";
  653. case ERROR_SET_NOT_FOUND:
  654. return "ERROR_SET_NOT_FOUND";
  655. case ERROR_POINT_NOT_FOUND:
  656. return "ERROR_POINT_NOT_FOUND";
  657. case ERROR_NO_TRACKING_SERVICE:
  658. return "ERROR_NO_TRACKING_SERVICE";
  659. case ERROR_NO_VOLUME_ID:
  660. return "ERROR_NO_VOLUME_ID";
  661. case ERROR_UNABLE_TO_REMOVE_REPLACED:
  662. return "ERROR_UNABLE_TO_REMOVE_REPLACED";
  663. case ERROR_UNABLE_TO_MOVE_REPLACEMENT:
  664. return "ERROR_UNABLE_TO_MOVE_REPLACEMENT";
  665. case ERROR_UNABLE_TO_MOVE_REPLACEMENT_2:
  666. return "ERROR_UNABLE_TO_MOVE_REPLACEMENT_2";
  667. case ERROR_JOURNAL_DELETE_IN_PROGRESS:
  668. return "ERROR_JOURNAL_DELETE_IN_PROGRESS";
  669. case ERROR_JOURNAL_NOT_ACTIVE:
  670. return "ERROR_JOURNAL_NOT_ACTIVE";
  671. case ERROR_POTENTIAL_FILE_FOUND:
  672. return "ERROR_POTENTIAL_FILE_FOUND";
  673. case ERROR_JOURNAL_ENTRY_DELETED:
  674. return "ERROR_JOURNAL_ENTRY_DELETED";
  675. case ERROR_BAD_DEVICE:
  676. return "ERROR_BAD_DEVICE";
  677. case ERROR_CONNECTION_UNAVAIL:
  678. return "ERROR_CONNECTION_UNAVAIL";
  679. case ERROR_DEVICE_ALREADY_REMEMBERED:
  680. return "ERROR_DEVICE_ALREADY_REMEMBERED";
  681. case ERROR_NO_NET_OR_BAD_PATH:
  682. return "ERROR_NO_NET_OR_BAD_PATH";
  683. case ERROR_BAD_PROVIDER:
  684. return "ERROR_BAD_PROVIDER";
  685. case ERROR_CANNOT_OPEN_PROFILE:
  686. return "ERROR_CANNOT_OPEN_PROFILE";
  687. case ERROR_BAD_PROFILE:
  688. return "ERROR_BAD_PROFILE";
  689. case ERROR_NOT_CONTAINER:
  690. return "ERROR_NOT_CONTAINER";
  691. case ERROR_EXTENDED_ERROR:
  692. return "ERROR_EXTENDED_ERROR";
  693. case ERROR_INVALID_GROUPNAME:
  694. return "ERROR_INVALID_GROUPNAME";
  695. case ERROR_INVALID_COMPUTERNAME:
  696. return "ERROR_INVALID_COMPUTERNAME";
  697. case ERROR_INVALID_EVENTNAME:
  698. return "ERROR_INVALID_EVENTNAME";
  699. case ERROR_INVALID_DOMAINNAME:
  700. return "ERROR_INVALID_DOMAINNAME";
  701. case ERROR_INVALID_SERVICENAME:
  702. return "ERROR_INVALID_SERVICENAME";
  703. case ERROR_INVALID_NETNAME:
  704. return "ERROR_INVALID_NETNAME";
  705. case ERROR_INVALID_SHARENAME:
  706. return "ERROR_INVALID_SHARENAME";
  707. case ERROR_INVALID_PASSWORDNAME:
  708. return "ERROR_INVALID_PASSWORDNAME";
  709. case ERROR_INVALID_MESSAGENAME:
  710. return "ERROR_INVALID_MESSAGENAME";
  711. case ERROR_INVALID_MESSAGEDEST:
  712. return "ERROR_INVALID_MESSAGEDEST";
  713. case ERROR_SESSION_CREDENTIAL_CONFLICT:
  714. return "ERROR_SESSION_CREDENTIAL_CONFLICT";
  715. case ERROR_REMOTE_SESSION_LIMIT_EXCEEDED:
  716. return "ERROR_REMOTE_SESSION_LIMIT_EXCEEDED";
  717. case ERROR_DUP_DOMAINNAME:
  718. return "ERROR_DUP_DOMAINNAME";
  719. case ERROR_NO_NETWORK:
  720. return "ERROR_NO_NETWORK";
  721. case ERROR_CANCELLED:
  722. return "ERROR_CANCELLED";
  723. case ERROR_USER_MAPPED_FILE:
  724. return "ERROR_USER_MAPPED_FILE";
  725. case ERROR_CONNECTION_REFUSED:
  726. return "ERROR_CONNECTION_REFUSED";
  727. case ERROR_GRACEFUL_DISCONNECT:
  728. return "ERROR_GRACEFUL_DISCONNECT";
  729. case ERROR_ADDRESS_ALREADY_ASSOCIATED:
  730. return "ERROR_ADDRESS_ALREADY_ASSOCIATED";
  731. case ERROR_ADDRESS_NOT_ASSOCIATED:
  732. return "ERROR_ADDRESS_NOT_ASSOCIATED";
  733. case ERROR_CONNECTION_INVALID:
  734. return "ERROR_CONNECTION_INVALID";
  735. case ERROR_CONNECTION_ACTIVE:
  736. return "ERROR_CONNECTION_ACTIVE";
  737. case ERROR_NETWORK_UNREACHABLE:
  738. return "ERROR_NETWORK_UNREACHABLE";
  739. case ERROR_HOST_UNREACHABLE:
  740. return "ERROR_HOST_UNREACHABLE";
  741. case ERROR_PROTOCOL_UNREACHABLE:
  742. return "ERROR_PROTOCOL_UNREACHABLE";
  743. case ERROR_PORT_UNREACHABLE:
  744. return "ERROR_PORT_UNREACHABLE";
  745. case ERROR_REQUEST_ABORTED:
  746. return "ERROR_REQUEST_ABORTED";
  747. case ERROR_CONNECTION_ABORTED:
  748. return "ERROR_CONNECTION_ABORTED";
  749. case ERROR_RETRY:
  750. return "ERROR_RETRY";
  751. case ERROR_CONNECTION_COUNT_LIMIT:
  752. return "ERROR_CONNECTION_COUNT_LIMIT";
  753. case ERROR_LOGIN_TIME_RESTRICTION:
  754. return "ERROR_LOGIN_TIME_RESTRICTION";
  755. case ERROR_LOGIN_WKSTA_RESTRICTION:
  756. return "ERROR_LOGIN_WKSTA_RESTRICTION";
  757. case ERROR_INCORRECT_ADDRESS:
  758. return "ERROR_INCORRECT_ADDRESS";
  759. case ERROR_ALREADY_REGISTERED:
  760. return "ERROR_ALREADY_REGISTERED";
  761. case ERROR_SERVICE_NOT_FOUND:
  762. return "ERROR_SERVICE_NOT_FOUND";
  763. case ERROR_NOT_AUTHENTICATED:
  764. return "ERROR_NOT_AUTHENTICATED";
  765. case ERROR_NOT_LOGGED_ON:
  766. return "ERROR_NOT_LOGGED_ON";
  767. case ERROR_CONTINUE:
  768. return "ERROR_CONTINUE";
  769. case ERROR_ALREADY_INITIALIZED:
  770. return "ERROR_ALREADY_INITIALIZED";
  771. case ERROR_NO_MORE_DEVICES:
  772. return "ERROR_NO_MORE_DEVICES";
  773. case ERROR_NO_SUCH_SITE:
  774. return "ERROR_NO_SUCH_SITE";
  775. case ERROR_DOMAIN_CONTROLLER_EXISTS:
  776. return "ERROR_DOMAIN_CONTROLLER_EXISTS";
  777. case ERROR_ONLY_IF_CONNECTED:
  778. return "ERROR_ONLY_IF_CONNECTED";
  779. case ERROR_OVERRIDE_NOCHANGES:
  780. return "ERROR_OVERRIDE_NOCHANGES";
  781. case ERROR_BAD_USER_PROFILE:
  782. return "ERROR_BAD_USER_PROFILE";
  783. case ERROR_NOT_SUPPORTED_ON_SBS:
  784. return "ERROR_NOT_SUPPORTED_ON_SBS";
  785. case ERROR_SERVER_SHUTDOWN_IN_PROGRESS:
  786. return "ERROR_SERVER_SHUTDOWN_IN_PROGRESS";
  787. case ERROR_HOST_DOWN:
  788. return "ERROR_HOST_DOWN";
  789. case ERROR_NON_ACCOUNT_SID:
  790. return "ERROR_NON_ACCOUNT_SID";
  791. case ERROR_NON_DOMAIN_SID:
  792. return "ERROR_NON_DOMAIN_SID";
  793. case ERROR_APPHELP_BLOCK:
  794. return "ERROR_APPHELP_BLOCK";
  795. case ERROR_ACCESS_DISABLED_BY_POLICY:
  796. return "ERROR_ACCESS_DISABLED_BY_POLICY";
  797. case ERROR_REG_NAT_CONSUMPTION:
  798. return "ERROR_REG_NAT_CONSUMPTION";
  799. case ERROR_CSCSHARE_OFFLINE:
  800. return "ERROR_CSCSHARE_OFFLINE";
  801. case ERROR_PKINIT_FAILURE:
  802. return "ERROR_PKINIT_FAILURE";
  803. case ERROR_SMARTCARD_SUBSYSTEM_FAILURE:
  804. return "ERROR_SMARTCARD_SUBSYSTEM_FAILURE";
  805. case ERROR_DOWNGRADE_DETECTED:
  806. return "ERROR_DOWNGRADE_DETECTED";
  807. case ERROR_MACHINE_LOCKED:
  808. return "ERROR_MACHINE_LOCKED";
  809. case ERROR_CALLBACK_SUPPLIED_INVALID_DATA:
  810. return "ERROR_CALLBACK_SUPPLIED_INVALID_DATA";
  811. case ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED:
  812. return "ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED";
  813. case ERROR_DRIVER_BLOCKED:
  814. return "ERROR_DRIVER_BLOCKED";
  815. case ERROR_INVALID_IMPORT_OF_NON_DLL:
  816. return "ERROR_INVALID_IMPORT_OF_NON_DLL";
  817. case ERROR_ACCESS_DISABLED_WEBBLADE:
  818. return "ERROR_ACCESS_DISABLED_WEBBLADE";
  819. case ERROR_ACCESS_DISABLED_WEBBLADE_TAMPER:
  820. return "ERROR_ACCESS_DISABLED_WEBBLADE_TAMPER";
  821. case ERROR_RECOVERY_FAILURE:
  822. return "ERROR_RECOVERY_FAILURE";
  823. case ERROR_ALREADY_FIBER:
  824. return "ERROR_ALREADY_FIBER";
  825. case ERROR_ALREADY_THREAD:
  826. return "ERROR_ALREADY_THREAD";
  827. case ERROR_STACK_BUFFER_OVERRUN:
  828. return "ERROR_STACK_BUFFER_OVERRUN";
  829. case ERROR_PARAMETER_QUOTA_EXCEEDED:
  830. return "ERROR_PARAMETER_QUOTA_EXCEEDED";
  831. case ERROR_DEBUGGER_INACTIVE:
  832. return "ERROR_DEBUGGER_INACTIVE";
  833. case ERROR_DELAY_LOAD_FAILED:
  834. return "ERROR_DELAY_LOAD_FAILED";
  835. case ERROR_VDM_DISALLOWED:
  836. return "ERROR_VDM_DISALLOWED";
  837. case ERROR_UNIDENTIFIED_ERROR:
  838. return "ERROR_UNIDENTIFIED_ERROR";
  839. case ERROR_NOT_ALL_ASSIGNED:
  840. return "ERROR_NOT_ALL_ASSIGNED";
  841. case ERROR_SOME_NOT_MAPPED:
  842. return "ERROR_SOME_NOT_MAPPED";
  843. case ERROR_NO_QUOTAS_FOR_ACCOUNT:
  844. return "ERROR_NO_QUOTAS_FOR_ACCOUNT";
  845. case ERROR_LOCAL_USER_SESSION_KEY:
  846. return "ERROR_LOCAL_USER_SESSION_KEY";
  847. case ERROR_NULL_LM_PASSWORD:
  848. return "ERROR_NULL_LM_PASSWORD";
  849. case ERROR_UNKNOWN_REVISION:
  850. return "ERROR_UNKNOWN_REVISION";
  851. case ERROR_REVISION_MISMATCH:
  852. return "ERROR_REVISION_MISMATCH";
  853. case ERROR_INVALID_OWNER:
  854. return "ERROR_INVALID_OWNER";
  855. case ERROR_INVALID_PRIMARY_GROUP:
  856. return "ERROR_INVALID_PRIMARY_GROUP";
  857. case ERROR_NO_IMPERSONATION_TOKEN:
  858. return "ERROR_NO_IMPERSONATION_TOKEN";
  859. case ERROR_CANT_DISABLE_MANDATORY:
  860. return "ERROR_CANT_DISABLE_MANDATORY";
  861. case ERROR_NO_LOGON_SERVERS:
  862. return "ERROR_NO_LOGON_SERVERS";
  863. case ERROR_NO_SUCH_LOGON_SESSION:
  864. return "ERROR_NO_SUCH_LOGON_SESSION";
  865. case ERROR_NO_SUCH_PRIVILEGE:
  866. return "ERROR_NO_SUCH_PRIVILEGE";
  867. case ERROR_PRIVILEGE_NOT_HELD:
  868. return "ERROR_PRIVILEGE_NOT_HELD";
  869. case ERROR_INVALID_ACCOUNT_NAME:
  870. return "ERROR_INVALID_ACCOUNT_NAME";
  871. case ERROR_USER_EXISTS:
  872. return "ERROR_USER_EXISTS";
  873. case ERROR_NO_SUCH_USER:
  874. return "ERROR_NO_SUCH_USER";
  875. case ERROR_GROUP_EXISTS:
  876. return "ERROR_GROUP_EXISTS";
  877. case ERROR_NO_SUCH_GROUP:
  878. return "ERROR_NO_SUCH_GROUP";
  879. case ERROR_MEMBER_IN_GROUP:
  880. return "ERROR_MEMBER_IN_GROUP";
  881. case ERROR_MEMBER_NOT_IN_GROUP:
  882. return "ERROR_MEMBER_NOT_IN_GROUP";
  883. case ERROR_LAST_ADMIN:
  884. return "ERROR_LAST_ADMIN";
  885. case ERROR_WRONG_PASSWORD:
  886. return "ERROR_WRONG_PASSWORD";
  887. case ERROR_ILL_FORMED_PASSWORD:
  888. return "ERROR_ILL_FORMED_PASSWORD";
  889. case ERROR_PASSWORD_RESTRICTION:
  890. return "ERROR_PASSWORD_RESTRICTION";
  891. case ERROR_LOGON_FAILURE:
  892. return "ERROR_LOGON_FAILURE";
  893. case ERROR_ACCOUNT_RESTRICTION:
  894. return "ERROR_ACCOUNT_RESTRICTION";
  895. case ERROR_INVALID_LOGON_HOURS:
  896. return "ERROR_INVALID_LOGON_HOURS";
  897. case ERROR_INVALID_WORKSTATION:
  898. return "ERROR_INVALID_WORKSTATION";
  899. case ERROR_PASSWORD_EXPIRED:
  900. return "ERROR_PASSWORD_EXPIRED";
  901. case ERROR_ACCOUNT_DISABLED:
  902. return "ERROR_ACCOUNT_DISABLED";
  903. case ERROR_NONE_MAPPED:
  904. return "ERROR_NONE_MAPPED";
  905. case ERROR_TOO_MANY_LUIDS_REQUESTED:
  906. return "ERROR_TOO_MANY_LUIDS_REQUESTED";
  907. case ERROR_LUIDS_EXHAUSTED:
  908. return "ERROR_LUIDS_EXHAUSTED";
  909. case ERROR_INVALID_SUB_AUTHORITY:
  910. return "ERROR_INVALID_SUB_AUTHORITY";
  911. case ERROR_INVALID_ACL:
  912. return "ERROR_INVALID_ACL";
  913. case ERROR_INVALID_SID:
  914. return "ERROR_INVALID_SID";
  915. case ERROR_INVALID_SECURITY_DESCR:
  916. return "ERROR_INVALID_SECURITY_DESCR";
  917. case ERROR_BAD_INHERITANCE_ACL:
  918. return "ERROR_BAD_INHERITANCE_ACL";
  919. case ERROR_SERVER_DISABLED:
  920. return "ERROR_SERVER_DISABLED";
  921. case ERROR_SERVER_NOT_DISABLED:
  922. return "ERROR_SERVER_NOT_DISABLED";
  923. case ERROR_INVALID_ID_AUTHORITY:
  924. return "ERROR_INVALID_ID_AUTHORITY";
  925. case ERROR_ALLOTTED_SPACE_EXCEEDED:
  926. return "ERROR_ALLOTTED_SPACE_EXCEEDED";
  927. case ERROR_INVALID_GROUP_ATTRIBUTES:
  928. return "ERROR_INVALID_GROUP_ATTRIBUTES";
  929. case ERROR_BAD_IMPERSONATION_LEVEL:
  930. return "ERROR_BAD_IMPERSONATION_LEVEL";
  931. case ERROR_CANT_OPEN_ANONYMOUS:
  932. return "ERROR_CANT_OPEN_ANONYMOUS";
  933. case ERROR_BAD_VALIDATION_CLASS:
  934. return "ERROR_BAD_VALIDATION_CLASS";
  935. case ERROR_BAD_TOKEN_TYPE:
  936. return "ERROR_BAD_TOKEN_TYPE";
  937. case ERROR_NO_SECURITY_ON_OBJECT:
  938. return "ERROR_NO_SECURITY_ON_OBJECT";
  939. case ERROR_CANT_ACCESS_DOMAIN_INFO:
  940. return "ERROR_CANT_ACCESS_DOMAIN_INFO";
  941. case ERROR_INVALID_SERVER_STATE:
  942. return "ERROR_INVALID_SERVER_STATE";
  943. case ERROR_INVALID_DOMAIN_STATE:
  944. return "ERROR_INVALID_DOMAIN_STATE";
  945. case ERROR_INVALID_DOMAIN_ROLE:
  946. return "ERROR_INVALID_DOMAIN_ROLE";
  947. case ERROR_NO_SUCH_DOMAIN:
  948. return "ERROR_NO_SUCH_DOMAIN";
  949. case ERROR_DOMAIN_EXISTS:
  950. return "ERROR_DOMAIN_EXISTS";
  951. case ERROR_DOMAIN_LIMIT_EXCEEDED:
  952. return "ERROR_DOMAIN_LIMIT_EXCEEDED";
  953. case ERROR_INTERNAL_DB_CORRUPTION:
  954. return "ERROR_INTERNAL_DB_CORRUPTION";
  955. case ERROR_INTERNAL_ERROR:
  956. return "ERROR_INTERNAL_ERROR";
  957. case ERROR_GENERIC_NOT_MAPPED:
  958. return "ERROR_GENERIC_NOT_MAPPED";
  959. case ERROR_BAD_DESCRIPTOR_FORMAT:
  960. return "ERROR_BAD_DESCRIPTOR_FORMAT";
  961. case ERROR_NOT_LOGON_PROCESS:
  962. return "ERROR_NOT_LOGON_PROCESS";
  963. case ERROR_LOGON_SESSION_EXISTS:
  964. return "ERROR_LOGON_SESSION_EXISTS";
  965. case ERROR_NO_SUCH_PACKAGE:
  966. return "ERROR_NO_SUCH_PACKAGE";
  967. case ERROR_BAD_LOGON_SESSION_STATE:
  968. return "ERROR_BAD_LOGON_SESSION_STATE";
  969. case ERROR_LOGON_SESSION_COLLISION:
  970. return "ERROR_LOGON_SESSION_COLLISION";
  971. case ERROR_INVALID_LOGON_TYPE:
  972. return "ERROR_INVALID_LOGON_TYPE";
  973. case ERROR_CANNOT_IMPERSONATE:
  974. return "ERROR_CANNOT_IMPERSONATE";
  975. case ERROR_RXACT_INVALID_STATE:
  976. return "ERROR_RXACT_INVALID_STATE";
  977. case ERROR_RXACT_COMMIT_FAILURE:
  978. return "ERROR_RXACT_COMMIT_FAILURE";
  979. case ERROR_SPECIAL_ACCOUNT:
  980. return "ERROR_SPECIAL_ACCOUNT";
  981. case ERROR_SPECIAL_GROUP:
  982. return "ERROR_SPECIAL_GROUP";
  983. case ERROR_SPECIAL_USER:
  984. return "ERROR_SPECIAL_USER";
  985. case ERROR_MEMBERS_PRIMARY_GROUP:
  986. return "ERROR_MEMBERS_PRIMARY_GROUP";
  987. case ERROR_TOKEN_ALREADY_IN_USE:
  988. return "ERROR_TOKEN_ALREADY_IN_USE";
  989. case ERROR_NO_SUCH_ALIAS:
  990. return "ERROR_NO_SUCH_ALIAS";
  991. case ERROR_MEMBER_NOT_IN_ALIAS:
  992. return "ERROR_MEMBER_NOT_IN_ALIAS";
  993. case ERROR_MEMBER_IN_ALIAS:
  994. return "ERROR_MEMBER_IN_ALIAS";
  995. case ERROR_ALIAS_EXISTS:
  996. return "ERROR_ALIAS_EXISTS";
  997. case ERROR_LOGON_NOT_GRANTED:
  998. return "ERROR_LOGON_NOT_GRANTED";
  999. case ERROR_TOO_MANY_SECRETS:
  1000. return "ERROR_TOO_MANY_SECRETS";
  1001. case ERROR_SECRET_TOO_LONG:
  1002. return "ERROR_SECRET_TOO_LONG";
  1003. case ERROR_INTERNAL_DB_ERROR:
  1004. return "ERROR_INTERNAL_DB_ERROR";
  1005. case ERROR_TOO_MANY_CONTEXT_IDS:
  1006. return "ERROR_TOO_MANY_CONTEXT_IDS";
  1007. case ERROR_LOGON_TYPE_NOT_GRANTED:
  1008. return "ERROR_LOGON_TYPE_NOT_GRANTED";
  1009. case ERROR_NT_CROSS_ENCRYPTION_REQUIRED:
  1010. return "ERROR_NT_CROSS_ENCRYPTION_REQUIRED";
  1011. case ERROR_NO_SUCH_MEMBER:
  1012. return "ERROR_NO_SUCH_MEMBER";
  1013. case ERROR_INVALID_MEMBER:
  1014. return "ERROR_INVALID_MEMBER";
  1015. case ERROR_TOO_MANY_SIDS:
  1016. return "ERROR_TOO_MANY_SIDS";
  1017. case ERROR_LM_CROSS_ENCRYPTION_REQUIRED:
  1018. return "ERROR_LM_CROSS_ENCRYPTION_REQUIRED";
  1019. case ERROR_NO_INHERITANCE:
  1020. return "ERROR_NO_INHERITANCE";
  1021. case ERROR_FILE_CORRUPT:
  1022. return "ERROR_FILE_CORRUPT";
  1023. case ERROR_DISK_CORRUPT:
  1024. return "ERROR_DISK_CORRUPT";
  1025. case ERROR_NO_USER_SESSION_KEY:
  1026. return "ERROR_NO_USER_SESSION_KEY";
  1027. case ERROR_LICENSE_QUOTA_EXCEEDED:
  1028. return "ERROR_LICENSE_QUOTA_EXCEEDED";
  1029. case ERROR_WRONG_TARGET_NAME:
  1030. return "ERROR_WRONG_TARGET_NAME";
  1031. case ERROR_MUTUAL_AUTH_FAILED:
  1032. return "ERROR_MUTUAL_AUTH_FAILED";
  1033. case ERROR_TIME_SKEW:
  1034. return "ERROR_TIME_SKEW";
  1035. case ERROR_CURRENT_DOMAIN_NOT_ALLOWED:
  1036. return "ERROR_CURRENT_DOMAIN_NOT_ALLOWED";
  1037. case ERROR_INVALID_WINDOW_HANDLE:
  1038. return "ERROR_INVALID_WINDOW_HANDLE";
  1039. case ERROR_INVALID_MENU_HANDLE:
  1040. return "ERROR_INVALID_MENU_HANDLE";
  1041. case ERROR_INVALID_CURSOR_HANDLE:
  1042. return "ERROR_INVALID_CURSOR_HANDLE";
  1043. case ERROR_INVALID_ACCEL_HANDLE:
  1044. return "ERROR_INVALID_ACCEL_HANDLE";
  1045. case ERROR_INVALID_HOOK_HANDLE:
  1046. return "ERROR_INVALID_HOOK_HANDLE";
  1047. case ERROR_INVALID_DWP_HANDLE:
  1048. return "ERROR_INVALID_DWP_HANDLE";
  1049. case ERROR_TLW_WITH_WSCHILD:
  1050. return "ERROR_TLW_WITH_WSCHILD";
  1051. case ERROR_CANNOT_FIND_WND_CLASS:
  1052. return "ERROR_CANNOT_FIND_WND_CLASS";
  1053. case ERROR_WINDOW_OF_OTHER_THREAD:
  1054. return "ERROR_WINDOW_OF_OTHER_THREAD";
  1055. case ERROR_HOTKEY_ALREADY_REGISTERED:
  1056. return "ERROR_HOTKEY_ALREADY_REGISTERED";
  1057. case ERROR_CLASS_ALREADY_EXISTS:
  1058. return "ERROR_CLASS_ALREADY_EXISTS";
  1059. case ERROR_CLASS_DOES_NOT_EXIST:
  1060. return "ERROR_CLASS_DOES_NOT_EXIST";
  1061. case ERROR_CLASS_HAS_WINDOWS:
  1062. return "ERROR_CLASS_HAS_WINDOWS";
  1063. case ERROR_INVALID_INDEX:
  1064. return "ERROR_INVALID_INDEX";
  1065. case ERROR_INVALID_ICON_HANDLE:
  1066. return "ERROR_INVALID_ICON_HANDLE";
  1067. case ERROR_PRIVATE_DIALOG_INDEX:
  1068. return "ERROR_PRIVATE_DIALOG_INDEX";
  1069. case ERROR_LISTBOX_ID_NOT_FOUND:
  1070. return "ERROR_LISTBOX_ID_NOT_FOUND";
  1071. case ERROR_NO_WILDCARD_CHARACTERS:
  1072. return "ERROR_NO_WILDCARD_CHARACTERS";
  1073. case ERROR_CLIPBOARD_NOT_OPEN:
  1074. return "ERROR_CLIPBOARD_NOT_OPEN";
  1075. case ERROR_HOTKEY_NOT_REGISTERED:
  1076. return "ERROR_HOTKEY_NOT_REGISTERED";
  1077. case ERROR_WINDOW_NOT_DIALOG:
  1078. return "ERROR_WINDOW_NOT_DIALOG";
  1079. case ERROR_CONTROL_ID_NOT_FOUND:
  1080. return "ERROR_CONTROL_ID_NOT_FOUND";
  1081. case ERROR_INVALID_COMBOBOX_MESSAGE:
  1082. return "ERROR_INVALID_COMBOBOX_MESSAGE";
  1083. case ERROR_WINDOW_NOT_COMBOBOX:
  1084. return "ERROR_WINDOW_NOT_COMBOBOX";
  1085. case ERROR_INVALID_EDIT_HEIGHT:
  1086. return "ERROR_INVALID_EDIT_HEIGHT";
  1087. case ERROR_DC_NOT_FOUND:
  1088. return "ERROR_DC_NOT_FOUND";
  1089. case ERROR_INVALID_HOOK_FILTER:
  1090. return "ERROR_INVALID_HOOK_FILTER";
  1091. case ERROR_INVALID_FILTER_PROC:
  1092. return "ERROR_INVALID_FILTER_PROC";
  1093. case ERROR_HOOK_NEEDS_HMOD:
  1094. return "ERROR_HOOK_NEEDS_HMOD";
  1095. case ERROR_GLOBAL_ONLY_HOOK:
  1096. return "ERROR_GLOBAL_ONLY_HOOK";
  1097. case ERROR_JOURNAL_HOOK_SET:
  1098. return "ERROR_JOURNAL_HOOK_SET";
  1099. case ERROR_HOOK_NOT_INSTALLED:
  1100. return "ERROR_HOOK_NOT_INSTALLED";
  1101. case ERROR_INVALID_LB_MESSAGE:
  1102. return "ERROR_INVALID_LB_MESSAGE";
  1103. case ERROR_SETCOUNT_ON_BAD_LB:
  1104. return "ERROR_SETCOUNT_ON_BAD_LB";
  1105. case ERROR_LB_WITHOUT_TABSTOPS:
  1106. return "ERROR_LB_WITHOUT_TABSTOPS";
  1107. case ERROR_DESTROY_OBJECT_OF_OTHER_THREAD:
  1108. return "ERROR_DESTROY_OBJECT_OF_OTHER_THREAD";
  1109. case ERROR_CHILD_WINDOW_MENU:
  1110. return "ERROR_CHILD_WINDOW_MENU";
  1111. case ERROR_NO_SYSTEM_MENU:
  1112. return "ERROR_NO_SYSTEM_MENU";
  1113. case ERROR_INVALID_MSGBOX_STYLE:
  1114. return "ERROR_INVALID_MSGBOX_STYLE";
  1115. case ERROR_INVALID_SPI_VALUE:
  1116. return "ERROR_INVALID_SPI_VALUE";
  1117. case ERROR_SCREEN_ALREADY_LOCKED:
  1118. return "ERROR_SCREEN_ALREADY_LOCKED";
  1119. case ERROR_HWNDS_HAVE_DIFF_PARENT:
  1120. return "ERROR_HWNDS_HAVE_DIFF_PARENT";
  1121. case ERROR_NOT_CHILD_WINDOW:
  1122. return "ERROR_NOT_CHILD_WINDOW";
  1123. case ERROR_INVALID_GW_COMMAND:
  1124. return "ERROR_INVALID_GW_COMMAND";
  1125. case ERROR_INVALID_THREAD_ID:
  1126. return "ERROR_INVALID_THREAD_ID";
  1127. case ERROR_NON_MDICHILD_WINDOW:
  1128. return "ERROR_NON_MDICHILD_WINDOW";
  1129. case ERROR_POPUP_ALREADY_ACTIVE:
  1130. return "ERROR_POPUP_ALREADY_ACTIVE";
  1131. case ERROR_NO_SCROLLBARS:
  1132. return "ERROR_NO_SCROLLBARS";
  1133. case ERROR_INVALID_SCROLLBAR_RANGE:
  1134. return "ERROR_INVALID_SCROLLBAR_RANGE";
  1135. case ERROR_INVALID_SHOWWIN_COMMAND:
  1136. return "ERROR_INVALID_SHOWWIN_COMMAND";
  1137. case ERROR_NO_SYSTEM_RESOURCES:
  1138. return "ERROR_NO_SYSTEM_RESOURCES";
  1139. case ERROR_NONPAGED_SYSTEM_RESOURCES:
  1140. return "ERROR_NONPAGED_SYSTEM_RESOURCES";
  1141. case ERROR_PAGED_SYSTEM_RESOURCES:
  1142. return "ERROR_PAGED_SYSTEM_RESOURCES";
  1143. case ERROR_WORKING_SET_QUOTA:
  1144. return "ERROR_WORKING_SET_QUOTA";
  1145. case ERROR_PAGEFILE_QUOTA:
  1146. return "ERROR_PAGEFILE_QUOTA";
  1147. case ERROR_COMMITMENT_LIMIT:
  1148. return "ERROR_COMMITMENT_LIMIT";
  1149. case ERROR_MENU_ITEM_NOT_FOUND:
  1150. return "ERROR_MENU_ITEM_NOT_FOUND";
  1151. case ERROR_INVALID_KEYBOARD_HANDLE:
  1152. return "ERROR_INVALID_KEYBOARD_HANDLE";
  1153. case ERROR_HOOK_TYPE_NOT_ALLOWED:
  1154. return "ERROR_HOOK_TYPE_NOT_ALLOWED";
  1155. case ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION:
  1156. return "ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION";
  1157. case ERROR_TIMEOUT:
  1158. return "ERROR_TIMEOUT";
  1159. case ERROR_INVALID_MONITOR_HANDLE:
  1160. return "ERROR_INVALID_MONITOR_HANDLE";
  1161. case ERROR_INCORRECT_SIZE:
  1162. return "ERROR_INCORRECT_SIZE";
  1163. case ERROR_EVENTLOG_FILE_CORRUPT:
  1164. return "ERROR_EVENTLOG_FILE_CORRUPT";
  1165. case ERROR_EVENTLOG_CANT_START:
  1166. return "ERROR_EVENTLOG_CANT_START";
  1167. case ERROR_LOG_FILE_FULL:
  1168. return "ERROR_LOG_FILE_FULL";
  1169. case ERROR_EVENTLOG_FILE_CHANGED:
  1170. return "ERROR_EVENTLOG_FILE_CHANGED";
  1171. case ERROR_INSTALL_SERVICE_FAILURE:
  1172. return "ERROR_INSTALL_SERVICE_FAILURE";
  1173. case ERROR_INSTALL_USEREXIT:
  1174. return "ERROR_INSTALL_USEREXIT";
  1175. case ERROR_INSTALL_FAILURE:
  1176. return "ERROR_INSTALL_FAILURE";
  1177. case ERROR_INSTALL_SUSPEND:
  1178. return "ERROR_INSTALL_SUSPEND";
  1179. case ERROR_UNKNOWN_PRODUCT:
  1180. return "ERROR_UNKNOWN_PRODUCT";
  1181. case ERROR_UNKNOWN_FEATURE:
  1182. return "ERROR_UNKNOWN_FEATURE";
  1183. case ERROR_UNKNOWN_COMPONENT:
  1184. return "ERROR_UNKNOWN_COMPONENT";
  1185. case ERROR_UNKNOWN_PROPERTY:
  1186. return "ERROR_UNKNOWN_PROPERTY";
  1187. case ERROR_INVALID_HANDLE_STATE:
  1188. return "ERROR_INVALID_HANDLE_STATE";
  1189. case ERROR_BAD_CONFIGURATION:
  1190. return "ERROR_BAD_CONFIGURATION";
  1191. case ERROR_INDEX_ABSENT:
  1192. return "ERROR_INDEX_ABSENT";
  1193. case ERROR_INSTALL_SOURCE_ABSENT:
  1194. return "ERROR_INSTALL_SOURCE_ABSENT";
  1195. case ERROR_INSTALL_PACKAGE_VERSION:
  1196. return "ERROR_INSTALL_PACKAGE_VERSION";
  1197. case ERROR_PRODUCT_UNINSTALLED:
  1198. return "ERROR_PRODUCT_UNINSTALLED";
  1199. case ERROR_BAD_QUERY_SYNTAX:
  1200. return "ERROR_BAD_QUERY_SYNTAX";
  1201. case ERROR_INVALID_FIELD:
  1202. return "ERROR_INVALID_FIELD";
  1203. case ERROR_DEVICE_REMOVED:
  1204. return "ERROR_DEVICE_REMOVED";
  1205. case ERROR_INSTALL_ALREADY_RUNNING:
  1206. return "ERROR_INSTALL_ALREADY_RUNNING";
  1207. case ERROR_INSTALL_PACKAGE_OPEN_FAILED:
  1208. return "ERROR_INSTALL_PACKAGE_OPEN_FAILED";
  1209. case ERROR_INSTALL_PACKAGE_INVALID:
  1210. return "ERROR_INSTALL_PACKAGE_INVALID";
  1211. case ERROR_INSTALL_UI_FAILURE:
  1212. return "ERROR_INSTALL_UI_FAILURE";
  1213. case ERROR_INSTALL_LOG_FAILURE:
  1214. return "ERROR_INSTALL_LOG_FAILURE";
  1215. case ERROR_INSTALL_LANGUAGE_UNSUPPORTED:
  1216. return "ERROR_INSTALL_LANGUAGE_UNSUPPORTED";
  1217. case ERROR_INSTALL_TRANSFORM_FAILURE:
  1218. return "ERROR_INSTALL_TRANSFORM_FAILURE";
  1219. case ERROR_INSTALL_PACKAGE_REJECTED:
  1220. return "ERROR_INSTALL_PACKAGE_REJECTED";
  1221. case ERROR_FUNCTION_NOT_CALLED:
  1222. return "ERROR_FUNCTION_NOT_CALLED";
  1223. case ERROR_FUNCTION_FAILED:
  1224. return "ERROR_FUNCTION_FAILED";
  1225. case ERROR_INVALID_TABLE:
  1226. return "ERROR_INVALID_TABLE";
  1227. case ERROR_DATATYPE_MISMATCH:
  1228. return "ERROR_DATATYPE_MISMATCH";
  1229. case ERROR_UNSUPPORTED_TYPE:
  1230. return "ERROR_UNSUPPORTED_TYPE";
  1231. case ERROR_CREATE_FAILED:
  1232. return "ERROR_CREATE_FAILED";
  1233. case ERROR_INSTALL_TEMP_UNWRITABLE:
  1234. return "ERROR_INSTALL_TEMP_UNWRITABLE";
  1235. case ERROR_INSTALL_PLATFORM_UNSUPPORTED:
  1236. return "ERROR_INSTALL_PLATFORM_UNSUPPORTED";
  1237. case ERROR_INSTALL_NOTUSED:
  1238. return "ERROR_INSTALL_NOTUSED";
  1239. case ERROR_PATCH_PACKAGE_OPEN_FAILED:
  1240. return "ERROR_PATCH_PACKAGE_OPEN_FAILED";
  1241. case ERROR_PATCH_PACKAGE_INVALID:
  1242. return "ERROR_PATCH_PACKAGE_INVALID";
  1243. case ERROR_PATCH_PACKAGE_UNSUPPORTED:
  1244. return "ERROR_PATCH_PACKAGE_UNSUPPORTED";
  1245. case ERROR_PRODUCT_VERSION:
  1246. return "ERROR_PRODUCT_VERSION";
  1247. case ERROR_INVALID_COMMAND_LINE:
  1248. return "ERROR_INVALID_COMMAND_LINE";
  1249. case ERROR_INSTALL_REMOTE_DISALLOWED:
  1250. return "ERROR_INSTALL_REMOTE_DISALLOWED";
  1251. case ERROR_SUCCESS_REBOOT_INITIATED:
  1252. return "ERROR_SUCCESS_REBOOT_INITIATED";
  1253. case ERROR_PATCH_TARGET_NOT_FOUND:
  1254. return "ERROR_PATCH_TARGET_NOT_FOUND";
  1255. case ERROR_PATCH_PACKAGE_REJECTED:
  1256. return "ERROR_PATCH_PACKAGE_REJECTED";
  1257. case ERROR_INSTALL_TRANSFORM_REJECTED:
  1258. return "ERROR_INSTALL_TRANSFORM_REJECTED";
  1259. case ERROR_INSTALL_REMOTE_PROHIBITED:
  1260. return "ERROR_INSTALL_REMOTE_PROHIBITED";
  1261. case ERROR_INVALID_USER_BUFFER:
  1262. return "ERROR_INVALID_USER_BUFFER";
  1263. case ERROR_UNRECOGNIZED_MEDIA:
  1264. return "ERROR_UNRECOGNIZED_MEDIA";
  1265. case ERROR_NO_TRUST_LSA_SECRET:
  1266. return "ERROR_NO_TRUST_LSA_SECRET";
  1267. case ERROR_NO_TRUST_SAM_ACCOUNT:
  1268. return "ERROR_NO_TRUST_SAM_ACCOUNT";
  1269. case ERROR_TRUSTED_DOMAIN_FAILURE:
  1270. return "ERROR_TRUSTED_DOMAIN_FAILURE";
  1271. case ERROR_TRUSTED_RELATIONSHIP_FAILURE:
  1272. return "ERROR_TRUSTED_RELATIONSHIP_FAILURE";
  1273. case ERROR_TRUST_FAILURE:
  1274. return "ERROR_TRUST_FAILURE";
  1275. case ERROR_NETLOGON_NOT_STARTED:
  1276. return "ERROR_NETLOGON_NOT_STARTED";
  1277. case ERROR_ACCOUNT_EXPIRED:
  1278. return "ERROR_ACCOUNT_EXPIRED";
  1279. case ERROR_REDIRECTOR_HAS_OPEN_HANDLES:
  1280. return "ERROR_REDIRECTOR_HAS_OPEN_HANDLES";
  1281. case ERROR_PRINTER_DRIVER_ALREADY_INSTALLED:
  1282. return "ERROR_PRINTER_DRIVER_ALREADY_INSTALLED";
  1283. case ERROR_UNKNOWN_PORT:
  1284. return "ERROR_UNKNOWN_PORT";
  1285. case ERROR_UNKNOWN_PRINTER_DRIVER:
  1286. return "ERROR_UNKNOWN_PRINTER_DRIVER";
  1287. case ERROR_UNKNOWN_PRINTPROCESSOR:
  1288. return "ERROR_UNKNOWN_PRINTPROCESSOR";
  1289. case ERROR_INVALID_SEPARATOR_FILE:
  1290. return "ERROR_INVALID_SEPARATOR_FILE";
  1291. case ERROR_INVALID_PRIORITY:
  1292. return "ERROR_INVALID_PRIORITY";
  1293. case ERROR_INVALID_PRINTER_NAME:
  1294. return "ERROR_INVALID_PRINTER_NAME";
  1295. case ERROR_PRINTER_ALREADY_EXISTS:
  1296. return "ERROR_PRINTER_ALREADY_EXISTS";
  1297. case ERROR_INVALID_PRINTER_COMMAND:
  1298. return "ERROR_INVALID_PRINTER_COMMAND";
  1299. case ERROR_INVALID_DATATYPE:
  1300. return "ERROR_INVALID_DATATYPE";
  1301. case ERROR_INVALID_ENVIRONMENT:
  1302. return "ERROR_INVALID_ENVIRONMENT";
  1303. case ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT:
  1304. return "ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT";
  1305. case ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT:
  1306. return "ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT";
  1307. case ERROR_NOLOGON_SERVER_TRUST_ACCOUNT:
  1308. return "ERROR_NOLOGON_SERVER_TRUST_ACCOUNT";
  1309. case ERROR_DOMAIN_TRUST_INCONSISTENT:
  1310. return "ERROR_DOMAIN_TRUST_INCONSISTENT";
  1311. case ERROR_SERVER_HAS_OPEN_HANDLES:
  1312. return "ERROR_SERVER_HAS_OPEN_HANDLES";
  1313. case ERROR_RESOURCE_DATA_NOT_FOUND:
  1314. return "ERROR_RESOURCE_DATA_NOT_FOUND";
  1315. case ERROR_RESOURCE_TYPE_NOT_FOUND:
  1316. return "ERROR_RESOURCE_TYPE_NOT_FOUND";
  1317. case ERROR_RESOURCE_NAME_NOT_FOUND:
  1318. return "ERROR_RESOURCE_NAME_NOT_FOUND";
  1319. case ERROR_RESOURCE_LANG_NOT_FOUND:
  1320. return "ERROR_RESOURCE_LANG_NOT_FOUND";
  1321. case ERROR_NOT_ENOUGH_QUOTA:
  1322. return "ERROR_NOT_ENOUGH_QUOTA";
  1323. case ERROR_INVALID_TIME:
  1324. return "ERROR_INVALID_TIME";
  1325. case ERROR_INVALID_FORM_NAME:
  1326. return "ERROR_INVALID_FORM_NAME";
  1327. case ERROR_INVALID_FORM_SIZE:
  1328. return "ERROR_INVALID_FORM_SIZE";
  1329. case ERROR_ALREADY_WAITING:
  1330. return "ERROR_ALREADY_WAITING";
  1331. case ERROR_PRINTER_DELETED:
  1332. return "ERROR_PRINTER_DELETED";
  1333. case ERROR_INVALID_PRINTER_STATE:
  1334. return "ERROR_INVALID_PRINTER_STATE";
  1335. case ERROR_PASSWORD_MUST_CHANGE:
  1336. return "ERROR_PASSWORD_MUST_CHANGE";
  1337. case ERROR_DOMAIN_CONTROLLER_NOT_FOUND:
  1338. return "ERROR_DOMAIN_CONTROLLER_NOT_FOUND";
  1339. case ERROR_ACCOUNT_LOCKED_OUT:
  1340. return "ERROR_ACCOUNT_LOCKED_OUT";
  1341. case ERROR_NO_SITENAME:
  1342. return "ERROR_NO_SITENAME";
  1343. case ERROR_CANT_ACCESS_FILE:
  1344. return "ERROR_CANT_ACCESS_FILE";
  1345. case ERROR_CANT_RESOLVE_FILENAME:
  1346. return "ERROR_CANT_RESOLVE_FILENAME";
  1347. case ERROR_KM_DRIVER_BLOCKED:
  1348. return "ERROR_KM_DRIVER_BLOCKED";
  1349. case ERROR_CONTEXT_EXPIRED:
  1350. return "ERROR_CONTEXT_EXPIRED";
  1351. case ERROR_PER_USER_TRUST_QUOTA_EXCEEDED:
  1352. return "ERROR_PER_USER_TRUST_QUOTA_EXCEEDED";
  1353. case ERROR_ALL_USER_TRUST_QUOTA_EXCEEDED:
  1354. return "ERROR_ALL_USER_TRUST_QUOTA_EXCEEDED";
  1355. case ERROR_USER_DELETE_TRUST_QUOTA_EXCEEDED:
  1356. return "ERROR_USER_DELETE_TRUST_QUOTA_EXCEEDED";
  1357. case ERROR_AUTHENTICATION_FIREWALL_FAILED:
  1358. return "ERROR_AUTHENTICATION_FIREWALL_FAILED";
  1359. case ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED:
  1360. return "ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED";
  1361. case ERROR_INVALID_PIXEL_FORMAT:
  1362. return "ERROR_INVALID_PIXEL_FORMAT";
  1363. case ERROR_BAD_DRIVER:
  1364. return "ERROR_BAD_DRIVER";
  1365. case ERROR_INVALID_WINDOW_STYLE:
  1366. return "ERROR_INVALID_WINDOW_STYLE";
  1367. case ERROR_METAFILE_NOT_SUPPORTED:
  1368. return "ERROR_METAFILE_NOT_SUPPORTED";
  1369. case ERROR_TRANSFORM_NOT_SUPPORTED:
  1370. return "ERROR_TRANSFORM_NOT_SUPPORTED";
  1371. case ERROR_CLIPPING_NOT_SUPPORTED:
  1372. return "ERROR_CLIPPING_NOT_SUPPORTED";
  1373. case ERROR_INVALID_CMM:
  1374. return "ERROR_INVALID_CMM";
  1375. case ERROR_INVALID_PROFILE:
  1376. return "ERROR_INVALID_PROFILE";
  1377. case ERROR_TAG_NOT_FOUND:
  1378. return "ERROR_TAG_NOT_FOUND";
  1379. case ERROR_TAG_NOT_PRESENT:
  1380. return "ERROR_TAG_NOT_PRESENT";
  1381. case ERROR_DUPLICATE_TAG:
  1382. return "ERROR_DUPLICATE_TAG";
  1383. case ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE:
  1384. return "ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE";
  1385. case ERROR_PROFILE_NOT_FOUND:
  1386. return "ERROR_PROFILE_NOT_FOUND";
  1387. case ERROR_INVALID_COLORSPACE:
  1388. return "ERROR_INVALID_COLORSPACE";
  1389. case ERROR_ICM_NOT_ENABLED:
  1390. return "ERROR_ICM_NOT_ENABLED";
  1391. case ERROR_DELETING_ICM_XFORM:
  1392. return "ERROR_DELETING_ICM_XFORM";
  1393. case ERROR_INVALID_TRANSFORM:
  1394. return "ERROR_INVALID_TRANSFORM";
  1395. case ERROR_COLORSPACE_MISMATCH:
  1396. return "ERROR_COLORSPACE_MISMATCH";
  1397. case ERROR_INVALID_COLORINDEX:
  1398. return "ERROR_INVALID_COLORINDEX";
  1399. case ERROR_CONNECTED_OTHER_PASSWORD:
  1400. return "ERROR_CONNECTED_OTHER_PASSWORD";
  1401. case ERROR_CONNECTED_OTHER_PASSWORD_DEFAULT:
  1402. return "ERROR_CONNECTED_OTHER_PASSWORD_DEFAULT";
  1403. case ERROR_BAD_USERNAME:
  1404. return "ERROR_BAD_USERNAME";
  1405. case ERROR_NOT_CONNECTED:
  1406. return "ERROR_NOT_CONNECTED";
  1407. case ERROR_OPEN_FILES:
  1408. return "ERROR_OPEN_FILES";
  1409. case ERROR_ACTIVE_CONNECTIONS:
  1410. return "ERROR_ACTIVE_CONNECTIONS";
  1411. case ERROR_DEVICE_IN_USE:
  1412. return "ERROR_DEVICE_IN_USE";
  1413. case ERROR_UNKNOWN_PRINT_MONITOR:
  1414. return "ERROR_UNKNOWN_PRINT_MONITOR";
  1415. case ERROR_PRINTER_DRIVER_IN_USE:
  1416. return "ERROR_PRINTER_DRIVER_IN_USE";
  1417. case ERROR_SPOOL_FILE_NOT_FOUND:
  1418. return "ERROR_SPOOL_FILE_NOT_FOUND";
  1419. case ERROR_SPL_NO_STARTDOC:
  1420. return "ERROR_SPL_NO_STARTDOC";
  1421. case ERROR_SPL_NO_ADDJOB:
  1422. return "ERROR_SPL_NO_ADDJOB";
  1423. case ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED:
  1424. return "ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED";
  1425. case ERROR_PRINT_MONITOR_ALREADY_INSTALLED:
  1426. return "ERROR_PRINT_MONITOR_ALREADY_INSTALLED";
  1427. case ERROR_INVALID_PRINT_MONITOR:
  1428. return "ERROR_INVALID_PRINT_MONITOR";
  1429. case ERROR_PRINT_MONITOR_IN_USE:
  1430. return "ERROR_PRINT_MONITOR_IN_USE";
  1431. case ERROR_PRINTER_HAS_JOBS_QUEUED:
  1432. return "ERROR_PRINTER_HAS_JOBS_QUEUED";
  1433. case ERROR_SUCCESS_REBOOT_REQUIRED:
  1434. return "ERROR_SUCCESS_REBOOT_REQUIRED";
  1435. case ERROR_SUCCESS_RESTART_REQUIRED:
  1436. return "ERROR_SUCCESS_RESTART_REQUIRED";
  1437. case ERROR_PRINTER_NOT_FOUND:
  1438. return "ERROR_PRINTER_NOT_FOUND";
  1439. case ERROR_PRINTER_DRIVER_WARNED:
  1440. return "ERROR_PRINTER_DRIVER_WARNED";
  1441. case ERROR_PRINTER_DRIVER_BLOCKED:
  1442. return "ERROR_PRINTER_DRIVER_BLOCKED";
  1443. case ERROR_WINS_INTERNAL:
  1444. return "ERROR_WINS_INTERNAL";
  1445. case ERROR_CAN_NOT_DEL_LOCAL_WINS:
  1446. return "ERROR_CAN_NOT_DEL_LOCAL_WINS";
  1447. case ERROR_STATIC_INIT:
  1448. return "ERROR_STATIC_INIT";
  1449. case ERROR_INC_BACKUP:
  1450. return "ERROR_INC_BACKUP";
  1451. case ERROR_FULL_BACKUP:
  1452. return "ERROR_FULL_BACKUP";
  1453. case ERROR_REC_NON_EXISTENT:
  1454. return "ERROR_REC_NON_EXISTENT";
  1455. case ERROR_RPL_NOT_ALLOWED:
  1456. return "ERROR_RPL_NOT_ALLOWED";
  1457. case ERROR_DHCP_ADDRESS_CONFLICT:
  1458. return "ERROR_DHCP_ADDRESS_CONFLICT";
  1459. case ERROR_WMI_GUID_NOT_FOUND:
  1460. return "ERROR_WMI_GUID_NOT_FOUND";
  1461. case ERROR_WMI_INSTANCE_NOT_FOUND:
  1462. return "ERROR_WMI_INSTANCE_NOT_FOUND";
  1463. case ERROR_WMI_ITEMID_NOT_FOUND:
  1464. return "ERROR_WMI_ITEMID_NOT_FOUND";
  1465. case ERROR_WMI_TRY_AGAIN:
  1466. return "ERROR_WMI_TRY_AGAIN";
  1467. case ERROR_WMI_DP_NOT_FOUND:
  1468. return "ERROR_WMI_DP_NOT_FOUND";
  1469. case ERROR_WMI_UNRESOLVED_INSTANCE_REF:
  1470. return "ERROR_WMI_UNRESOLVED_INSTANCE_REF";
  1471. case ERROR_WMI_ALREADY_ENABLED:
  1472. return "ERROR_WMI_ALREADY_ENABLED";
  1473. case ERROR_WMI_GUID_DISCONNECTED:
  1474. return "ERROR_WMI_GUID_DISCONNECTED";
  1475. case ERROR_WMI_SERVER_UNAVAILABLE:
  1476. return "ERROR_WMI_SERVER_UNAVAILABLE";
  1477. case ERROR_WMI_DP_FAILED:
  1478. return "ERROR_WMI_DP_FAILED";
  1479. case ERROR_WMI_INVALID_MOF:
  1480. return "ERROR_WMI_INVALID_MOF";
  1481. case ERROR_WMI_INVALID_REGINFO:
  1482. return "ERROR_WMI_INVALID_REGINFO";
  1483. case ERROR_WMI_ALREADY_DISABLED:
  1484. return "ERROR_WMI_ALREADY_DISABLED";
  1485. case ERROR_WMI_READ_ONLY:
  1486. return "ERROR_WMI_READ_ONLY";
  1487. case ERROR_WMI_SET_FAILURE:
  1488. return "ERROR_WMI_SET_FAILURE";
  1489. case ERROR_INVALID_MEDIA:
  1490. return "ERROR_INVALID_MEDIA";
  1491. case ERROR_INVALID_LIBRARY:
  1492. return "ERROR_INVALID_LIBRARY";
  1493. case ERROR_INVALID_MEDIA_POOL:
  1494. return "ERROR_INVALID_MEDIA_POOL";
  1495. case ERROR_DRIVE_MEDIA_MISMATCH:
  1496. return "ERROR_DRIVE_MEDIA_MISMATCH";
  1497. case ERROR_MEDIA_OFFLINE:
  1498. return "ERROR_MEDIA_OFFLINE";
  1499. case ERROR_LIBRARY_OFFLINE:
  1500. return "ERROR_LIBRARY_OFFLINE";
  1501. case ERROR_EMPTY:
  1502. return "ERROR_EMPTY";
  1503. case ERROR_NOT_EMPTY:
  1504. return "ERROR_NOT_EMPTY";
  1505. case ERROR_MEDIA_UNAVAILABLE:
  1506. return "ERROR_MEDIA_UNAVAILABLE";
  1507. case ERROR_RESOURCE_DISABLED:
  1508. return "ERROR_RESOURCE_DISABLED";
  1509. case ERROR_INVALID_CLEANER:
  1510. return "ERROR_INVALID_CLEANER";
  1511. case ERROR_UNABLE_TO_CLEAN:
  1512. return "ERROR_UNABLE_TO_CLEAN";
  1513. case ERROR_OBJECT_NOT_FOUND:
  1514. return "ERROR_OBJECT_NOT_FOUND";
  1515. case ERROR_DATABASE_FAILURE:
  1516. return "ERROR_DATABASE_FAILURE";
  1517. case ERROR_DATABASE_FULL:
  1518. return "ERROR_DATABASE_FULL";
  1519. case ERROR_MEDIA_INCOMPATIBLE:
  1520. return "ERROR_MEDIA_INCOMPATIBLE";
  1521. case ERROR_RESOURCE_NOT_PRESENT:
  1522. return "ERROR_RESOURCE_NOT_PRESENT";
  1523. case ERROR_INVALID_OPERATION:
  1524. return "ERROR_INVALID_OPERATION";
  1525. case ERROR_MEDIA_NOT_AVAILABLE:
  1526. return "ERROR_MEDIA_NOT_AVAILABLE";
  1527. case ERROR_DEVICE_NOT_AVAILABLE:
  1528. return "ERROR_DEVICE_NOT_AVAILABLE";
  1529. case ERROR_REQUEST_REFUSED:
  1530. return "ERROR_REQUEST_REFUSED";
  1531. case ERROR_INVALID_DRIVE_OBJECT:
  1532. return "ERROR_INVALID_DRIVE_OBJECT";
  1533. case ERROR_LIBRARY_FULL:
  1534. return "ERROR_LIBRARY_FULL";
  1535. case ERROR_MEDIUM_NOT_ACCESSIBLE:
  1536. return "ERROR_MEDIUM_NOT_ACCESSIBLE";
  1537. case ERROR_UNABLE_TO_LOAD_MEDIUM:
  1538. return "ERROR_UNABLE_TO_LOAD_MEDIUM";
  1539. case ERROR_UNABLE_TO_INVENTORY_DRIVE:
  1540. return "ERROR_UNABLE_TO_INVENTORY_DRIVE";
  1541. case ERROR_UNABLE_TO_INVENTORY_SLOT:
  1542. return "ERROR_UNABLE_TO_INVENTORY_SLOT";
  1543. case ERROR_UNABLE_TO_INVENTORY_TRANSPORT:
  1544. return "ERROR_UNABLE_TO_INVENTORY_TRANSPORT";
  1545. case ERROR_TRANSPORT_FULL:
  1546. return "ERROR_TRANSPORT_FULL";
  1547. case ERROR_CONTROLLING_IEPORT:
  1548. return "ERROR_CONTROLLING_IEPORT";
  1549. case ERROR_UNABLE_TO_EJECT_MOUNTED_MEDIA:
  1550. return "ERROR_UNABLE_TO_EJECT_MOUNTED_MEDIA";
  1551. case ERROR_CLEANER_SLOT_SET:
  1552. return "ERROR_CLEANER_SLOT_SET";
  1553. case ERROR_CLEANER_SLOT_NOT_SET:
  1554. return "ERROR_CLEANER_SLOT_NOT_SET";
  1555. case ERROR_CLEANER_CARTRIDGE_SPENT:
  1556. return "ERROR_CLEANER_CARTRIDGE_SPENT";
  1557. case ERROR_UNEXPECTED_OMID:
  1558. return "ERROR_UNEXPECTED_OMID";
  1559. case ERROR_CANT_DELETE_LAST_ITEM:
  1560. return "ERROR_CANT_DELETE_LAST_ITEM";
  1561. case ERROR_MESSAGE_EXCEEDS_MAX_SIZE:
  1562. return "ERROR_MESSAGE_EXCEEDS_MAX_SIZE";
  1563. case ERROR_VOLUME_CONTAINS_SYS_FILES:
  1564. return "ERROR_VOLUME_CONTAINS_SYS_FILES";
  1565. case ERROR_INDIGENOUS_TYPE:
  1566. return "ERROR_INDIGENOUS_TYPE";
  1567. case ERROR_NO_SUPPORTING_DRIVES:
  1568. return "ERROR_NO_SUPPORTING_DRIVES";
  1569. case ERROR_CLEANER_CARTRIDGE_INSTALLED:
  1570. return "ERROR_CLEANER_CARTRIDGE_INSTALLED";
  1571. case ERROR_IEPORT_FULL:
  1572. return "ERROR_IEPORT_FULL";
  1573. case ERROR_FILE_OFFLINE:
  1574. return "ERROR_FILE_OFFLINE";
  1575. case ERROR_REMOTE_STORAGE_NOT_ACTIVE:
  1576. return "ERROR_REMOTE_STORAGE_NOT_ACTIVE";
  1577. case ERROR_REMOTE_STORAGE_MEDIA_ERROR:
  1578. return "ERROR_REMOTE_STORAGE_MEDIA_ERROR";
  1579. case ERROR_NOT_A_REPARSE_POINT:
  1580. return "ERROR_NOT_A_REPARSE_POINT";
  1581. case ERROR_REPARSE_ATTRIBUTE_CONFLICT:
  1582. return "ERROR_REPARSE_ATTRIBUTE_CONFLICT";
  1583. case ERROR_INVALID_REPARSE_DATA:
  1584. return "ERROR_INVALID_REPARSE_DATA";
  1585. case ERROR_REPARSE_TAG_INVALID:
  1586. return "ERROR_REPARSE_TAG_INVALID";
  1587. case ERROR_REPARSE_TAG_MISMATCH:
  1588. return "ERROR_REPARSE_TAG_MISMATCH";
  1589. case ERROR_VOLUME_NOT_SIS_ENABLED:
  1590. return "ERROR_VOLUME_NOT_SIS_ENABLED";
  1591. case ERROR_DEPENDENT_RESOURCE_EXISTS:
  1592. return "ERROR_DEPENDENT_RESOURCE_EXISTS";
  1593. case ERROR_DEPENDENCY_NOT_FOUND:
  1594. return "ERROR_DEPENDENCY_NOT_FOUND";
  1595. case ERROR_DEPENDENCY_ALREADY_EXISTS:
  1596. return "ERROR_DEPENDENCY_ALREADY_EXISTS";
  1597. case ERROR_RESOURCE_NOT_ONLINE:
  1598. return "ERROR_RESOURCE_NOT_ONLINE";
  1599. case ERROR_HOST_NODE_NOT_AVAILABLE:
  1600. return "ERROR_HOST_NODE_NOT_AVAILABLE";
  1601. case ERROR_RESOURCE_NOT_AVAILABLE:
  1602. return "ERROR_RESOURCE_NOT_AVAILABLE";
  1603. case ERROR_RESOURCE_NOT_FOUND:
  1604. return "ERROR_RESOURCE_NOT_FOUND";
  1605. case ERROR_SHUTDOWN_CLUSTER:
  1606. return "ERROR_SHUTDOWN_CLUSTER";
  1607. case ERROR_CANT_EVICT_ACTIVE_NODE:
  1608. return "ERROR_CANT_EVICT_ACTIVE_NODE";
  1609. case ERROR_OBJECT_ALREADY_EXISTS:
  1610. return "ERROR_OBJECT_ALREADY_EXISTS";
  1611. case ERROR_OBJECT_IN_LIST:
  1612. return "ERROR_OBJECT_IN_LIST";
  1613. case ERROR_GROUP_NOT_AVAILABLE:
  1614. return "ERROR_GROUP_NOT_AVAILABLE";
  1615. case ERROR_GROUP_NOT_FOUND:
  1616. return "ERROR_GROUP_NOT_FOUND";
  1617. case ERROR_GROUP_NOT_ONLINE:
  1618. return "ERROR_GROUP_NOT_ONLINE";
  1619. case ERROR_HOST_NODE_NOT_RESOURCE_OWNER:
  1620. return "ERROR_HOST_NODE_NOT_RESOURCE_OWNER";
  1621. case ERROR_HOST_NODE_NOT_GROUP_OWNER:
  1622. return "ERROR_HOST_NODE_NOT_GROUP_OWNER";
  1623. case ERROR_RESMON_CREATE_FAILED:
  1624. return "ERROR_RESMON_CREATE_FAILED";
  1625. case ERROR_RESMON_ONLINE_FAILED:
  1626. return "ERROR_RESMON_ONLINE_FAILED";
  1627. case ERROR_RESOURCE_ONLINE:
  1628. return "ERROR_RESOURCE_ONLINE";
  1629. case ERROR_QUORUM_RESOURCE:
  1630. return "ERROR_QUORUM_RESOURCE";
  1631. case ERROR_NOT_QUORUM_CAPABLE:
  1632. return "ERROR_NOT_QUORUM_CAPABLE";
  1633. case ERROR_CLUSTER_SHUTTING_DOWN:
  1634. return "ERROR_CLUSTER_SHUTTING_DOWN";
  1635. case ERROR_INVALID_STATE:
  1636. return "ERROR_INVALID_STATE";
  1637. case ERROR_RESOURCE_PROPERTIES_STORED:
  1638. return "ERROR_RESOURCE_PROPERTIES_STORED";
  1639. case ERROR_NOT_QUORUM_CLASS:
  1640. return "ERROR_NOT_QUORUM_CLASS";
  1641. case ERROR_CORE_RESOURCE:
  1642. return "ERROR_CORE_RESOURCE";
  1643. case ERROR_QUORUM_RESOURCE_ONLINE_FAILED:
  1644. return "ERROR_QUORUM_RESOURCE_ONLINE_FAILED";
  1645. case ERROR_QUORUMLOG_OPEN_FAILED:
  1646. return "ERROR_QUORUMLOG_OPEN_FAILED";
  1647. case ERROR_CLUSTERLOG_CORRUPT:
  1648. return "ERROR_CLUSTERLOG_CORRUPT";
  1649. case ERROR_CLUSTERLOG_RECORD_EXCEEDS_MAXSIZE:
  1650. return "ERROR_CLUSTERLOG_RECORD_EXCEEDS_MAXSIZE";
  1651. case ERROR_CLUSTERLOG_EXCEEDS_MAXSIZE:
  1652. return "ERROR_CLUSTERLOG_EXCEEDS_MAXSIZE";
  1653. case ERROR_CLUSTERLOG_CHKPOINT_NOT_FOUND:
  1654. return "ERROR_CLUSTERLOG_CHKPOINT_NOT_FOUND";
  1655. case ERROR_CLUSTERLOG_NOT_ENOUGH_SPACE:
  1656. return "ERROR_CLUSTERLOG_NOT_ENOUGH_SPACE";
  1657. case ERROR_QUORUM_OWNER_ALIVE:
  1658. return "ERROR_QUORUM_OWNER_ALIVE";
  1659. case ERROR_NETWORK_NOT_AVAILABLE:
  1660. return "ERROR_NETWORK_NOT_AVAILABLE";
  1661. case ERROR_NODE_NOT_AVAILABLE:
  1662. return "ERROR_NODE_NOT_AVAILABLE";
  1663. case ERROR_ALL_NODES_NOT_AVAILABLE:
  1664. return "ERROR_ALL_NODES_NOT_AVAILABLE";
  1665. case ERROR_RESOURCE_FAILED:
  1666. return "ERROR_RESOURCE_FAILED";
  1667. case ERROR_CLUSTER_INVALID_NODE:
  1668. return "ERROR_CLUSTER_INVALID_NODE";
  1669. case ERROR_CLUSTER_NODE_EXISTS:
  1670. return "ERROR_CLUSTER_NODE_EXISTS";
  1671. case ERROR_CLUSTER_JOIN_IN_PROGRESS:
  1672. return "ERROR_CLUSTER_JOIN_IN_PROGRESS";
  1673. case ERROR_CLUSTER_NODE_NOT_FOUND:
  1674. return "ERROR_CLUSTER_NODE_NOT_FOUND";
  1675. case ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND:
  1676. return "ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND";
  1677. case ERROR_CLUSTER_NETWORK_EXISTS:
  1678. return "ERROR_CLUSTER_NETWORK_EXISTS";
  1679. case ERROR_CLUSTER_NETWORK_NOT_FOUND:
  1680. return "ERROR_CLUSTER_NETWORK_NOT_FOUND";
  1681. case ERROR_CLUSTER_NETINTERFACE_EXISTS:
  1682. return "ERROR_CLUSTER_NETINTERFACE_EXISTS";
  1683. case ERROR_CLUSTER_NETINTERFACE_NOT_FOUND:
  1684. return "ERROR_CLUSTER_NETINTERFACE_NOT_FOUND";
  1685. case ERROR_CLUSTER_INVALID_REQUEST:
  1686. return "ERROR_CLUSTER_INVALID_REQUEST";
  1687. case ERROR_CLUSTER_INVALID_NETWORK_PROVIDER:
  1688. return "ERROR_CLUSTER_INVALID_NETWORK_PROVIDER";
  1689. case ERROR_CLUSTER_NODE_DOWN:
  1690. return "ERROR_CLUSTER_NODE_DOWN";
  1691. case ERROR_CLUSTER_NODE_UNREACHABLE:
  1692. return "ERROR_CLUSTER_NODE_UNREACHABLE";
  1693. case ERROR_CLUSTER_NODE_NOT_MEMBER:
  1694. return "ERROR_CLUSTER_NODE_NOT_MEMBER";
  1695. case ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS:
  1696. return "ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS";
  1697. case ERROR_CLUSTER_INVALID_NETWORK:
  1698. return "ERROR_CLUSTER_INVALID_NETWORK";
  1699. case ERROR_CLUSTER_NODE_UP:
  1700. return "ERROR_CLUSTER_NODE_UP";
  1701. case ERROR_CLUSTER_IPADDR_IN_USE:
  1702. return "ERROR_CLUSTER_IPADDR_IN_USE";
  1703. case ERROR_CLUSTER_NODE_NOT_PAUSED:
  1704. return "ERROR_CLUSTER_NODE_NOT_PAUSED";
  1705. case ERROR_CLUSTER_NO_SECURITY_CONTEXT:
  1706. return "ERROR_CLUSTER_NO_SECURITY_CONTEXT";
  1707. case ERROR_CLUSTER_NETWORK_NOT_INTERNAL:
  1708. return "ERROR_CLUSTER_NETWORK_NOT_INTERNAL";
  1709. case ERROR_CLUSTER_NODE_ALREADY_UP:
  1710. return "ERROR_CLUSTER_NODE_ALREADY_UP";
  1711. case ERROR_CLUSTER_NODE_ALREADY_DOWN:
  1712. return "ERROR_CLUSTER_NODE_ALREADY_DOWN";
  1713. case ERROR_CLUSTER_NETWORK_ALREADY_ONLINE:
  1714. return "ERROR_CLUSTER_NETWORK_ALREADY_ONLINE";
  1715. case ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE:
  1716. return "ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE";
  1717. case ERROR_CLUSTER_NODE_ALREADY_MEMBER:
  1718. return "ERROR_CLUSTER_NODE_ALREADY_MEMBER";
  1719. case ERROR_CLUSTER_LAST_INTERNAL_NETWORK:
  1720. return "ERROR_CLUSTER_LAST_INTERNAL_NETWORK";
  1721. case ERROR_CLUSTER_NETWORK_HAS_DEPENDENTS:
  1722. return "ERROR_CLUSTER_NETWORK_HAS_DEPENDENTS";
  1723. case ERROR_INVALID_OPERATION_ON_QUORUM:
  1724. return "ERROR_INVALID_OPERATION_ON_QUORUM";
  1725. case ERROR_DEPENDENCY_NOT_ALLOWED:
  1726. return "ERROR_DEPENDENCY_NOT_ALLOWED";
  1727. case ERROR_CLUSTER_NODE_PAUSED:
  1728. return "ERROR_CLUSTER_NODE_PAUSED";
  1729. case ERROR_NODE_CANT_HOST_RESOURCE:
  1730. return "ERROR_NODE_CANT_HOST_RESOURCE";
  1731. case ERROR_CLUSTER_NODE_NOT_READY:
  1732. return "ERROR_CLUSTER_NODE_NOT_READY";
  1733. case ERROR_CLUSTER_NODE_SHUTTING_DOWN:
  1734. return "ERROR_CLUSTER_NODE_SHUTTING_DOWN";
  1735. case ERROR_CLUSTER_JOIN_ABORTED:
  1736. return "ERROR_CLUSTER_JOIN_ABORTED";
  1737. case ERROR_CLUSTER_INCOMPATIBLE_VERSIONS:
  1738. return "ERROR_CLUSTER_INCOMPATIBLE_VERSIONS";
  1739. case ERROR_CLUSTER_MAXNUM_OF_RESOURCES_EXCEEDED:
  1740. return "ERROR_CLUSTER_MAXNUM_OF_RESOURCES_EXCEEDED";
  1741. case ERROR_CLUSTER_SYSTEM_CONFIG_CHANGED:
  1742. return "ERROR_CLUSTER_SYSTEM_CONFIG_CHANGED";
  1743. case ERROR_CLUSTER_RESOURCE_TYPE_NOT_FOUND:
  1744. return "ERROR_CLUSTER_RESOURCE_TYPE_NOT_FOUND";
  1745. case ERROR_CLUSTER_RESTYPE_NOT_SUPPORTED:
  1746. return "ERROR_CLUSTER_RESTYPE_NOT_SUPPORTED";
  1747. case ERROR_CLUSTER_RESNAME_NOT_FOUND:
  1748. return "ERROR_CLUSTER_RESNAME_NOT_FOUND";
  1749. case ERROR_CLUSTER_NO_RPC_PACKAGES_REGISTERED:
  1750. return "ERROR_CLUSTER_NO_RPC_PACKAGES_REGISTERED";
  1751. case ERROR_CLUSTER_OWNER_NOT_IN_PREFLIST:
  1752. return "ERROR_CLUSTER_OWNER_NOT_IN_PREFLIST";
  1753. case ERROR_CLUSTER_DATABASE_SEQMISMATCH:
  1754. return "ERROR_CLUSTER_DATABASE_SEQMISMATCH";
  1755. case ERROR_RESMON_INVALID_STATE:
  1756. return "ERROR_RESMON_INVALID_STATE";
  1757. case ERROR_CLUSTER_GUM_NOT_LOCKER:
  1758. return "ERROR_CLUSTER_GUM_NOT_LOCKER";
  1759. case ERROR_QUORUM_DISK_NOT_FOUND:
  1760. return "ERROR_QUORUM_DISK_NOT_FOUND";
  1761. case ERROR_DATABASE_BACKUP_CORRUPT:
  1762. return "ERROR_DATABASE_BACKUP_CORRUPT";
  1763. case ERROR_CLUSTER_NODE_ALREADY_HAS_DFS_ROOT:
  1764. return "ERROR_CLUSTER_NODE_ALREADY_HAS_DFS_ROOT";
  1765. case ERROR_RESOURCE_PROPERTY_UNCHANGEABLE:
  1766. return "ERROR_RESOURCE_PROPERTY_UNCHANGEABLE";
  1767. case ERROR_CLUSTER_MEMBERSHIP_INVALID_STATE:
  1768. return "ERROR_CLUSTER_MEMBERSHIP_INVALID_STATE";
  1769. case ERROR_CLUSTER_QUORUMLOG_NOT_FOUND:
  1770. return "ERROR_CLUSTER_QUORUMLOG_NOT_FOUND";
  1771. case ERROR_CLUSTER_MEMBERSHIP_HALT:
  1772. return "ERROR_CLUSTER_MEMBERSHIP_HALT";
  1773. case ERROR_CLUSTER_INSTANCE_ID_MISMATCH:
  1774. return "ERROR_CLUSTER_INSTANCE_ID_MISMATCH";
  1775. case ERROR_CLUSTER_NETWORK_NOT_FOUND_FOR_IP:
  1776. return "ERROR_CLUSTER_NETWORK_NOT_FOUND_FOR_IP";
  1777. case ERROR_CLUSTER_PROPERTY_DATA_TYPE_MISMATCH:
  1778. return "ERROR_CLUSTER_PROPERTY_DATA_TYPE_MISMATCH";
  1779. case ERROR_CLUSTER_EVICT_WITHOUT_CLEANUP:
  1780. return "ERROR_CLUSTER_EVICT_WITHOUT_CLEANUP";
  1781. case ERROR_CLUSTER_PARAMETER_MISMATCH:
  1782. return "ERROR_CLUSTER_PARAMETER_MISMATCH";
  1783. case ERROR_NODE_CANNOT_BE_CLUSTERED:
  1784. return "ERROR_NODE_CANNOT_BE_CLUSTERED";
  1785. case ERROR_CLUSTER_WRONG_OS_VERSION:
  1786. return "ERROR_CLUSTER_WRONG_OS_VERSION";
  1787. case ERROR_CLUSTER_CANT_CREATE_DUP_CLUSTER_NAME:
  1788. return "ERROR_CLUSTER_CANT_CREATE_DUP_CLUSTER_NAME";
  1789. case ERROR_CLUSCFG_ALREADY_COMMITTED:
  1790. return "ERROR_CLUSCFG_ALREADY_COMMITTED";
  1791. case ERROR_CLUSCFG_ROLLBACK_FAILED:
  1792. return "ERROR_CLUSCFG_ROLLBACK_FAILED";
  1793. case ERROR_CLUSCFG_SYSTEM_DISK_DRIVE_LETTER_CONFLICT:
  1794. return "ERROR_CLUSCFG_SYSTEM_DISK_DRIVE_LETTER_CONFLICT";
  1795. case ERROR_CLUSTER_OLD_VERSION:
  1796. return "ERROR_CLUSTER_OLD_VERSION";
  1797. case ERROR_CLUSTER_MISMATCHED_COMPUTER_ACCT_NAME:
  1798. return "ERROR_CLUSTER_MISMATCHED_COMPUTER_ACCT_NAME";
  1799. case ERROR_ENCRYPTION_FAILED:
  1800. return "ERROR_ENCRYPTION_FAILED";
  1801. case ERROR_DECRYPTION_FAILED:
  1802. return "ERROR_DECRYPTION_FAILED";
  1803. case ERROR_FILE_ENCRYPTED:
  1804. return "ERROR_FILE_ENCRYPTED";
  1805. case ERROR_NO_RECOVERY_POLICY:
  1806. return "ERROR_NO_RECOVERY_POLICY";
  1807. case ERROR_NO_EFS:
  1808. return "ERROR_NO_EFS";
  1809. case ERROR_WRONG_EFS:
  1810. return "ERROR_WRONG_EFS";
  1811. case ERROR_NO_USER_KEYS:
  1812. return "ERROR_NO_USER_KEYS";
  1813. case ERROR_FILE_NOT_ENCRYPTED:
  1814. return "ERROR_FILE_NOT_ENCRYPTED";
  1815. case ERROR_NOT_EXPORT_FORMAT:
  1816. return "ERROR_NOT_EXPORT_FORMAT";
  1817. case ERROR_FILE_READ_ONLY:
  1818. return "ERROR_FILE_READ_ONLY";
  1819. case ERROR_DIR_EFS_DISALLOWED:
  1820. return "ERROR_DIR_EFS_DISALLOWED";
  1821. case ERROR_EFS_SERVER_NOT_TRUSTED:
  1822. return "ERROR_EFS_SERVER_NOT_TRUSTED";
  1823. case ERROR_BAD_RECOVERY_POLICY:
  1824. return "ERROR_BAD_RECOVERY_POLICY";
  1825. case ERROR_EFS_ALG_BLOB_TOO_BIG:
  1826. return "ERROR_EFS_ALG_BLOB_TOO_BIG";
  1827. case ERROR_VOLUME_NOT_SUPPORT_EFS:
  1828. return "ERROR_VOLUME_NOT_SUPPORT_EFS";
  1829. case ERROR_EFS_DISABLED:
  1830. return "ERROR_EFS_DISABLED";
  1831. case ERROR_EFS_VERSION_NOT_SUPPORT:
  1832. return "ERROR_EFS_VERSION_NOT_SUPPORT";
  1833. case ERROR_NO_BROWSER_SERVERS_FOUND:
  1834. return "ERROR_NO_BROWSER_SERVERS_FOUND";
  1835. case ERROR_CTX_WINSTATION_NAME_INVALID:
  1836. return "ERROR_CTX_WINSTATION_NAME_INVALID";
  1837. case ERROR_CTX_INVALID_PD:
  1838. return "ERROR_CTX_INVALID_PD";
  1839. case ERROR_CTX_PD_NOT_FOUND:
  1840. return "ERROR_CTX_PD_NOT_FOUND";
  1841. case ERROR_CTX_WD_NOT_FOUND:
  1842. return "ERROR_CTX_WD_NOT_FOUND";
  1843. case ERROR_CTX_CANNOT_MAKE_EVENTLOG_ENTRY:
  1844. return "ERROR_CTX_CANNOT_MAKE_EVENTLOG_ENTRY";
  1845. case ERROR_CTX_SERVICE_NAME_COLLISION:
  1846. return "ERROR_CTX_SERVICE_NAME_COLLISION";
  1847. case ERROR_CTX_CLOSE_PENDING:
  1848. return "ERROR_CTX_CLOSE_PENDING";
  1849. case ERROR_CTX_NO_OUTBUF:
  1850. return "ERROR_CTX_NO_OUTBUF";
  1851. case ERROR_CTX_MODEM_INF_NOT_FOUND:
  1852. return "ERROR_CTX_MODEM_INF_NOT_FOUND";
  1853. case ERROR_CTX_INVALID_MODEMNAME:
  1854. return "ERROR_CTX_INVALID_MODEMNAME";
  1855. case ERROR_CTX_MODEM_RESPONSE_ERROR:
  1856. return "ERROR_CTX_MODEM_RESPONSE_ERROR";
  1857. case ERROR_CTX_MODEM_RESPONSE_TIMEOUT:
  1858. return "ERROR_CTX_MODEM_RESPONSE_TIMEOUT";
  1859. case ERROR_CTX_MODEM_RESPONSE_NO_CARRIER:
  1860. return "ERROR_CTX_MODEM_RESPONSE_NO_CARRIER";
  1861. case ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE:
  1862. return "ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE";
  1863. case ERROR_CTX_MODEM_RESPONSE_BUSY:
  1864. return "ERROR_CTX_MODEM_RESPONSE_BUSY";
  1865. case ERROR_CTX_MODEM_RESPONSE_VOICE:
  1866. return "ERROR_CTX_MODEM_RESPONSE_VOICE";
  1867. case ERROR_CTX_TD_ERROR:
  1868. return "ERROR_CTX_TD_ERROR";
  1869. case ERROR_CTX_WINSTATION_NOT_FOUND:
  1870. return "ERROR_CTX_WINSTATION_NOT_FOUND";
  1871. case ERROR_CTX_WINSTATION_ALREADY_EXISTS:
  1872. return "ERROR_CTX_WINSTATION_ALREADY_EXISTS";
  1873. case ERROR_CTX_WINSTATION_BUSY:
  1874. return "ERROR_CTX_WINSTATION_BUSY";
  1875. case ERROR_CTX_BAD_VIDEO_MODE:
  1876. return "ERROR_CTX_BAD_VIDEO_MODE";
  1877. case ERROR_CTX_GRAPHICS_INVALID:
  1878. return "ERROR_CTX_GRAPHICS_INVALID";
  1879. case ERROR_CTX_LOGON_DISABLED:
  1880. return "ERROR_CTX_LOGON_DISABLED";
  1881. case ERROR_CTX_NOT_CONSOLE:
  1882. return "ERROR_CTX_NOT_CONSOLE";
  1883. case ERROR_CTX_CLIENT_QUERY_TIMEOUT:
  1884. return "ERROR_CTX_CLIENT_QUERY_TIMEOUT";
  1885. case ERROR_CTX_CONSOLE_DISCONNECT:
  1886. return "ERROR_CTX_CONSOLE_DISCONNECT";
  1887. case ERROR_CTX_CONSOLE_CONNECT:
  1888. return "ERROR_CTX_CONSOLE_CONNECT";
  1889. case ERROR_CTX_SHADOW_DENIED:
  1890. return "ERROR_CTX_SHADOW_DENIED";
  1891. case ERROR_CTX_WINSTATION_ACCESS_DENIED:
  1892. return "ERROR_CTX_WINSTATION_ACCESS_DENIED";
  1893. case ERROR_CTX_INVALID_WD:
  1894. return "ERROR_CTX_INVALID_WD";
  1895. case ERROR_CTX_SHADOW_INVALID:
  1896. return "ERROR_CTX_SHADOW_INVALID";
  1897. case ERROR_CTX_SHADOW_DISABLED:
  1898. return "ERROR_CTX_SHADOW_DISABLED";
  1899. case ERROR_CTX_CLIENT_LICENSE_IN_USE:
  1900. return "ERROR_CTX_CLIENT_LICENSE_IN_USE";
  1901. case ERROR_CTX_CLIENT_LICENSE_NOT_SET:
  1902. return "ERROR_CTX_CLIENT_LICENSE_NOT_SET";
  1903. case ERROR_CTX_LICENSE_NOT_AVAILABLE:
  1904. return "ERROR_CTX_LICENSE_NOT_AVAILABLE";
  1905. case ERROR_CTX_LICENSE_CLIENT_INVALID:
  1906. return "ERROR_CTX_LICENSE_CLIENT_INVALID";
  1907. case ERROR_CTX_LICENSE_EXPIRED:
  1908. return "ERROR_CTX_LICENSE_EXPIRED";
  1909. case ERROR_CTX_SHADOW_NOT_RUNNING:
  1910. return "ERROR_CTX_SHADOW_NOT_RUNNING";
  1911. case ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE:
  1912. return "ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE";
  1913. case ERROR_ACTIVATION_COUNT_EXCEEDED:
  1914. return "ERROR_ACTIVATION_COUNT_EXCEEDED";
  1915. case ERROR_DS_NOT_INSTALLED:
  1916. return "ERROR_DS_NOT_INSTALLED";
  1917. case ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY:
  1918. return "ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY";
  1919. case ERROR_DS_NO_ATTRIBUTE_OR_VALUE:
  1920. return "ERROR_DS_NO_ATTRIBUTE_OR_VALUE";
  1921. case ERROR_DS_INVALID_ATTRIBUTE_SYNTAX:
  1922. return "ERROR_DS_INVALID_ATTRIBUTE_SYNTAX";
  1923. case ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED:
  1924. return "ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED";
  1925. case ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS:
  1926. return "ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS";
  1927. case ERROR_DS_BUSY:
  1928. return "ERROR_DS_BUSY";
  1929. case ERROR_DS_UNAVAILABLE:
  1930. return "ERROR_DS_UNAVAILABLE";
  1931. case ERROR_DS_NO_RIDS_ALLOCATED:
  1932. return "ERROR_DS_NO_RIDS_ALLOCATED";
  1933. case ERROR_DS_NO_MORE_RIDS:
  1934. return "ERROR_DS_NO_MORE_RIDS";
  1935. case ERROR_DS_INCORRECT_ROLE_OWNER:
  1936. return "ERROR_DS_INCORRECT_ROLE_OWNER";
  1937. case ERROR_DS_RIDMGR_INIT_ERROR:
  1938. return "ERROR_DS_RIDMGR_INIT_ERROR";
  1939. case ERROR_DS_OBJ_CLASS_VIOLATION:
  1940. return "ERROR_DS_OBJ_CLASS_VIOLATION";
  1941. case ERROR_DS_CANT_ON_NON_LEAF:
  1942. return "ERROR_DS_CANT_ON_NON_LEAF";
  1943. case ERROR_DS_CANT_ON_RDN:
  1944. return "ERROR_DS_CANT_ON_RDN";
  1945. case ERROR_DS_CANT_MOD_OBJ_CLASS:
  1946. return "ERROR_DS_CANT_MOD_OBJ_CLASS";
  1947. case ERROR_DS_CROSS_DOM_MOVE_ERROR:
  1948. return "ERROR_DS_CROSS_DOM_MOVE_ERROR";
  1949. case ERROR_DS_GC_NOT_AVAILABLE:
  1950. return "ERROR_DS_GC_NOT_AVAILABLE";
  1951. case ERROR_SHARED_POLICY:
  1952. return "ERROR_SHARED_POLICY";
  1953. case ERROR_POLICY_OBJECT_NOT_FOUND:
  1954. return "ERROR_POLICY_OBJECT_NOT_FOUND";
  1955. case ERROR_POLICY_ONLY_IN_DS:
  1956. return "ERROR_POLICY_ONLY_IN_DS";
  1957. case ERROR_PROMOTION_ACTIVE:
  1958. return "ERROR_PROMOTION_ACTIVE";
  1959. case ERROR_NO_PROMOTION_ACTIVE:
  1960. return "ERROR_NO_PROMOTION_ACTIVE";
  1961. case ERROR_DS_OPERATIONS_ERROR:
  1962. return "ERROR_DS_OPERATIONS_ERROR";
  1963. case ERROR_DS_PROTOCOL_ERROR:
  1964. return "ERROR_DS_PROTOCOL_ERROR";
  1965. case ERROR_DS_TIMELIMIT_EXCEEDED:
  1966. return "ERROR_DS_TIMELIMIT_EXCEEDED";
  1967. case ERROR_DS_SIZELIMIT_EXCEEDED:
  1968. return "ERROR_DS_SIZELIMIT_EXCEEDED";
  1969. case ERROR_DS_ADMIN_LIMIT_EXCEEDED:
  1970. return "ERROR_DS_ADMIN_LIMIT_EXCEEDED";
  1971. case ERROR_DS_COMPARE_FALSE:
  1972. return "ERROR_DS_COMPARE_FALSE";
  1973. case ERROR_DS_COMPARE_TRUE:
  1974. return "ERROR_DS_COMPARE_TRUE";
  1975. case ERROR_DS_AUTH_METHOD_NOT_SUPPORTED:
  1976. return "ERROR_DS_AUTH_METHOD_NOT_SUPPORTED";
  1977. case ERROR_DS_STRONG_AUTH_REQUIRED:
  1978. return "ERROR_DS_STRONG_AUTH_REQUIRED";
  1979. case ERROR_DS_INAPPROPRIATE_AUTH:
  1980. return "ERROR_DS_INAPPROPRIATE_AUTH";
  1981. case ERROR_DS_AUTH_UNKNOWN:
  1982. return "ERROR_DS_AUTH_UNKNOWN";
  1983. case ERROR_DS_REFERRAL:
  1984. return "ERROR_DS_REFERRAL";
  1985. case ERROR_DS_UNAVAILABLE_CRIT_EXTENSION:
  1986. return "ERROR_DS_UNAVAILABLE_CRIT_EXTENSION";
  1987. case ERROR_DS_CONFIDENTIALITY_REQUIRED:
  1988. return "ERROR_DS_CONFIDENTIALITY_REQUIRED";
  1989. case ERROR_DS_INAPPROPRIATE_MATCHING:
  1990. return "ERROR_DS_INAPPROPRIATE_MATCHING";
  1991. case ERROR_DS_CONSTRAINT_VIOLATION:
  1992. return "ERROR_DS_CONSTRAINT_VIOLATION";
  1993. case ERROR_DS_NO_SUCH_OBJECT:
  1994. return "ERROR_DS_NO_SUCH_OBJECT";
  1995. case ERROR_DS_ALIAS_PROBLEM:
  1996. return "ERROR_DS_ALIAS_PROBLEM";
  1997. case ERROR_DS_INVALID_DN_SYNTAX:
  1998. return "ERROR_DS_INVALID_DN_SYNTAX";
  1999. case ERROR_DS_IS_LEAF:
  2000. return "ERROR_DS_IS_LEAF";
  2001. case ERROR_DS_ALIAS_DEREF_PROBLEM:
  2002. return "ERROR_DS_ALIAS_DEREF_PROBLEM";
  2003. case ERROR_DS_UNWILLING_TO_PERFORM:
  2004. return "ERROR_DS_UNWILLING_TO_PERFORM";
  2005. case ERROR_DS_LOOP_DETECT:
  2006. return "ERROR_DS_LOOP_DETECT";
  2007. case ERROR_DS_NAMING_VIOLATION:
  2008. return "ERROR_DS_NAMING_VIOLATION";
  2009. case ERROR_DS_OBJECT_RESULTS_TOO_LARGE:
  2010. return "ERROR_DS_OBJECT_RESULTS_TOO_LARGE";
  2011. case ERROR_DS_AFFECTS_MULTIPLE_DSAS:
  2012. return "ERROR_DS_AFFECTS_MULTIPLE_DSAS";
  2013. case ERROR_DS_SERVER_DOWN:
  2014. return "ERROR_DS_SERVER_DOWN";
  2015. case ERROR_DS_LOCAL_ERROR:
  2016. return "ERROR_DS_LOCAL_ERROR";
  2017. case ERROR_DS_ENCODING_ERROR:
  2018. return "ERROR_DS_ENCODING_ERROR";
  2019. case ERROR_DS_DECODING_ERROR:
  2020. return "ERROR_DS_DECODING_ERROR";
  2021. case ERROR_DS_FILTER_UNKNOWN:
  2022. return "ERROR_DS_FILTER_UNKNOWN";
  2023. case ERROR_DS_PARAM_ERROR:
  2024. return "ERROR_DS_PARAM_ERROR";
  2025. case ERROR_DS_NOT_SUPPORTED:
  2026. return "ERROR_DS_NOT_SUPPORTED";
  2027. case ERROR_DS_NO_RESULTS_RETURNED:
  2028. return "ERROR_DS_NO_RESULTS_RETURNED";
  2029. case ERROR_DS_CONTROL_NOT_FOUND:
  2030. return "ERROR_DS_CONTROL_NOT_FOUND";
  2031. case ERROR_DS_CLIENT_LOOP:
  2032. return "ERROR_DS_CLIENT_LOOP";
  2033. case ERROR_DS_REFERRAL_LIMIT_EXCEEDED:
  2034. return "ERROR_DS_REFERRAL_LIMIT_EXCEEDED";
  2035. case ERROR_DS_SORT_CONTROL_MISSING:
  2036. return "ERROR_DS_SORT_CONTROL_MISSING";
  2037. case ERROR_DS_OFFSET_RANGE_ERROR:
  2038. return "ERROR_DS_OFFSET_RANGE_ERROR";
  2039. case ERROR_DS_ROOT_MUST_BE_NC:
  2040. return "ERROR_DS_ROOT_MUST_BE_NC";
  2041. case ERROR_DS_ADD_REPLICA_INHIBITED:
  2042. return "ERROR_DS_ADD_REPLICA_INHIBITED";
  2043. case ERROR_DS_ATT_NOT_DEF_IN_SCHEMA:
  2044. return "ERROR_DS_ATT_NOT_DEF_IN_SCHEMA";
  2045. case ERROR_DS_MAX_OBJ_SIZE_EXCEEDED:
  2046. return "ERROR_DS_MAX_OBJ_SIZE_EXCEEDED";
  2047. case ERROR_DS_OBJ_STRING_NAME_EXISTS:
  2048. return "ERROR_DS_OBJ_STRING_NAME_EXISTS";
  2049. case ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA:
  2050. return "ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA";
  2051. case ERROR_DS_RDN_DOESNT_MATCH_SCHEMA:
  2052. return "ERROR_DS_RDN_DOESNT_MATCH_SCHEMA";
  2053. case ERROR_DS_NO_REQUESTED_ATTS_FOUND:
  2054. return "ERROR_DS_NO_REQUESTED_ATTS_FOUND";
  2055. case ERROR_DS_USER_BUFFER_TO_SMALL:
  2056. return "ERROR_DS_USER_BUFFER_TO_SMALL";
  2057. case ERROR_DS_ATT_IS_NOT_ON_OBJ:
  2058. return "ERROR_DS_ATT_IS_NOT_ON_OBJ";
  2059. case ERROR_DS_ILLEGAL_MOD_OPERATION:
  2060. return "ERROR_DS_ILLEGAL_MOD_OPERATION";
  2061. case ERROR_DS_OBJ_TOO_LARGE:
  2062. return "ERROR_DS_OBJ_TOO_LARGE";
  2063. case ERROR_DS_BAD_INSTANCE_TYPE:
  2064. return "ERROR_DS_BAD_INSTANCE_TYPE";
  2065. case ERROR_DS_MASTERDSA_REQUIRED:
  2066. return "ERROR_DS_MASTERDSA_REQUIRED";
  2067. case ERROR_DS_OBJECT_CLASS_REQUIRED:
  2068. return "ERROR_DS_OBJECT_CLASS_REQUIRED";
  2069. case ERROR_DS_MISSING_REQUIRED_ATT:
  2070. return "ERROR_DS_MISSING_REQUIRED_ATT";
  2071. case ERROR_DS_ATT_NOT_DEF_FOR_CLASS:
  2072. return "ERROR_DS_ATT_NOT_DEF_FOR_CLASS";
  2073. case ERROR_DS_ATT_ALREADY_EXISTS:
  2074. return "ERROR_DS_ATT_ALREADY_EXISTS";
  2075. case ERROR_DS_CANT_ADD_ATT_VALUES:
  2076. return "ERROR_DS_CANT_ADD_ATT_VALUES";
  2077. case ERROR_DS_SINGLE_VALUE_CONSTRAINT:
  2078. return "ERROR_DS_SINGLE_VALUE_CONSTRAINT";
  2079. case ERROR_DS_RANGE_CONSTRAINT:
  2080. return "ERROR_DS_RANGE_CONSTRAINT";
  2081. case ERROR_DS_ATT_VAL_ALREADY_EXISTS:
  2082. return "ERROR_DS_ATT_VAL_ALREADY_EXISTS";
  2083. case ERROR_DS_CANT_REM_MISSING_ATT:
  2084. return "ERROR_DS_CANT_REM_MISSING_ATT";
  2085. case ERROR_DS_CANT_REM_MISSING_ATT_VAL:
  2086. return "ERROR_DS_CANT_REM_MISSING_ATT_VAL";
  2087. case ERROR_DS_ROOT_CANT_BE_SUBREF:
  2088. return "ERROR_DS_ROOT_CANT_BE_SUBREF";
  2089. case ERROR_DS_NO_CHAINING:
  2090. return "ERROR_DS_NO_CHAINING";
  2091. case ERROR_DS_NO_CHAINED_EVAL:
  2092. return "ERROR_DS_NO_CHAINED_EVAL";
  2093. case ERROR_DS_NO_PARENT_OBJECT:
  2094. return "ERROR_DS_NO_PARENT_OBJECT";
  2095. case ERROR_DS_PARENT_IS_AN_ALIAS:
  2096. return "ERROR_DS_PARENT_IS_AN_ALIAS";
  2097. case ERROR_DS_CANT_MIX_MASTER_AND_REPS:
  2098. return "ERROR_DS_CANT_MIX_MASTER_AND_REPS";
  2099. case ERROR_DS_CHILDREN_EXIST:
  2100. return "ERROR_DS_CHILDREN_EXIST";
  2101. case ERROR_DS_OBJ_NOT_FOUND:
  2102. return "ERROR_DS_OBJ_NOT_FOUND";
  2103. case ERROR_DS_ALIASED_OBJ_MISSING:
  2104. return "ERROR_DS_ALIASED_OBJ_MISSING";
  2105. case ERROR_DS_BAD_NAME_SYNTAX:
  2106. return "ERROR_DS_BAD_NAME_SYNTAX";
  2107. case ERROR_DS_ALIAS_POINTS_TO_ALIAS:
  2108. return "ERROR_DS_ALIAS_POINTS_TO_ALIAS";
  2109. case ERROR_DS_CANT_DEREF_ALIAS:
  2110. return "ERROR_DS_CANT_DEREF_ALIAS";
  2111. case ERROR_DS_OUT_OF_SCOPE:
  2112. return "ERROR_DS_OUT_OF_SCOPE";
  2113. case ERROR_DS_OBJECT_BEING_REMOVED:
  2114. return "ERROR_DS_OBJECT_BEING_REMOVED";
  2115. case ERROR_DS_CANT_DELETE_DSA_OBJ:
  2116. return "ERROR_DS_CANT_DELETE_DSA_OBJ";
  2117. case ERROR_DS_GENERIC_ERROR:
  2118. return "ERROR_DS_GENERIC_ERROR";
  2119. case ERROR_DS_DSA_MUST_BE_INT_MASTER:
  2120. return "ERROR_DS_DSA_MUST_BE_INT_MASTER";
  2121. case ERROR_DS_CLASS_NOT_DSA:
  2122. return "ERROR_DS_CLASS_NOT_DSA";
  2123. case ERROR_DS_INSUFF_ACCESS_RIGHTS:
  2124. return "ERROR_DS_INSUFF_ACCESS_RIGHTS";
  2125. case ERROR_DS_ILLEGAL_SUPERIOR:
  2126. return "ERROR_DS_ILLEGAL_SUPERIOR";
  2127. case ERROR_DS_ATTRIBUTE_OWNED_BY_SAM:
  2128. return "ERROR_DS_ATTRIBUTE_OWNED_BY_SAM";
  2129. case ERROR_DS_NAME_TOO_MANY_PARTS:
  2130. return "ERROR_DS_NAME_TOO_MANY_PARTS";
  2131. case ERROR_DS_NAME_TOO_LONG:
  2132. return "ERROR_DS_NAME_TOO_LONG";
  2133. case ERROR_DS_NAME_VALUE_TOO_LONG:
  2134. return "ERROR_DS_NAME_VALUE_TOO_LONG";
  2135. case ERROR_DS_NAME_UNPARSEABLE:
  2136. return "ERROR_DS_NAME_UNPARSEABLE";
  2137. case ERROR_DS_NAME_TYPE_UNKNOWN:
  2138. return "ERROR_DS_NAME_TYPE_UNKNOWN";
  2139. case ERROR_DS_NOT_AN_OBJECT:
  2140. return "ERROR_DS_NOT_AN_OBJECT";
  2141. case ERROR_DS_SEC_DESC_TOO_SHORT:
  2142. return "ERROR_DS_SEC_DESC_TOO_SHORT";
  2143. case ERROR_DS_SEC_DESC_INVALID:
  2144. return "ERROR_DS_SEC_DESC_INVALID";
  2145. case ERROR_DS_NO_DELETED_NAME:
  2146. return "ERROR_DS_NO_DELETED_NAME";
  2147. case ERROR_DS_SUBREF_MUST_HAVE_PARENT:
  2148. return "ERROR_DS_SUBREF_MUST_HAVE_PARENT";
  2149. case ERROR_DS_NCNAME_MUST_BE_NC:
  2150. return "ERROR_DS_NCNAME_MUST_BE_NC";
  2151. case ERROR_DS_CANT_ADD_SYSTEM_ONLY:
  2152. return "ERROR_DS_CANT_ADD_SYSTEM_ONLY";
  2153. case ERROR_DS_CLASS_MUST_BE_CONCRETE:
  2154. return "ERROR_DS_CLASS_MUST_BE_CONCRETE";
  2155. case ERROR_DS_INVALID_DMD:
  2156. return "ERROR_DS_INVALID_DMD";
  2157. case ERROR_DS_OBJ_GUID_EXISTS:
  2158. return "ERROR_DS_OBJ_GUID_EXISTS";
  2159. case ERROR_DS_NOT_ON_BACKLINK:
  2160. return "ERROR_DS_NOT_ON_BACKLINK";
  2161. case ERROR_DS_NO_CROSSREF_FOR_NC:
  2162. return "ERROR_DS_NO_CROSSREF_FOR_NC";
  2163. case ERROR_DS_SHUTTING_DOWN:
  2164. return "ERROR_DS_SHUTTING_DOWN";
  2165. case ERROR_DS_UNKNOWN_OPERATION:
  2166. return "ERROR_DS_UNKNOWN_OPERATION";
  2167. case ERROR_DS_INVALID_ROLE_OWNER:
  2168. return "ERROR_DS_INVALID_ROLE_OWNER";
  2169. case ERROR_DS_COULDNT_CONTACT_FSMO:
  2170. return "ERROR_DS_COULDNT_CONTACT_FSMO";
  2171. case ERROR_DS_CROSS_NC_DN_RENAME:
  2172. return "ERROR_DS_CROSS_NC_DN_RENAME";
  2173. case ERROR_DS_CANT_MOD_SYSTEM_ONLY:
  2174. return "ERROR_DS_CANT_MOD_SYSTEM_ONLY";
  2175. case ERROR_DS_REPLICATOR_ONLY:
  2176. return "ERROR_DS_REPLICATOR_ONLY";
  2177. case ERROR_DS_OBJ_CLASS_NOT_DEFINED:
  2178. return "ERROR_DS_OBJ_CLASS_NOT_DEFINED";
  2179. case ERROR_DS_OBJ_CLASS_NOT_SUBCLASS:
  2180. return "ERROR_DS_OBJ_CLASS_NOT_SUBCLASS";
  2181. case ERROR_DS_NAME_REFERENCE_INVALID:
  2182. return "ERROR_DS_NAME_REFERENCE_INVALID";
  2183. case ERROR_DS_CROSS_REF_EXISTS:
  2184. return "ERROR_DS_CROSS_REF_EXISTS";
  2185. case ERROR_DS_CANT_DEL_MASTER_CROSSREF:
  2186. return "ERROR_DS_CANT_DEL_MASTER_CROSSREF";
  2187. case ERROR_DS_SUBTREE_NOTIFY_NOT_NC_HEAD:
  2188. return "ERROR_DS_SUBTREE_NOTIFY_NOT_NC_HEAD";
  2189. case ERROR_DS_NOTIFY_FILTER_TOO_COMPLEX:
  2190. return "ERROR_DS_NOTIFY_FILTER_TOO_COMPLEX";
  2191. case ERROR_DS_DUP_RDN:
  2192. return "ERROR_DS_DUP_RDN";
  2193. case ERROR_DS_DUP_OID:
  2194. return "ERROR_DS_DUP_OID";
  2195. case ERROR_DS_DUP_MAPI_ID:
  2196. return "ERROR_DS_DUP_MAPI_ID";
  2197. case ERROR_DS_DUP_SCHEMA_ID_GUID:
  2198. return "ERROR_DS_DUP_SCHEMA_ID_GUID";
  2199. case ERROR_DS_DUP_LDAP_DISPLAY_NAME:
  2200. return "ERROR_DS_DUP_LDAP_DISPLAY_NAME";
  2201. case ERROR_DS_SEMANTIC_ATT_TEST:
  2202. return "ERROR_DS_SEMANTIC_ATT_TEST";
  2203. case ERROR_DS_SYNTAX_MISMATCH:
  2204. return "ERROR_DS_SYNTAX_MISMATCH";
  2205. case ERROR_DS_EXISTS_IN_MUST_HAVE:
  2206. return "ERROR_DS_EXISTS_IN_MUST_HAVE";
  2207. case ERROR_DS_EXISTS_IN_MAY_HAVE:
  2208. return "ERROR_DS_EXISTS_IN_MAY_HAVE";
  2209. case ERROR_DS_NONEXISTENT_MAY_HAVE:
  2210. return "ERROR_DS_NONEXISTENT_MAY_HAVE";
  2211. case ERROR_DS_NONEXISTENT_MUST_HAVE:
  2212. return "ERROR_DS_NONEXISTENT_MUST_HAVE";
  2213. case ERROR_DS_AUX_CLS_TEST_FAIL:
  2214. return "ERROR_DS_AUX_CLS_TEST_FAIL";
  2215. case ERROR_DS_NONEXISTENT_POSS_SUP:
  2216. return "ERROR_DS_NONEXISTENT_POSS_SUP";
  2217. case ERROR_DS_SUB_CLS_TEST_FAIL:
  2218. return "ERROR_DS_SUB_CLS_TEST_FAIL";
  2219. case ERROR_DS_BAD_RDN_ATT_ID_SYNTAX:
  2220. return "ERROR_DS_BAD_RDN_ATT_ID_SYNTAX";
  2221. case ERROR_DS_EXISTS_IN_AUX_CLS:
  2222. return "ERROR_DS_EXISTS_IN_AUX_CLS";
  2223. case ERROR_DS_EXISTS_IN_SUB_CLS:
  2224. return "ERROR_DS_EXISTS_IN_SUB_CLS";
  2225. case ERROR_DS_EXISTS_IN_POSS_SUP:
  2226. return "ERROR_DS_EXISTS_IN_POSS_SUP";
  2227. case ERROR_DS_RECALCSCHEMA_FAILED:
  2228. return "ERROR_DS_RECALCSCHEMA_FAILED";
  2229. case ERROR_DS_TREE_DELETE_NOT_FINISHED:
  2230. return "ERROR_DS_TREE_DELETE_NOT_FINISHED";
  2231. case ERROR_DS_CANT_DELETE:
  2232. return "ERROR_DS_CANT_DELETE";
  2233. case ERROR_DS_ATT_SCHEMA_REQ_ID:
  2234. return "ERROR_DS_ATT_SCHEMA_REQ_ID";
  2235. case ERROR_DS_BAD_ATT_SCHEMA_SYNTAX:
  2236. return "ERROR_DS_BAD_ATT_SCHEMA_SYNTAX";
  2237. case ERROR_DS_CANT_CACHE_ATT:
  2238. return "ERROR_DS_CANT_CACHE_ATT";
  2239. case ERROR_DS_CANT_CACHE_CLASS:
  2240. return "ERROR_DS_CANT_CACHE_CLASS";
  2241. case ERROR_DS_CANT_REMOVE_ATT_CACHE:
  2242. return "ERROR_DS_CANT_REMOVE_ATT_CACHE";
  2243. case ERROR_DS_CANT_REMOVE_CLASS_CACHE:
  2244. return "ERROR_DS_CANT_REMOVE_CLASS_CACHE";
  2245. case ERROR_DS_CANT_RETRIEVE_DN:
  2246. return "ERROR_DS_CANT_RETRIEVE_DN";
  2247. case ERROR_DS_MISSING_SUPREF:
  2248. return "ERROR_DS_MISSING_SUPREF";
  2249. case ERROR_DS_CANT_RETRIEVE_INSTANCE:
  2250. return "ERROR_DS_CANT_RETRIEVE_INSTANCE";
  2251. case ERROR_DS_CODE_INCONSISTENCY:
  2252. return "ERROR_DS_CODE_INCONSISTENCY";
  2253. case ERROR_DS_DATABASE_ERROR:
  2254. return "ERROR_DS_DATABASE_ERROR";
  2255. case ERROR_DS_GOVERNSID_MISSING:
  2256. return "ERROR_DS_GOVERNSID_MISSING";
  2257. case ERROR_DS_MISSING_EXPECTED_ATT:
  2258. return "ERROR_DS_MISSING_EXPECTED_ATT";
  2259. case ERROR_DS_NCNAME_MISSING_CR_REF:
  2260. return "ERROR_DS_NCNAME_MISSING_CR_REF";
  2261. case ERROR_DS_SECURITY_CHECKING_ERROR:
  2262. return "ERROR_DS_SECURITY_CHECKING_ERROR";
  2263. case ERROR_DS_SCHEMA_NOT_LOADED:
  2264. return "ERROR_DS_SCHEMA_NOT_LOADED";
  2265. case ERROR_DS_SCHEMA_ALLOC_FAILED:
  2266. return "ERROR_DS_SCHEMA_ALLOC_FAILED";
  2267. case ERROR_DS_ATT_SCHEMA_REQ_SYNTAX:
  2268. return "ERROR_DS_ATT_SCHEMA_REQ_SYNTAX";
  2269. case ERROR_DS_GCVERIFY_ERROR:
  2270. return "ERROR_DS_GCVERIFY_ERROR";
  2271. case ERROR_DS_DRA_SCHEMA_MISMATCH:
  2272. return "ERROR_DS_DRA_SCHEMA_MISMATCH";
  2273. case ERROR_DS_CANT_FIND_DSA_OBJ:
  2274. return "ERROR_DS_CANT_FIND_DSA_OBJ";
  2275. case ERROR_DS_CANT_FIND_EXPECTED_NC:
  2276. return "ERROR_DS_CANT_FIND_EXPECTED_NC";
  2277. case ERROR_DS_CANT_FIND_NC_IN_CACHE:
  2278. return "ERROR_DS_CANT_FIND_NC_IN_CACHE";
  2279. case ERROR_DS_CANT_RETRIEVE_CHILD:
  2280. return "ERROR_DS_CANT_RETRIEVE_CHILD";
  2281. case ERROR_DS_SECURITY_ILLEGAL_MODIFY:
  2282. return "ERROR_DS_SECURITY_ILLEGAL_MODIFY";
  2283. case ERROR_DS_CANT_REPLACE_HIDDEN_REC:
  2284. return "ERROR_DS_CANT_REPLACE_HIDDEN_REC";
  2285. case ERROR_DS_BAD_HIERARCHY_FILE:
  2286. return "ERROR_DS_BAD_HIERARCHY_FILE";
  2287. case ERROR_DS_BUILD_HIERARCHY_TABLE_FAILED:
  2288. return "ERROR_DS_BUILD_HIERARCHY_TABLE_FAILED";
  2289. case ERROR_DS_CONFIG_PARAM_MISSING:
  2290. return "ERROR_DS_CONFIG_PARAM_MISSING";
  2291. case ERROR_DS_COUNTING_AB_INDICES_FAILED:
  2292. return "ERROR_DS_COUNTING_AB_INDICES_FAILED";
  2293. case ERROR_DS_HIERARCHY_TABLE_MALLOC_FAILED:
  2294. return "ERROR_DS_HIERARCHY_TABLE_MALLOC_FAILED";
  2295. case ERROR_DS_INTERNAL_FAILURE:
  2296. return "ERROR_DS_INTERNAL_FAILURE";
  2297. case ERROR_DS_UNKNOWN_ERROR:
  2298. return "ERROR_DS_UNKNOWN_ERROR";
  2299. case ERROR_DS_ROOT_REQUIRES_CLASS_TOP:
  2300. return "ERROR_DS_ROOT_REQUIRES_CLASS_TOP";
  2301. case ERROR_DS_REFUSING_FSMO_ROLES:
  2302. return "ERROR_DS_REFUSING_FSMO_ROLES";
  2303. case ERROR_DS_MISSING_FSMO_SETTINGS:
  2304. return "ERROR_DS_MISSING_FSMO_SETTINGS";
  2305. case ERROR_DS_UNABLE_TO_SURRENDER_ROLES:
  2306. return "ERROR_DS_UNABLE_TO_SURRENDER_ROLES";
  2307. case ERROR_DS_DRA_GENERIC:
  2308. return "ERROR_DS_DRA_GENERIC";
  2309. case ERROR_DS_DRA_INVALID_PARAMETER:
  2310. return "ERROR_DS_DRA_INVALID_PARAMETER";
  2311. case ERROR_DS_DRA_BUSY:
  2312. return "ERROR_DS_DRA_BUSY";
  2313. case ERROR_DS_DRA_BAD_DN:
  2314. return "ERROR_DS_DRA_BAD_DN";
  2315. case ERROR_DS_DRA_BAD_NC:
  2316. return "ERROR_DS_DRA_BAD_NC";
  2317. case ERROR_DS_DRA_DN_EXISTS:
  2318. return "ERROR_DS_DRA_DN_EXISTS";
  2319. case ERROR_DS_DRA_INTERNAL_ERROR:
  2320. return "ERROR_DS_DRA_INTERNAL_ERROR";
  2321. case ERROR_DS_DRA_INCONSISTENT_DIT:
  2322. return "ERROR_DS_DRA_INCONSISTENT_DIT";
  2323. case ERROR_DS_DRA_CONNECTION_FAILED:
  2324. return "ERROR_DS_DRA_CONNECTION_FAILED";
  2325. case ERROR_DS_DRA_BAD_INSTANCE_TYPE:
  2326. return "ERROR_DS_DRA_BAD_INSTANCE_TYPE";
  2327. case ERROR_DS_DRA_OUT_OF_MEM:
  2328. return "ERROR_DS_DRA_OUT_OF_MEM";
  2329. case ERROR_DS_DRA_MAIL_PROBLEM:
  2330. return "ERROR_DS_DRA_MAIL_PROBLEM";
  2331. case ERROR_DS_DRA_REF_ALREADY_EXISTS:
  2332. return "ERROR_DS_DRA_REF_ALREADY_EXISTS";
  2333. case ERROR_DS_DRA_REF_NOT_FOUND:
  2334. return "ERROR_DS_DRA_REF_NOT_FOUND";
  2335. case ERROR_DS_DRA_OBJ_IS_REP_SOURCE:
  2336. return "ERROR_DS_DRA_OBJ_IS_REP_SOURCE";
  2337. case ERROR_DS_DRA_DB_ERROR:
  2338. return "ERROR_DS_DRA_DB_ERROR";
  2339. case ERROR_DS_DRA_NO_REPLICA:
  2340. return "ERROR_DS_DRA_NO_REPLICA";
  2341. case ERROR_DS_DRA_ACCESS_DENIED:
  2342. return "ERROR_DS_DRA_ACCESS_DENIED";
  2343. case ERROR_DS_DRA_NOT_SUPPORTED:
  2344. return "ERROR_DS_DRA_NOT_SUPPORTED";
  2345. case ERROR_DS_DRA_RPC_CANCELLED:
  2346. return "ERROR_DS_DRA_RPC_CANCELLED";
  2347. case ERROR_DS_DRA_SOURCE_DISABLED:
  2348. return "ERROR_DS_DRA_SOURCE_DISABLED";
  2349. case ERROR_DS_DRA_SINK_DISABLED:
  2350. return "ERROR_DS_DRA_SINK_DISABLED";
  2351. case ERROR_DS_DRA_NAME_COLLISION:
  2352. return "ERROR_DS_DRA_NAME_COLLISION";
  2353. case ERROR_DS_DRA_SOURCE_REINSTALLED:
  2354. return "ERROR_DS_DRA_SOURCE_REINSTALLED";
  2355. case ERROR_DS_DRA_MISSING_PARENT:
  2356. return "ERROR_DS_DRA_MISSING_PARENT";
  2357. case ERROR_DS_DRA_PREEMPTED:
  2358. return "ERROR_DS_DRA_PREEMPTED";
  2359. case ERROR_DS_DRA_ABANDON_SYNC:
  2360. return "ERROR_DS_DRA_ABANDON_SYNC";
  2361. case ERROR_DS_DRA_SHUTDOWN:
  2362. return "ERROR_DS_DRA_SHUTDOWN";
  2363. case ERROR_DS_DRA_INCOMPATIBLE_PARTIAL_SET:
  2364. return "ERROR_DS_DRA_INCOMPATIBLE_PARTIAL_SET";
  2365. case ERROR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA:
  2366. return "ERROR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA";
  2367. case ERROR_DS_DRA_EXTN_CONNECTION_FAILED:
  2368. return "ERROR_DS_DRA_EXTN_CONNECTION_FAILED";
  2369. case ERROR_DS_INSTALL_SCHEMA_MISMATCH:
  2370. return "ERROR_DS_INSTALL_SCHEMA_MISMATCH";
  2371. case ERROR_DS_DUP_LINK_ID:
  2372. return "ERROR_DS_DUP_LINK_ID";
  2373. case ERROR_DS_NAME_ERROR_RESOLVING:
  2374. return "ERROR_DS_NAME_ERROR_RESOLVING";
  2375. case ERROR_DS_NAME_ERROR_NOT_FOUND:
  2376. return "ERROR_DS_NAME_ERROR_NOT_FOUND";
  2377. case ERROR_DS_NAME_ERROR_NOT_UNIQUE:
  2378. return "ERROR_DS_NAME_ERROR_NOT_UNIQUE";
  2379. case ERROR_DS_NAME_ERROR_NO_MAPPING:
  2380. return "ERROR_DS_NAME_ERROR_NO_MAPPING";
  2381. case ERROR_DS_NAME_ERROR_DOMAIN_ONLY:
  2382. return "ERROR_DS_NAME_ERROR_DOMAIN_ONLY";
  2383. case ERROR_DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING:
  2384. return "ERROR_DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING";
  2385. case ERROR_DS_CONSTRUCTED_ATT_MOD:
  2386. return "ERROR_DS_CONSTRUCTED_ATT_MOD";
  2387. case ERROR_DS_WRONG_OM_OBJ_CLASS:
  2388. return "ERROR_DS_WRONG_OM_OBJ_CLASS";
  2389. case ERROR_DS_DRA_REPL_PENDING:
  2390. return "ERROR_DS_DRA_REPL_PENDING";
  2391. case ERROR_DS_DS_REQUIRED:
  2392. return "ERROR_DS_DS_REQUIRED";
  2393. case ERROR_DS_INVALID_LDAP_DISPLAY_NAME:
  2394. return "ERROR_DS_INVALID_LDAP_DISPLAY_NAME";
  2395. case ERROR_DS_NON_BASE_SEARCH:
  2396. return "ERROR_DS_NON_BASE_SEARCH";
  2397. case ERROR_DS_CANT_RETRIEVE_ATTS:
  2398. return "ERROR_DS_CANT_RETRIEVE_ATTS";
  2399. case ERROR_DS_BACKLINK_WITHOUT_LINK:
  2400. return "ERROR_DS_BACKLINK_WITHOUT_LINK";
  2401. case ERROR_DS_EPOCH_MISMATCH:
  2402. return "ERROR_DS_EPOCH_MISMATCH";
  2403. case ERROR_DS_SRC_NAME_MISMATCH:
  2404. return "ERROR_DS_SRC_NAME_MISMATCH";
  2405. case ERROR_DS_SRC_AND_DST_NC_IDENTICAL:
  2406. return "ERROR_DS_SRC_AND_DST_NC_IDENTICAL";
  2407. case ERROR_DS_DST_NC_MISMATCH:
  2408. return "ERROR_DS_DST_NC_MISMATCH";
  2409. case ERROR_DS_NOT_AUTHORITIVE_FOR_DST_NC:
  2410. return "ERROR_DS_NOT_AUTHORITIVE_FOR_DST_NC";
  2411. case ERROR_DS_SRC_GUID_MISMATCH:
  2412. return "ERROR_DS_SRC_GUID_MISMATCH";
  2413. case ERROR_DS_CANT_MOVE_DELETED_OBJECT:
  2414. return "ERROR_DS_CANT_MOVE_DELETED_OBJECT";
  2415. case ERROR_DS_PDC_OPERATION_IN_PROGRESS:
  2416. return "ERROR_DS_PDC_OPERATION_IN_PROGRESS";
  2417. case ERROR_DS_CROSS_DOMAIN_CLEANUP_REQD:
  2418. return "ERROR_DS_CROSS_DOMAIN_CLEANUP_REQD";
  2419. case ERROR_DS_ILLEGAL_XDOM_MOVE_OPERATION:
  2420. return "ERROR_DS_ILLEGAL_XDOM_MOVE_OPERATION";
  2421. case ERROR_DS_CANT_WITH_ACCT_GROUP_MEMBERSHPS:
  2422. return "ERROR_DS_CANT_WITH_ACCT_GROUP_MEMBERSHPS";
  2423. case ERROR_DS_NC_MUST_HAVE_NC_PARENT:
  2424. return "ERROR_DS_NC_MUST_HAVE_NC_PARENT";
  2425. case ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE:
  2426. return "ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE";
  2427. case ERROR_DS_DST_DOMAIN_NOT_NATIVE:
  2428. return "ERROR_DS_DST_DOMAIN_NOT_NATIVE";
  2429. case ERROR_DS_MISSING_INFRASTRUCTURE_CONTAINER:
  2430. return "ERROR_DS_MISSING_INFRASTRUCTURE_CONTAINER";
  2431. case ERROR_DS_CANT_MOVE_ACCOUNT_GROUP:
  2432. return "ERROR_DS_CANT_MOVE_ACCOUNT_GROUP";
  2433. case ERROR_DS_CANT_MOVE_RESOURCE_GROUP:
  2434. return "ERROR_DS_CANT_MOVE_RESOURCE_GROUP";
  2435. case ERROR_DS_INVALID_SEARCH_FLAG:
  2436. return "ERROR_DS_INVALID_SEARCH_FLAG";
  2437. case ERROR_DS_NO_TREE_DELETE_ABOVE_NC:
  2438. return "ERROR_DS_NO_TREE_DELETE_ABOVE_NC";
  2439. case ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE:
  2440. return "ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE";
  2441. case ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE:
  2442. return "ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE";
  2443. case ERROR_DS_SAM_INIT_FAILURE:
  2444. return "ERROR_DS_SAM_INIT_FAILURE";
  2445. case ERROR_DS_SENSITIVE_GROUP_VIOLATION:
  2446. return "ERROR_DS_SENSITIVE_GROUP_VIOLATION";
  2447. case ERROR_DS_CANT_MOD_PRIMARYGROUPID:
  2448. return "ERROR_DS_CANT_MOD_PRIMARYGROUPID";
  2449. case ERROR_DS_ILLEGAL_BASE_SCHEMA_MOD:
  2450. return "ERROR_DS_ILLEGAL_BASE_SCHEMA_MOD";
  2451. case ERROR_DS_NONSAFE_SCHEMA_CHANGE:
  2452. return "ERROR_DS_NONSAFE_SCHEMA_CHANGE";
  2453. case ERROR_DS_SCHEMA_UPDATE_DISALLOWED:
  2454. return "ERROR_DS_SCHEMA_UPDATE_DISALLOWED";
  2455. case ERROR_DS_CANT_CREATE_UNDER_SCHEMA:
  2456. return "ERROR_DS_CANT_CREATE_UNDER_SCHEMA";
  2457. case ERROR_DS_INSTALL_NO_SRC_SCH_VERSION:
  2458. return "ERROR_DS_INSTALL_NO_SRC_SCH_VERSION";
  2459. case ERROR_DS_INSTALL_NO_SCH_VERSION_IN_INIFILE:
  2460. return "ERROR_DS_INSTALL_NO_SCH_VERSION_IN_INIFILE";
  2461. case ERROR_DS_INVALID_GROUP_TYPE:
  2462. return "ERROR_DS_INVALID_GROUP_TYPE";
  2463. case ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN:
  2464. return "ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN";
  2465. case ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN:
  2466. return "ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN";
  2467. case ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER:
  2468. return "ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER";
  2469. case ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER:
  2470. return "ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER";
  2471. case ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER:
  2472. return "ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER";
  2473. case ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER:
  2474. return "ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER";
  2475. case ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER:
  2476. return "ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER";
  2477. case ERROR_DS_HAVE_PRIMARY_MEMBERS:
  2478. return "ERROR_DS_HAVE_PRIMARY_MEMBERS";
  2479. case ERROR_DS_STRING_SD_CONVERSION_FAILED:
  2480. return "ERROR_DS_STRING_SD_CONVERSION_FAILED";
  2481. case ERROR_DS_NAMING_MASTER_GC:
  2482. return "ERROR_DS_NAMING_MASTER_GC";
  2483. case ERROR_DS_DNS_LOOKUP_FAILURE:
  2484. return "ERROR_DS_DNS_LOOKUP_FAILURE";
  2485. case ERROR_DS_COULDNT_UPDATE_SPNS:
  2486. return "ERROR_DS_COULDNT_UPDATE_SPNS";
  2487. case ERROR_DS_CANT_RETRIEVE_SD:
  2488. return "ERROR_DS_CANT_RETRIEVE_SD";
  2489. case ERROR_DS_KEY_NOT_UNIQUE:
  2490. return "ERROR_DS_KEY_NOT_UNIQUE";
  2491. case ERROR_DS_WRONG_LINKED_ATT_SYNTAX:
  2492. return "ERROR_DS_WRONG_LINKED_ATT_SYNTAX";
  2493. case ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD:
  2494. return "ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD";
  2495. case ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY:
  2496. return "ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY";
  2497. case ERROR_DS_CANT_START:
  2498. return "ERROR_DS_CANT_START";
  2499. case ERROR_DS_INIT_FAILURE:
  2500. return "ERROR_DS_INIT_FAILURE";
  2501. case ERROR_DS_NO_PKT_PRIVACY_ON_CONNECTION:
  2502. return "ERROR_DS_NO_PKT_PRIVACY_ON_CONNECTION";
  2503. case ERROR_DS_SOURCE_DOMAIN_IN_FOREST:
  2504. return "ERROR_DS_SOURCE_DOMAIN_IN_FOREST";
  2505. case ERROR_DS_DESTINATION_DOMAIN_NOT_IN_FOREST:
  2506. return "ERROR_DS_DESTINATION_DOMAIN_NOT_IN_FOREST";
  2507. case ERROR_DS_DESTINATION_AUDITING_NOT_ENABLED:
  2508. return "ERROR_DS_DESTINATION_AUDITING_NOT_ENABLED";
  2509. case ERROR_DS_CANT_FIND_DC_FOR_SRC_DOMAIN:
  2510. return "ERROR_DS_CANT_FIND_DC_FOR_SRC_DOMAIN";
  2511. case ERROR_DS_SRC_OBJ_NOT_GROUP_OR_USER:
  2512. return "ERROR_DS_SRC_OBJ_NOT_GROUP_OR_USER";
  2513. case ERROR_DS_SRC_SID_EXISTS_IN_FOREST:
  2514. return "ERROR_DS_SRC_SID_EXISTS_IN_FOREST";
  2515. case ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH:
  2516. return "ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH";
  2517. case ERROR_SAM_INIT_FAILURE:
  2518. return "ERROR_SAM_INIT_FAILURE";
  2519. case ERROR_DS_DRA_SCHEMA_INFO_SHIP:
  2520. return "ERROR_DS_DRA_SCHEMA_INFO_SHIP";
  2521. case ERROR_DS_DRA_SCHEMA_CONFLICT:
  2522. return "ERROR_DS_DRA_SCHEMA_CONFLICT";
  2523. case ERROR_DS_DRA_EARLIER_SCHEMA_CONFLICT:
  2524. return "ERROR_DS_DRA_EARLIER_SCHEMA_CONFLICT";
  2525. case ERROR_DS_DRA_OBJ_NC_MISMATCH:
  2526. return "ERROR_DS_DRA_OBJ_NC_MISMATCH";
  2527. case ERROR_DS_NC_STILL_HAS_DSAS:
  2528. return "ERROR_DS_NC_STILL_HAS_DSAS";
  2529. case ERROR_DS_GC_REQUIRED:
  2530. return "ERROR_DS_GC_REQUIRED";
  2531. case ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY:
  2532. return "ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY";
  2533. case ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS:
  2534. return "ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS";
  2535. case ERROR_DS_CANT_ADD_TO_GC:
  2536. return "ERROR_DS_CANT_ADD_TO_GC";
  2537. case ERROR_DS_NO_CHECKPOINT_WITH_PDC:
  2538. return "ERROR_DS_NO_CHECKPOINT_WITH_PDC";
  2539. case ERROR_DS_SOURCE_AUDITING_NOT_ENABLED:
  2540. return "ERROR_DS_SOURCE_AUDITING_NOT_ENABLED";
  2541. case ERROR_DS_CANT_CREATE_IN_NONDOMAIN_NC:
  2542. return "ERROR_DS_CANT_CREATE_IN_NONDOMAIN_NC";
  2543. case ERROR_DS_INVALID_NAME_FOR_SPN:
  2544. return "ERROR_DS_INVALID_NAME_FOR_SPN";
  2545. case ERROR_DS_FILTER_USES_CONTRUCTED_ATTRS:
  2546. return "ERROR_DS_FILTER_USES_CONTRUCTED_ATTRS";
  2547. case ERROR_DS_UNICODEPWD_NOT_IN_QUOTES:
  2548. return "ERROR_DS_UNICODEPWD_NOT_IN_QUOTES";
  2549. case ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED:
  2550. return "ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED";
  2551. case ERROR_DS_MUST_BE_RUN_ON_DST_DC:
  2552. return "ERROR_DS_MUST_BE_RUN_ON_DST_DC";
  2553. case ERROR_DS_SRC_DC_MUST_BE_SP4_OR_GREATER:
  2554. return "ERROR_DS_SRC_DC_MUST_BE_SP4_OR_GREATER";
  2555. case ERROR_DS_CANT_TREE_DELETE_CRITICAL_OBJ:
  2556. return "ERROR_DS_CANT_TREE_DELETE_CRITICAL_OBJ";
  2557. case ERROR_DS_INIT_FAILURE_CONSOLE:
  2558. return "ERROR_DS_INIT_FAILURE_CONSOLE";
  2559. case ERROR_DS_SAM_INIT_FAILURE_CONSOLE:
  2560. return "ERROR_DS_SAM_INIT_FAILURE_CONSOLE";
  2561. case ERROR_DS_FOREST_VERSION_TOO_HIGH:
  2562. return "ERROR_DS_FOREST_VERSION_TOO_HIGH";
  2563. case ERROR_DS_DOMAIN_VERSION_TOO_HIGH:
  2564. return "ERROR_DS_DOMAIN_VERSION_TOO_HIGH";
  2565. case ERROR_DS_FOREST_VERSION_TOO_LOW:
  2566. return "ERROR_DS_FOREST_VERSION_TOO_LOW";
  2567. case ERROR_DS_DOMAIN_VERSION_TOO_LOW:
  2568. return "ERROR_DS_DOMAIN_VERSION_TOO_LOW";
  2569. case ERROR_DS_INCOMPATIBLE_VERSION:
  2570. return "ERROR_DS_INCOMPATIBLE_VERSION";
  2571. case ERROR_DS_LOW_DSA_VERSION:
  2572. return "ERROR_DS_LOW_DSA_VERSION";
  2573. case ERROR_DS_NO_BEHAVIOR_VERSION_IN_MIXEDDOMAIN:
  2574. return "ERROR_DS_NO_BEHAVIOR_VERSION_IN_MIXEDDOMAIN";
  2575. case ERROR_DS_NOT_SUPPORTED_SORT_ORDER:
  2576. return "ERROR_DS_NOT_SUPPORTED_SORT_ORDER";
  2577. case ERROR_DS_NAME_NOT_UNIQUE:
  2578. return "ERROR_DS_NAME_NOT_UNIQUE";
  2579. case ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4:
  2580. return "ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4";
  2581. case ERROR_DS_OUT_OF_VERSION_STORE:
  2582. return "ERROR_DS_OUT_OF_VERSION_STORE";
  2583. case ERROR_DS_INCOMPATIBLE_CONTROLS_USED:
  2584. return "ERROR_DS_INCOMPATIBLE_CONTROLS_USED";
  2585. case ERROR_DS_NO_REF_DOMAIN:
  2586. return "ERROR_DS_NO_REF_DOMAIN";
  2587. case ERROR_DS_RESERVED_LINK_ID:
  2588. return "ERROR_DS_RESERVED_LINK_ID";
  2589. case ERROR_DS_LINK_ID_NOT_AVAILABLE:
  2590. return "ERROR_DS_LINK_ID_NOT_AVAILABLE";
  2591. case ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER:
  2592. return "ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER";
  2593. case ERROR_DS_MODIFYDN_DISALLOWED_BY_INSTANCE_TYPE:
  2594. return "ERROR_DS_MODIFYDN_DISALLOWED_BY_INSTANCE_TYPE";
  2595. case ERROR_DS_NO_OBJECT_MOVE_IN_SCHEMA_NC:
  2596. return "ERROR_DS_NO_OBJECT_MOVE_IN_SCHEMA_NC";
  2597. case ERROR_DS_MODIFYDN_DISALLOWED_BY_FLAG:
  2598. return "ERROR_DS_MODIFYDN_DISALLOWED_BY_FLAG";
  2599. case ERROR_DS_MODIFYDN_WRONG_GRANDPARENT:
  2600. return "ERROR_DS_MODIFYDN_WRONG_GRANDPARENT";
  2601. case ERROR_DS_NAME_ERROR_TRUST_REFERRAL:
  2602. return "ERROR_DS_NAME_ERROR_TRUST_REFERRAL";
  2603. case ERROR_NOT_SUPPORTED_ON_STANDARD_SERVER:
  2604. return "ERROR_NOT_SUPPORTED_ON_STANDARD_SERVER";
  2605. case ERROR_DS_CANT_ACCESS_REMOTE_PART_OF_AD:
  2606. return "ERROR_DS_CANT_ACCESS_REMOTE_PART_OF_AD";
  2607. case ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE_V2:
  2608. return "ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE_V2";
  2609. case ERROR_DS_THREAD_LIMIT_EXCEEDED:
  2610. return "ERROR_DS_THREAD_LIMIT_EXCEEDED";
  2611. case ERROR_DS_NOT_CLOSEST:
  2612. return "ERROR_DS_NOT_CLOSEST";
  2613. case ERROR_DS_CANT_DERIVE_SPN_WITHOUT_SERVER_REF:
  2614. return "ERROR_DS_CANT_DERIVE_SPN_WITHOUT_SERVER_REF";
  2615. case ERROR_DS_SINGLE_USER_MODE_FAILED:
  2616. return "ERROR_DS_SINGLE_USER_MODE_FAILED";
  2617. case ERROR_DS_NTDSCRIPT_SYNTAX_ERROR:
  2618. return "ERROR_DS_NTDSCRIPT_SYNTAX_ERROR";
  2619. case ERROR_DS_NTDSCRIPT_PROCESS_ERROR:
  2620. return "ERROR_DS_NTDSCRIPT_PROCESS_ERROR";
  2621. case ERROR_DS_DIFFERENT_REPL_EPOCHS:
  2622. return "ERROR_DS_DIFFERENT_REPL_EPOCHS";
  2623. case ERROR_DS_DRS_EXTENSIONS_CHANGED:
  2624. return "ERROR_DS_DRS_EXTENSIONS_CHANGED";
  2625. case ERROR_DS_REPLICA_SET_CHANGE_NOT_ALLOWED_ON_DISABLED_CR:
  2626. return "ERROR_DS_REPLICA_SET_CHANGE_NOT_ALLOWED_ON_DISABLED_CR";
  2627. case ERROR_DS_NO_MSDS_INTID:
  2628. return "ERROR_DS_NO_MSDS_INTID";
  2629. case ERROR_DS_DUP_MSDS_INTID:
  2630. return "ERROR_DS_DUP_MSDS_INTID";
  2631. case ERROR_DS_EXISTS_IN_RDNATTID:
  2632. return "ERROR_DS_EXISTS_IN_RDNATTID";
  2633. case ERROR_DS_AUTHORIZATION_FAILED:
  2634. return "ERROR_DS_AUTHORIZATION_FAILED";
  2635. case ERROR_DS_INVALID_SCRIPT:
  2636. return "ERROR_DS_INVALID_SCRIPT";
  2637. case ERROR_DS_REMOTE_CROSSREF_OP_FAILED:
  2638. return "ERROR_DS_REMOTE_CROSSREF_OP_FAILED";
  2639. case ERROR_DS_CROSS_REF_BUSY:
  2640. return "ERROR_DS_CROSS_REF_BUSY";
  2641. case ERROR_DS_CANT_DERIVE_SPN_FOR_DELETED_DOMAIN:
  2642. return "ERROR_DS_CANT_DERIVE_SPN_FOR_DELETED_DOMAIN";
  2643. case ERROR_DS_CANT_DEMOTE_WITH_WRITEABLE_NC:
  2644. return "ERROR_DS_CANT_DEMOTE_WITH_WRITEABLE_NC";
  2645. case ERROR_DS_DUPLICATE_ID_FOUND:
  2646. return "ERROR_DS_DUPLICATE_ID_FOUND";
  2647. case ERROR_DS_INSUFFICIENT_ATTR_TO_CREATE_OBJECT:
  2648. return "ERROR_DS_INSUFFICIENT_ATTR_TO_CREATE_OBJECT";
  2649. case ERROR_DS_GROUP_CONVERSION_ERROR:
  2650. return "ERROR_DS_GROUP_CONVERSION_ERROR";
  2651. case ERROR_DS_CANT_MOVE_APP_BASIC_GROUP:
  2652. return "ERROR_DS_CANT_MOVE_APP_BASIC_GROUP";
  2653. case ERROR_DS_CANT_MOVE_APP_QUERY_GROUP:
  2654. return "ERROR_DS_CANT_MOVE_APP_QUERY_GROUP";
  2655. case ERROR_DS_ROLE_NOT_VERIFIED:
  2656. return "ERROR_DS_ROLE_NOT_VERIFIED";
  2657. case ERROR_DS_WKO_CONTAINER_CANNOT_BE_SPECIAL:
  2658. return "ERROR_DS_WKO_CONTAINER_CANNOT_BE_SPECIAL";
  2659. case ERROR_DS_DOMAIN_RENAME_IN_PROGRESS:
  2660. return "ERROR_DS_DOMAIN_RENAME_IN_PROGRESS";
  2661. case ERROR_DS_EXISTING_AD_CHILD_NC:
  2662. return "ERROR_DS_EXISTING_AD_CHILD_NC";
  2663. case ERROR_DS_REPL_LIFETIME_EXCEEDED:
  2664. return "ERROR_DS_REPL_LIFETIME_EXCEEDED";
  2665. case ERROR_DS_DISALLOWED_IN_SYSTEM_CONTAINER:
  2666. return "ERROR_DS_DISALLOWED_IN_SYSTEM_CONTAINER";
  2667. case ERROR_DS_LDAP_SEND_QUEUE_FULL:
  2668. return "ERROR_DS_LDAP_SEND_QUEUE_FULL";
  2669. case ERROR_DS_DRA_OUT_SCHEDULE_WINDOW:
  2670. return "ERROR_DS_DRA_OUT_SCHEDULE_WINDOW";
  2671. case ERROR_SXS_SECTION_NOT_FOUND:
  2672. return "ERROR_SXS_SECTION_NOT_FOUND";
  2673. case ERROR_SXS_CANT_GEN_ACTCTX:
  2674. return "ERROR_SXS_CANT_GEN_ACTCTX";
  2675. case ERROR_SXS_INVALID_ACTCTXDATA_FORMAT:
  2676. return "ERROR_SXS_INVALID_ACTCTXDATA_FORMAT";
  2677. case ERROR_SXS_ASSEMBLY_NOT_FOUND:
  2678. return "ERROR_SXS_ASSEMBLY_NOT_FOUND";
  2679. case ERROR_SXS_MANIFEST_FORMAT_ERROR:
  2680. return "ERROR_SXS_MANIFEST_FORMAT_ERROR";
  2681. case ERROR_SXS_MANIFEST_PARSE_ERROR:
  2682. return "ERROR_SXS_MANIFEST_PARSE_ERROR";
  2683. case ERROR_SXS_ACTIVATION_CONTEXT_DISABLED:
  2684. return "ERROR_SXS_ACTIVATION_CONTEXT_DISABLED";
  2685. case ERROR_SXS_KEY_NOT_FOUND:
  2686. return "ERROR_SXS_KEY_NOT_FOUND";
  2687. case ERROR_SXS_VERSION_CONFLICT:
  2688. return "ERROR_SXS_VERSION_CONFLICT";
  2689. case ERROR_SXS_WRONG_SECTION_TYPE:
  2690. return "ERROR_SXS_WRONG_SECTION_TYPE";
  2691. case ERROR_SXS_THREAD_QUERIES_DISABLED:
  2692. return "ERROR_SXS_THREAD_QUERIES_DISABLED";
  2693. case ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET:
  2694. return "ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET";
  2695. case ERROR_SXS_UNKNOWN_ENCODING_GROUP:
  2696. return "ERROR_SXS_UNKNOWN_ENCODING_GROUP";
  2697. case ERROR_SXS_UNKNOWN_ENCODING:
  2698. return "ERROR_SXS_UNKNOWN_ENCODING";
  2699. case ERROR_SXS_INVALID_XML_NAMESPACE_URI:
  2700. return "ERROR_SXS_INVALID_XML_NAMESPACE_URI";
  2701. case ERROR_SXS_ROOT_MANIFEST_DEPENDENCY_NOT_INSTALLED:
  2702. return "ERROR_SXS_ROOT_MANIFEST_DEPENDENCY_NOT_INSTALLED";
  2703. case ERROR_SXS_LEAF_MANIFEST_DEPENDENCY_NOT_INSTALLED:
  2704. return "ERROR_SXS_LEAF_MANIFEST_DEPENDENCY_NOT_INSTALLED";
  2705. case ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE:
  2706. return "ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE";
  2707. case ERROR_SXS_MANIFEST_MISSING_REQUIRED_DEFAULT_NAMESPACE:
  2708. return "ERROR_SXS_MANIFEST_MISSING_REQUIRED_DEFAULT_NAMESPACE";
  2709. case ERROR_SXS_MANIFEST_INVALID_REQUIRED_DEFAULT_NAMESPACE:
  2710. return "ERROR_SXS_MANIFEST_INVALID_REQUIRED_DEFAULT_NAMESPACE";
  2711. case ERROR_SXS_PRIVATE_MANIFEST_CROSS_PATH_WITH_REPARSE_POINT:
  2712. return "ERROR_SXS_PRIVATE_MANIFEST_CROSS_PATH_WITH_REPARSE_POINT";
  2713. case ERROR_SXS_DUPLICATE_DLL_NAME:
  2714. return "ERROR_SXS_DUPLICATE_DLL_NAME";
  2715. case ERROR_SXS_DUPLICATE_WINDOWCLASS_NAME:
  2716. return "ERROR_SXS_DUPLICATE_WINDOWCLASS_NAME";
  2717. case ERROR_SXS_DUPLICATE_CLSID:
  2718. return "ERROR_SXS_DUPLICATE_CLSID";
  2719. case ERROR_SXS_DUPLICATE_IID:
  2720. return "ERROR_SXS_DUPLICATE_IID";
  2721. case ERROR_SXS_DUPLICATE_TLBID:
  2722. return "ERROR_SXS_DUPLICATE_TLBID";
  2723. case ERROR_SXS_DUPLICATE_PROGID:
  2724. return "ERROR_SXS_DUPLICATE_PROGID";
  2725. case ERROR_SXS_DUPLICATE_ASSEMBLY_NAME:
  2726. return "ERROR_SXS_DUPLICATE_ASSEMBLY_NAME";
  2727. case ERROR_SXS_FILE_HASH_MISMATCH:
  2728. return "ERROR_SXS_FILE_HASH_MISMATCH";
  2729. case ERROR_SXS_POLICY_PARSE_ERROR:
  2730. return "ERROR_SXS_POLICY_PARSE_ERROR";
  2731. case ERROR_SXS_XML_E_MISSINGQUOTE:
  2732. return "ERROR_SXS_XML_E_MISSINGQUOTE";
  2733. case ERROR_SXS_XML_E_COMMENTSYNTAX:
  2734. return "ERROR_SXS_XML_E_COMMENTSYNTAX";
  2735. case ERROR_SXS_XML_E_BADSTARTNAMECHAR:
  2736. return "ERROR_SXS_XML_E_BADSTARTNAMECHAR";
  2737. case ERROR_SXS_XML_E_BADNAMECHAR:
  2738. return "ERROR_SXS_XML_E_BADNAMECHAR";
  2739. case ERROR_SXS_XML_E_BADCHARINSTRING:
  2740. return "ERROR_SXS_XML_E_BADCHARINSTRING";
  2741. case ERROR_SXS_XML_E_XMLDECLSYNTAX:
  2742. return "ERROR_SXS_XML_E_XMLDECLSYNTAX";
  2743. case ERROR_SXS_XML_E_BADCHARDATA:
  2744. return "ERROR_SXS_XML_E_BADCHARDATA";
  2745. case ERROR_SXS_XML_E_MISSINGWHITESPACE:
  2746. return "ERROR_SXS_XML_E_MISSINGWHITESPACE";
  2747. case ERROR_SXS_XML_E_EXPECTINGTAGEND:
  2748. return "ERROR_SXS_XML_E_EXPECTINGTAGEND";
  2749. case ERROR_SXS_XML_E_MISSINGSEMICOLON:
  2750. return "ERROR_SXS_XML_E_MISSINGSEMICOLON";
  2751. case ERROR_SXS_XML_E_UNBALANCEDPAREN:
  2752. return "ERROR_SXS_XML_E_UNBALANCEDPAREN";
  2753. case ERROR_SXS_XML_E_INTERNALERROR:
  2754. return "ERROR_SXS_XML_E_INTERNALERROR";
  2755. case ERROR_SXS_XML_E_UNEXPECTED_WHITESPACE:
  2756. return "ERROR_SXS_XML_E_UNEXPECTED_WHITESPACE";
  2757. case ERROR_SXS_XML_E_INCOMPLETE_ENCODING:
  2758. return "ERROR_SXS_XML_E_INCOMPLETE_ENCODING";
  2759. case ERROR_SXS_XML_E_MISSING_PAREN:
  2760. return "ERROR_SXS_XML_E_MISSING_PAREN";
  2761. case ERROR_SXS_XML_E_EXPECTINGCLOSEQUOTE:
  2762. return "ERROR_SXS_XML_E_EXPECTINGCLOSEQUOTE";
  2763. case ERROR_SXS_XML_E_MULTIPLE_COLONS:
  2764. return "ERROR_SXS_XML_E_MULTIPLE_COLONS";
  2765. case ERROR_SXS_XML_E_INVALID_DECIMAL:
  2766. return "ERROR_SXS_XML_E_INVALID_DECIMAL";
  2767. case ERROR_SXS_XML_E_INVALID_HEXIDECIMAL:
  2768. return "ERROR_SXS_XML_E_INVALID_HEXIDECIMAL";
  2769. case ERROR_SXS_XML_E_INVALID_UNICODE:
  2770. return "ERROR_SXS_XML_E_INVALID_UNICODE";
  2771. case ERROR_SXS_XML_E_WHITESPACEORQUESTIONMARK:
  2772. return "ERROR_SXS_XML_E_WHITESPACEORQUESTIONMARK";
  2773. case ERROR_SXS_XML_E_UNEXPECTEDENDTAG:
  2774. return "ERROR_SXS_XML_E_UNEXPECTEDENDTAG";
  2775. case ERROR_SXS_XML_E_UNCLOSEDTAG:
  2776. return "ERROR_SXS_XML_E_UNCLOSEDTAG";
  2777. case ERROR_SXS_XML_E_DUPLICATEATTRIBUTE:
  2778. return "ERROR_SXS_XML_E_DUPLICATEATTRIBUTE";
  2779. case ERROR_SXS_XML_E_MULTIPLEROOTS:
  2780. return "ERROR_SXS_XML_E_MULTIPLEROOTS";
  2781. case ERROR_SXS_XML_E_INVALIDATROOTLEVEL:
  2782. return "ERROR_SXS_XML_E_INVALIDATROOTLEVEL";
  2783. case ERROR_SXS_XML_E_BADXMLDECL:
  2784. return "ERROR_SXS_XML_E_BADXMLDECL";
  2785. case ERROR_SXS_XML_E_MISSINGROOT:
  2786. return "ERROR_SXS_XML_E_MISSINGROOT";
  2787. case ERROR_SXS_XML_E_UNEXPECTEDEOF:
  2788. return "ERROR_SXS_XML_E_UNEXPECTEDEOF";
  2789. case ERROR_SXS_XML_E_BADPEREFINSUBSET:
  2790. return "ERROR_SXS_XML_E_BADPEREFINSUBSET";
  2791. case ERROR_SXS_XML_E_UNCLOSEDSTARTTAG:
  2792. return "ERROR_SXS_XML_E_UNCLOSEDSTARTTAG";
  2793. case ERROR_SXS_XML_E_UNCLOSEDENDTAG:
  2794. return "ERROR_SXS_XML_E_UNCLOSEDENDTAG";
  2795. case ERROR_SXS_XML_E_UNCLOSEDSTRING:
  2796. return "ERROR_SXS_XML_E_UNCLOSEDSTRING";
  2797. case ERROR_SXS_XML_E_UNCLOSEDCOMMENT:
  2798. return "ERROR_SXS_XML_E_UNCLOSEDCOMMENT";
  2799. case ERROR_SXS_XML_E_UNCLOSEDDECL:
  2800. return "ERROR_SXS_XML_E_UNCLOSEDDECL";
  2801. case ERROR_SXS_XML_E_UNCLOSEDCDATA:
  2802. return "ERROR_SXS_XML_E_UNCLOSEDCDATA";
  2803. case ERROR_SXS_XML_E_RESERVEDNAMESPACE:
  2804. return "ERROR_SXS_XML_E_RESERVEDNAMESPACE";
  2805. case ERROR_SXS_XML_E_INVALIDENCODING:
  2806. return "ERROR_SXS_XML_E_INVALIDENCODING";
  2807. case ERROR_SXS_XML_E_INVALIDSWITCH:
  2808. return "ERROR_SXS_XML_E_INVALIDSWITCH";
  2809. case ERROR_SXS_XML_E_BADXMLCASE:
  2810. return "ERROR_SXS_XML_E_BADXMLCASE";
  2811. case ERROR_SXS_XML_E_INVALID_STANDALONE:
  2812. return "ERROR_SXS_XML_E_INVALID_STANDALONE";
  2813. case ERROR_SXS_XML_E_UNEXPECTED_STANDALONE:
  2814. return "ERROR_SXS_XML_E_UNEXPECTED_STANDALONE";
  2815. case ERROR_SXS_XML_E_INVALID_VERSION:
  2816. return "ERROR_SXS_XML_E_INVALID_VERSION";
  2817. case ERROR_SXS_XML_E_MISSINGEQUALS:
  2818. return "ERROR_SXS_XML_E_MISSINGEQUALS";
  2819. case ERROR_SXS_PROTECTION_RECOVERY_FAILED:
  2820. return "ERROR_SXS_PROTECTION_RECOVERY_FAILED";
  2821. case ERROR_SXS_PROTECTION_PUBLIC_KEY_TOO_SHORT:
  2822. return "ERROR_SXS_PROTECTION_PUBLIC_KEY_TOO_SHORT";
  2823. case ERROR_SXS_PROTECTION_CATALOG_NOT_VALID:
  2824. return "ERROR_SXS_PROTECTION_CATALOG_NOT_VALID";
  2825. case ERROR_SXS_UNTRANSLATABLE_HRESULT:
  2826. return "ERROR_SXS_UNTRANSLATABLE_HRESULT";
  2827. case ERROR_SXS_PROTECTION_CATALOG_FILE_MISSING:
  2828. return "ERROR_SXS_PROTECTION_CATALOG_FILE_MISSING";
  2829. case ERROR_SXS_MISSING_ASSEMBLY_IDENTITY_ATTRIBUTE:
  2830. return "ERROR_SXS_MISSING_ASSEMBLY_IDENTITY_ATTRIBUTE";
  2831. case ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE_NAME:
  2832. return "ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE_NAME";
  2833. case ERROR_IPSEC_QM_POLICY_EXISTS:
  2834. return "ERROR_IPSEC_QM_POLICY_EXISTS";
  2835. case ERROR_IPSEC_QM_POLICY_NOT_FOUND:
  2836. return "ERROR_IPSEC_QM_POLICY_NOT_FOUND";
  2837. case ERROR_IPSEC_QM_POLICY_IN_USE:
  2838. return "ERROR_IPSEC_QM_POLICY_IN_USE";
  2839. case ERROR_IPSEC_MM_POLICY_EXISTS:
  2840. return "ERROR_IPSEC_MM_POLICY_EXISTS";
  2841. case ERROR_IPSEC_MM_POLICY_NOT_FOUND:
  2842. return "ERROR_IPSEC_MM_POLICY_NOT_FOUND";
  2843. case ERROR_IPSEC_MM_POLICY_IN_USE:
  2844. return "ERROR_IPSEC_MM_POLICY_IN_USE";
  2845. case ERROR_IPSEC_MM_FILTER_EXISTS:
  2846. return "ERROR_IPSEC_MM_FILTER_EXISTS";
  2847. case ERROR_IPSEC_MM_FILTER_NOT_FOUND:
  2848. return "ERROR_IPSEC_MM_FILTER_NOT_FOUND";
  2849. case ERROR_IPSEC_TRANSPORT_FILTER_EXISTS:
  2850. return "ERROR_IPSEC_TRANSPORT_FILTER_EXISTS";
  2851. case ERROR_IPSEC_TRANSPORT_FILTER_NOT_FOUND:
  2852. return "ERROR_IPSEC_TRANSPORT_FILTER_NOT_FOUND";
  2853. case ERROR_IPSEC_MM_AUTH_EXISTS:
  2854. return "ERROR_IPSEC_MM_AUTH_EXISTS";
  2855. case ERROR_IPSEC_MM_AUTH_NOT_FOUND:
  2856. return "ERROR_IPSEC_MM_AUTH_NOT_FOUND";
  2857. case ERROR_IPSEC_MM_AUTH_IN_USE:
  2858. return "ERROR_IPSEC_MM_AUTH_IN_USE";
  2859. case ERROR_IPSEC_DEFAULT_MM_POLICY_NOT_FOUND:
  2860. return "ERROR_IPSEC_DEFAULT_MM_POLICY_NOT_FOUND";
  2861. case ERROR_IPSEC_DEFAULT_MM_AUTH_NOT_FOUND:
  2862. return "ERROR_IPSEC_DEFAULT_MM_AUTH_NOT_FOUND";
  2863. case ERROR_IPSEC_DEFAULT_QM_POLICY_NOT_FOUND:
  2864. return "ERROR_IPSEC_DEFAULT_QM_POLICY_NOT_FOUND";
  2865. case ERROR_IPSEC_TUNNEL_FILTER_EXISTS:
  2866. return "ERROR_IPSEC_TUNNEL_FILTER_EXISTS";
  2867. case ERROR_IPSEC_TUNNEL_FILTER_NOT_FOUND:
  2868. return "ERROR_IPSEC_TUNNEL_FILTER_NOT_FOUND";
  2869. case ERROR_IPSEC_MM_FILTER_PENDING_DELETION:
  2870. return "ERROR_IPSEC_MM_FILTER_PENDING_DELETION";
  2871. case ERROR_IPSEC_TRANSPORT_FILTER_PENDING_DELETION:
  2872. return "ERROR_IPSEC_TRANSPORT_FILTER_PENDING_DELETION";
  2873. case ERROR_IPSEC_TUNNEL_FILTER_PENDING_DELETION:
  2874. return "ERROR_IPSEC_TUNNEL_FILTER_PENDING_DELETION";
  2875. case ERROR_IPSEC_MM_POLICY_PENDING_DELETION:
  2876. return "ERROR_IPSEC_MM_POLICY_PENDING_DELETION";
  2877. case ERROR_IPSEC_MM_AUTH_PENDING_DELETION:
  2878. return "ERROR_IPSEC_MM_AUTH_PENDING_DELETION";
  2879. case ERROR_IPSEC_QM_POLICY_PENDING_DELETION:
  2880. return "ERROR_IPSEC_QM_POLICY_PENDING_DELETION";
  2881. case ERROR_IPSEC_IKE_NEG_STATUS_BEGIN:
  2882. return "ERROR_IPSEC_IKE_NEG_STATUS_BEGIN";
  2883. case ERROR_IPSEC_IKE_AUTH_FAIL:
  2884. return "ERROR_IPSEC_IKE_AUTH_FAIL";
  2885. case ERROR_IPSEC_IKE_ATTRIB_FAIL:
  2886. return "ERROR_IPSEC_IKE_ATTRIB_FAIL";
  2887. case ERROR_IPSEC_IKE_NEGOTIATION_PENDING:
  2888. return "ERROR_IPSEC_IKE_NEGOTIATION_PENDING";
  2889. case ERROR_IPSEC_IKE_GENERAL_PROCESSING_ERROR:
  2890. return "ERROR_IPSEC_IKE_GENERAL_PROCESSING_ERROR";
  2891. case ERROR_IPSEC_IKE_TIMED_OUT:
  2892. return "ERROR_IPSEC_IKE_TIMED_OUT";
  2893. case ERROR_IPSEC_IKE_NO_CERT:
  2894. return "ERROR_IPSEC_IKE_NO_CERT";
  2895. case ERROR_IPSEC_IKE_SA_DELETED:
  2896. return "ERROR_IPSEC_IKE_SA_DELETED";
  2897. case ERROR_IPSEC_IKE_SA_REAPED:
  2898. return "ERROR_IPSEC_IKE_SA_REAPED";
  2899. case ERROR_IPSEC_IKE_MM_ACQUIRE_DROP:
  2900. return "ERROR_IPSEC_IKE_MM_ACQUIRE_DROP";
  2901. case ERROR_IPSEC_IKE_QM_ACQUIRE_DROP:
  2902. return "ERROR_IPSEC_IKE_QM_ACQUIRE_DROP";
  2903. case ERROR_IPSEC_IKE_QUEUE_DROP_MM:
  2904. return "ERROR_IPSEC_IKE_QUEUE_DROP_MM";
  2905. case ERROR_IPSEC_IKE_QUEUE_DROP_NO_MM:
  2906. return "ERROR_IPSEC_IKE_QUEUE_DROP_NO_MM";
  2907. case ERROR_IPSEC_IKE_DROP_NO_RESPONSE:
  2908. return "ERROR_IPSEC_IKE_DROP_NO_RESPONSE";
  2909. case ERROR_IPSEC_IKE_MM_DELAY_DROP:
  2910. return "ERROR_IPSEC_IKE_MM_DELAY_DROP";
  2911. case ERROR_IPSEC_IKE_QM_DELAY_DROP:
  2912. return "ERROR_IPSEC_IKE_QM_DELAY_DROP";
  2913. case ERROR_IPSEC_IKE_ERROR:
  2914. return "ERROR_IPSEC_IKE_ERROR";
  2915. case ERROR_IPSEC_IKE_CRL_FAILED:
  2916. return "ERROR_IPSEC_IKE_CRL_FAILED";
  2917. case ERROR_IPSEC_IKE_INVALID_KEY_USAGE:
  2918. return "ERROR_IPSEC_IKE_INVALID_KEY_USAGE";
  2919. case ERROR_IPSEC_IKE_INVALID_CERT_TYPE:
  2920. return "ERROR_IPSEC_IKE_INVALID_CERT_TYPE";
  2921. case ERROR_IPSEC_IKE_NO_PRIVATE_KEY:
  2922. return "ERROR_IPSEC_IKE_NO_PRIVATE_KEY";
  2923. case ERROR_IPSEC_IKE_DH_FAIL:
  2924. return "ERROR_IPSEC_IKE_DH_FAIL";
  2925. case ERROR_IPSEC_IKE_INVALID_HEADER:
  2926. return "ERROR_IPSEC_IKE_INVALID_HEADER";
  2927. case ERROR_IPSEC_IKE_NO_POLICY:
  2928. return "ERROR_IPSEC_IKE_NO_POLICY";
  2929. case ERROR_IPSEC_IKE_INVALID_SIGNATURE:
  2930. return "ERROR_IPSEC_IKE_INVALID_SIGNATURE";
  2931. case ERROR_IPSEC_IKE_KERBEROS_ERROR:
  2932. return "ERROR_IPSEC_IKE_KERBEROS_ERROR";
  2933. case ERROR_IPSEC_IKE_NO_PUBLIC_KEY:
  2934. return "ERROR_IPSEC_IKE_NO_PUBLIC_KEY";
  2935. case ERROR_IPSEC_IKE_PROCESS_ERR:
  2936. return "ERROR_IPSEC_IKE_PROCESS_ERR";
  2937. case ERROR_IPSEC_IKE_PROCESS_ERR_SA:
  2938. return "ERROR_IPSEC_IKE_PROCESS_ERR_SA";
  2939. case ERROR_IPSEC_IKE_PROCESS_ERR_PROP:
  2940. return "ERROR_IPSEC_IKE_PROCESS_ERR_PROP";
  2941. case ERROR_IPSEC_IKE_PROCESS_ERR_TRANS:
  2942. return "ERROR_IPSEC_IKE_PROCESS_ERR_TRANS";
  2943. case ERROR_IPSEC_IKE_PROCESS_ERR_KE:
  2944. return "ERROR_IPSEC_IKE_PROCESS_ERR_KE";
  2945. case ERROR_IPSEC_IKE_PROCESS_ERR_ID:
  2946. return "ERROR_IPSEC_IKE_PROCESS_ERR_ID";
  2947. case ERROR_IPSEC_IKE_PROCESS_ERR_CERT:
  2948. return "ERROR_IPSEC_IKE_PROCESS_ERR_CERT";
  2949. case ERROR_IPSEC_IKE_PROCESS_ERR_CERT_REQ:
  2950. return "ERROR_IPSEC_IKE_PROCESS_ERR_CERT_REQ";
  2951. case ERROR_IPSEC_IKE_PROCESS_ERR_HASH:
  2952. return "ERROR_IPSEC_IKE_PROCESS_ERR_HASH";
  2953. case ERROR_IPSEC_IKE_PROCESS_ERR_SIG:
  2954. return "ERROR_IPSEC_IKE_PROCESS_ERR_SIG";
  2955. case ERROR_IPSEC_IKE_PROCESS_ERR_NONCE:
  2956. return "ERROR_IPSEC_IKE_PROCESS_ERR_NONCE";
  2957. case ERROR_IPSEC_IKE_PROCESS_ERR_NOTIFY:
  2958. return "ERROR_IPSEC_IKE_PROCESS_ERR_NOTIFY";
  2959. case ERROR_IPSEC_IKE_PROCESS_ERR_DELETE:
  2960. return "ERROR_IPSEC_IKE_PROCESS_ERR_DELETE";
  2961. case ERROR_IPSEC_IKE_PROCESS_ERR_VENDOR:
  2962. return "ERROR_IPSEC_IKE_PROCESS_ERR_VENDOR";
  2963. case ERROR_IPSEC_IKE_INVALID_PAYLOAD:
  2964. return "ERROR_IPSEC_IKE_INVALID_PAYLOAD";
  2965. case ERROR_IPSEC_IKE_LOAD_SOFT_SA:
  2966. return "ERROR_IPSEC_IKE_LOAD_SOFT_SA";
  2967. case ERROR_IPSEC_IKE_SOFT_SA_TORN_DOWN:
  2968. return "ERROR_IPSEC_IKE_SOFT_SA_TORN_DOWN";
  2969. case ERROR_IPSEC_IKE_INVALID_COOKIE:
  2970. return "ERROR_IPSEC_IKE_INVALID_COOKIE";
  2971. case ERROR_IPSEC_IKE_NO_PEER_CERT:
  2972. return "ERROR_IPSEC_IKE_NO_PEER_CERT";
  2973. case ERROR_IPSEC_IKE_PEER_CRL_FAILED:
  2974. return "ERROR_IPSEC_IKE_PEER_CRL_FAILED";
  2975. case ERROR_IPSEC_IKE_POLICY_CHANGE:
  2976. return "ERROR_IPSEC_IKE_POLICY_CHANGE";
  2977. case ERROR_IPSEC_IKE_NO_MM_POLICY:
  2978. return "ERROR_IPSEC_IKE_NO_MM_POLICY";
  2979. case ERROR_IPSEC_IKE_NOTCBPRIV:
  2980. return "ERROR_IPSEC_IKE_NOTCBPRIV";
  2981. case ERROR_IPSEC_IKE_SECLOADFAIL:
  2982. return "ERROR_IPSEC_IKE_SECLOADFAIL";
  2983. case ERROR_IPSEC_IKE_FAILSSPINIT:
  2984. return "ERROR_IPSEC_IKE_FAILSSPINIT";
  2985. case ERROR_IPSEC_IKE_FAILQUERYSSP:
  2986. return "ERROR_IPSEC_IKE_FAILQUERYSSP";
  2987. case ERROR_IPSEC_IKE_SRVACQFAIL:
  2988. return "ERROR_IPSEC_IKE_SRVACQFAIL";
  2989. case ERROR_IPSEC_IKE_SRVQUERYCRED:
  2990. return "ERROR_IPSEC_IKE_SRVQUERYCRED";
  2991. case ERROR_IPSEC_IKE_GETSPIFAIL:
  2992. return "ERROR_IPSEC_IKE_GETSPIFAIL";
  2993. case ERROR_IPSEC_IKE_INVALID_FILTER:
  2994. return "ERROR_IPSEC_IKE_INVALID_FILTER";
  2995. case ERROR_IPSEC_IKE_OUT_OF_MEMORY:
  2996. return "ERROR_IPSEC_IKE_OUT_OF_MEMORY";
  2997. case ERROR_IPSEC_IKE_ADD_UPDATE_KEY_FAILED:
  2998. return "ERROR_IPSEC_IKE_ADD_UPDATE_KEY_FAILED";
  2999. case ERROR_IPSEC_IKE_INVALID_POLICY:
  3000. return "ERROR_IPSEC_IKE_INVALID_POLICY";
  3001. case ERROR_IPSEC_IKE_UNKNOWN_DOI:
  3002. return "ERROR_IPSEC_IKE_UNKNOWN_DOI";
  3003. case ERROR_IPSEC_IKE_INVALID_SITUATION:
  3004. return "ERROR_IPSEC_IKE_INVALID_SITUATION";
  3005. case ERROR_IPSEC_IKE_DH_FAILURE:
  3006. return "ERROR_IPSEC_IKE_DH_FAILURE";
  3007. case ERROR_IPSEC_IKE_INVALID_GROUP:
  3008. return "ERROR_IPSEC_IKE_INVALID_GROUP";
  3009. case ERROR_IPSEC_IKE_ENCRYPT:
  3010. return "ERROR_IPSEC_IKE_ENCRYPT";
  3011. case ERROR_IPSEC_IKE_DECRYPT:
  3012. return "ERROR_IPSEC_IKE_DECRYPT";
  3013. case ERROR_IPSEC_IKE_POLICY_MATCH:
  3014. return "ERROR_IPSEC_IKE_POLICY_MATCH";
  3015. case ERROR_IPSEC_IKE_UNSUPPORTED_ID:
  3016. return "ERROR_IPSEC_IKE_UNSUPPORTED_ID";
  3017. case ERROR_IPSEC_IKE_INVALID_HASH:
  3018. return "ERROR_IPSEC_IKE_INVALID_HASH";
  3019. case ERROR_IPSEC_IKE_INVALID_HASH_ALG:
  3020. return "ERROR_IPSEC_IKE_INVALID_HASH_ALG";
  3021. case ERROR_IPSEC_IKE_INVALID_HASH_SIZE:
  3022. return "ERROR_IPSEC_IKE_INVALID_HASH_SIZE";
  3023. case ERROR_IPSEC_IKE_INVALID_ENCRYPT_ALG:
  3024. return "ERROR_IPSEC_IKE_INVALID_ENCRYPT_ALG";
  3025. case ERROR_IPSEC_IKE_INVALID_AUTH_ALG:
  3026. return "ERROR_IPSEC_IKE_INVALID_AUTH_ALG";
  3027. case ERROR_IPSEC_IKE_INVALID_SIG:
  3028. return "ERROR_IPSEC_IKE_INVALID_SIG";
  3029. case ERROR_IPSEC_IKE_LOAD_FAILED:
  3030. return "ERROR_IPSEC_IKE_LOAD_FAILED";
  3031. case ERROR_IPSEC_IKE_RPC_DELETE:
  3032. return "ERROR_IPSEC_IKE_RPC_DELETE";
  3033. case ERROR_IPSEC_IKE_BENIGN_REINIT:
  3034. return "ERROR_IPSEC_IKE_BENIGN_REINIT";
  3035. case ERROR_IPSEC_IKE_INVALID_RESPONDER_LIFETIME_NOTIFY:
  3036. return "ERROR_IPSEC_IKE_INVALID_RESPONDER_LIFETIME_NOTIFY";
  3037. case ERROR_IPSEC_IKE_INVALID_CERT_KEYLEN:
  3038. return "ERROR_IPSEC_IKE_INVALID_CERT_KEYLEN";
  3039. case ERROR_IPSEC_IKE_MM_LIMIT:
  3040. return "ERROR_IPSEC_IKE_MM_LIMIT";
  3041. case ERROR_IPSEC_IKE_NEGOTIATION_DISABLED:
  3042. return "ERROR_IPSEC_IKE_NEGOTIATION_DISABLED";
  3043. case ERROR_IPSEC_IKE_NEG_STATUS_END:
  3044. return "ERROR_IPSEC_IKE_NEG_STATUS_END";
  3045. case ERROR_AUDITING_DISABLED:
  3046. return "ERROR_AUDITING_DISABLED";
  3047. case ERROR_ALL_SIDS_FILTERED:
  3048. return "ERROR_ALL_SIDS_FILTERED";
  3049. default:
  3050. return "__UNKNOWN__";
  3051. }
  3052. }