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

Win32Errors.cs 236 KiB

7 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262
  1. /* Copyright (C) 2008-2016 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov
  2. *
  3. * Permission is hereby granted, free of charge, to any person obtaining a copy
  4. * of this software and associated documentation files (the "Software"), to deal
  5. * in the Software without restriction, including without limitation the rights
  6. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7. * copies of the Software, and to permit persons to whom the Software is
  8. * furnished to do so, subject to the following conditions:
  9. *
  10. * The above copyright notice and this permission notice shall be included in
  11. * all copies or substantial portions of the Software.
  12. *
  13. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  19. * THE SOFTWARE.
  20. */
  21. namespace Alphaleonis.Win32
  22. {
  23. internal static class Win32Errors
  24. {
  25. /// <summary>Use this to translate error codes into HRESULTs like 0x80070006 for ERROR_INVALID_HANDLE.</summary>
  26. public static int GetHrFromWin32Error(uint errorCode)
  27. {
  28. return (int) unchecked(((int) 0x80070000) | errorCode);
  29. }
  30. // System Error Codes
  31. // http://msdn.microsoft.com/en-us/library/windows/desktop/ms681381%28v=vs.85%29.aspx
  32. public const uint ERROR_INVALID_FILE_SIZE = 0xFFFFFFFF;
  33. /// <summary>(0) The operation completed successfully.</summary>
  34. public const uint ERROR_SUCCESS = 0;
  35. /// <summary>(0) The operation completed successfully.</summary>
  36. public const uint NO_ERROR = 0;
  37. /// <summary>(1) Incorrect function.</summary>
  38. public const uint ERROR_INVALID_FUNCTION = 1;
  39. /// <summary>(2) The system cannot find the file specified.</summary>
  40. public const uint ERROR_FILE_NOT_FOUND = 2;
  41. /// <summary>(3) The system cannot find the path specified.</summary>
  42. public const uint ERROR_PATH_NOT_FOUND = 3;
  43. //public const uint ERROR_TOO_MANY_OPEN_FILES = 4;
  44. /// <summary>(5) Access is denied.</summary>
  45. public const uint ERROR_ACCESS_DENIED = 5;
  46. //public const uint ERROR_INVALID_HANDLE = 6;
  47. //public const uint ERROR_ARENA_TRASHED = 7;
  48. //public const uint ERROR_NOT_ENOUGH_MEMORY = 8;
  49. //public const uint ERROR_INVALID_BLOCK = 9;
  50. //public const uint ERROR_BAD_ENVIRONMENT = 10;
  51. //public const uint ERROR_BAD_FORMAT = 11;
  52. //public const uint ERROR_INVALID_ACCESS = 12;
  53. //public const uint ERROR_INVALID_DATA = 13;
  54. //public const uint ERROR_OUTOFMEMORY = 14;
  55. /// <summary>(15) The system cannot find the drive specified.</summary>
  56. public const uint ERROR_INVALID_DRIVE = 15;
  57. //public const uint ERROR_CURRENT_DIRECTORY = 16;
  58. /// <summary>(17) The system cannot move the file to a different disk drive.</summary>
  59. public const uint ERROR_NOT_SAME_DEVICE = 17;
  60. /// <summary>(18) There are no more files.</summary>
  61. public const uint ERROR_NO_MORE_FILES = 18;
  62. //public const uint ERROR_WRITE_PROTECT = 19;
  63. //public const uint ERROR_BAD_UNIT = 20;
  64. /// <summary>(21) The device is not ready.</summary>
  65. public const uint ERROR_NOT_READY = 21;
  66. //public const uint ERROR_BAD_COMMAND = 22;
  67. //public const uint ERROR_CRC = 23;
  68. //public const uint ERROR_BAD_LENGTH = 24;
  69. /// <summary>(25) The drive cannot locate a specific area or track on the disk.</summary>
  70. public const uint ERROR_SEEK = 25;
  71. //public const uint ERROR_NOT_DOS_DISK = 26;
  72. //public const uint ERROR_SECTOR_NOT_FOUND = 27;
  73. //public const uint ERROR_OUT_OF_PAPER = 28;
  74. //public const uint ERROR_WRITE_FAULT = 29;
  75. //public const uint ERROR_READ_FAULT = 30;
  76. //public const uint ERROR_GEN_FAILURE = 31;
  77. /// <summary>(32) The process cannot access the file because it is being used by another process.</summary>
  78. public const uint ERROR_SHARING_VIOLATION = 32;
  79. /// <summary>(33) The process cannot access the file because another process has locked a portion of the file.</summary>
  80. public const uint ERROR_LOCK_VIOLATION = 33;
  81. //public const uint ERROR_WRONG_DISK = 34;
  82. //public const uint ERROR_SHARING_BUFFER_EXCEEDED = 36;
  83. /// <summary>(38) Reached the end of the file.</summary>
  84. public const uint ERROR_HANDLE_EOF = 38;
  85. //public const uint ERROR_HANDLE_DISK_FULL = 39;
  86. //public const uint ERROR_NOT_SUPPORTED = 50;
  87. //public const uint ERROR_REM_NOT_LIST = 51;
  88. //public const uint ERROR_DUP_NAME = 52;
  89. /// <summary>(53) The network path was not found.</summary>
  90. public const uint ERROR_BAD_NETPATH = 53;
  91. //public const uint ERROR_NETWORK_BUSY = 54;
  92. //public const uint ERROR_DEV_NOT_EXIST = 55;
  93. //public const uint ERROR_TOO_MANY_CMDS = 56;
  94. //public const uint ERROR_ADAP_HDW_ERR = 57;
  95. //public const uint ERROR_BAD_NET_RESP = 58;
  96. //public const uint ERROR_UNEXP_NET_ERR = 59;
  97. //public const uint ERROR_BAD_REM_ADAP = 60;
  98. //public const uint ERROR_PRINTQ_FULL = 61;
  99. //public const uint ERROR_NO_SPOOL_SPACE = 62;
  100. //public const uint ERROR_PRINT_CANCELLED = 63;
  101. //public const uint ERROR_NETNAME_DELETED = 64;
  102. /// <summary>(65) Network access is denied.</summary>
  103. public const uint ERROR_NETWORK_ACCESS_DENIED = 65;
  104. //public const uint ERROR_BAD_DEV_TYPE = 66;
  105. /// <summary>(67) The network name cannot be found.</summary>
  106. public const uint ERROR_BAD_NET_NAME = 67;
  107. //public const uint ERROR_TOO_MANY_NAMES = 68;
  108. //public const uint ERROR_TOO_MANY_SESS = 69;
  109. //public const uint ERROR_SHARING_PAUSED = 70;
  110. //public const uint ERROR_REQ_NOT_ACCEP = 71;
  111. //public const uint ERROR_REDIR_PAUSED = 72;
  112. /// <summary>(80) The file exists.</summary>
  113. public const uint ERROR_FILE_EXISTS = 80;
  114. //public const uint ERROR_CANNOT_MAKE = 82;
  115. //public const uint ERROR_FAIL_I24 = 83;
  116. //public const uint ERROR_OUT_OF_STRUCTURES = 84;
  117. //public const uint ERROR_ALREADY_ASSIGNED = 85;
  118. //public const uint ERROR_INVALID_PASSWORD = 86;
  119. /// <summary>(87) The parameter is incorrect.</summary>
  120. public const uint ERROR_INVALID_PARAMETER = 87;
  121. //public const uint ERROR_NET_WRITE_FAULT = 88;
  122. //public const uint ERROR_NO_PROC_SLOTS = 89;
  123. //public const uint ERROR_TOO_MANY_SEMAPHORES = 100;
  124. //public const uint ERROR_EXCL_SEM_ALREADY_OWNED = 101;
  125. //public const uint ERROR_SEM_IS_SET = 102;
  126. //public const uint ERROR_TOO_MANY_SEM_REQUESTS = 103;
  127. //public const uint ERROR_INVALID_AT_INTERRUPT_TIME = 104;
  128. //public const uint ERROR_SEM_OWNER_DIED = 105;
  129. //public const uint ERROR_SEM_USER_LIMIT = 106;
  130. //public const uint ERROR_DISK_CHANGE = 107;
  131. //public const uint ERROR_DRIVE_LOCKED = 108;
  132. //public const uint ERROR_BROKEN_PIPE = 109;
  133. //public const uint ERROR_OPEN_FAILED = 110;
  134. //public const uint ERROR_BUFFER_OVERFLOW = 111;
  135. //public const uint ERROR_DISK_FULL = 112;
  136. //public const uint ERROR_NO_MORE_SEARCH_HANDLES = 113;
  137. //public const uint ERROR_INVALID_TARGET_HANDLE = 114;
  138. //public const uint ERROR_INVALID_CATEGORY = 117;
  139. //public const uint ERROR_INVALID_VERIFY_SWITCH = 118;
  140. //public const uint ERROR_BAD_DRIVER_LEVEL = 119;
  141. //public const uint ERROR_CALL_NOT_IMPLEMENTED = 120;
  142. //public const uint ERROR_SEM_TIMEOUT = 121;
  143. /// <summary>(122) The data area passed to a system call is too small.</summary>
  144. public const uint ERROR_INSUFFICIENT_BUFFER = 122;
  145. /// <summary>(123) The filename, directory name, or volume label syntax is incorrect.</summary>
  146. public const uint ERROR_INVALID_NAME = 123;
  147. //public const uint ERROR_INVALID_LEVEL = 124;
  148. //public const uint ERROR_NO_VOLUME_LABEL = 125;
  149. //public const uint ERROR_INVALID_FILE_ATTRIBUTES = 0xFFFFFFFF;
  150. //public const uint ERROR_MOD_NOT_FOUND = 126;
  151. //public const uint ERROR_PROC_NOT_FOUND = 127;
  152. //public const uint ERROR_WAIT_NO_CHILDREN = 128;
  153. //public const uint ERROR_CHILD_NOT_COMPLETE = 129;
  154. //public const uint ERROR_DIRECT_ACCESS_HANDLE = 130;
  155. //public const uint ERROR_NEGATIVE_SEEK = 131;
  156. //public const uint ERROR_SEEK_ON_DEVICE = 132;
  157. //public const uint ERROR_IS_JOIN_TARGET = 133;
  158. //public const uint ERROR_IS_JOINED = 134;
  159. //public const uint ERROR_IS_SUBSTED = 135;
  160. //public const uint ERROR_NOT_JOINED = 136;
  161. //public const uint ERROR_NOT_SUBSTED = 137;
  162. //public const uint ERROR_JOIN_TO_JOIN = 138;
  163. //public const uint ERROR_SUBST_TO_SUBST = 139;
  164. //public const uint ERROR_JOIN_TO_SUBST = 140;
  165. //public const uint ERROR_SUBST_TO_JOIN = 141;
  166. //public const uint ERROR_BUSY_DRIVE = 142;
  167. /// <summary>(143) The system cannot join or substitute a drive to or for a directory on the same drive.</summary>
  168. public const uint ERROR_SAME_DRIVE = 143;
  169. //public const uint ERROR_DIR_NOT_ROOT = 144;
  170. /// <summary>(145) The directory is not empty.</summary>
  171. public const uint ERROR_DIR_NOT_EMPTY = 145;
  172. //public const uint ERROR_IS_SUBST_PATH = 146;
  173. //public const uint ERROR_IS_JOIN_PATH = 147;
  174. //public const uint ERROR_PATH_BUSY = 148;
  175. //public const uint ERROR_IS_SUBST_TARGET = 149;
  176. //public const uint ERROR_SYSTEM_TRACE = 150;
  177. //public const uint ERROR_INVALID_EVENT_COUNT = 151;
  178. //public const uint ERROR_TOO_MANY_MUXWAITERS = 152;
  179. //public const uint ERROR_INVALID_LIST_FORMAT = 153;
  180. //public const uint ERROR_LABEL_TOO_LONG = 154;
  181. //public const uint ERROR_TOO_MANY_TCBS = 155;
  182. //public const uint ERROR_SIGNAL_REFUSED = 156;
  183. //public const uint ERROR_DISCARDED = 157;
  184. /// <summary>(158) The segment is already unlocked.</summary>
  185. public const uint ERROR_NOT_LOCKED = 158;
  186. //public const uint ERROR_BAD_THREADID_ADDR = 159;
  187. //public const uint ERROR_BAD_ARGUMENTS = 160;
  188. //public const uint ERROR_BAD_PATHNAME = 161;
  189. //public const uint ERROR_SIGNAL_PENDING = 162;
  190. //public const uint ERROR_MAX_THRDS_REACHED = 164;
  191. //public const uint ERROR_LOCK_FAILED = 167;
  192. //public const uint ERROR_BUSY = 170;
  193. //public const uint ERROR_CANCEL_VIOLATION = 173;
  194. //public const uint ERROR_ATOMIC_LOCKS_NOT_SUPPORTED = 174;
  195. //public const uint ERROR_INVALID_SEGMENT_NUMBER = 180;
  196. //public const uint ERROR_INVALID_ORDINAL = 182;
  197. /// <summary>(183) Cannot create a file when that file already exists.</summary>
  198. public const uint ERROR_ALREADY_EXISTS = 183;
  199. //public const uint ERROR_INVALID_FLAG_NUMBER = 186;
  200. //public const uint ERROR_SEM_NOT_FOUND = 187;
  201. //public const uint ERROR_INVALID_STARTING_CODESEG = 188;
  202. //public const uint ERROR_INVALID_STACKSEG = 189;
  203. //public const uint ERROR_INVALID_MODULETYPE = 190;
  204. //public const uint ERROR_INVALID_EXE_SIGNATURE = 191;
  205. //public const uint ERROR_EXE_MARKED_INVALID = 192;
  206. //public const uint ERROR_BAD_EXE_FORMAT = 193;
  207. //public const uint ERROR_ITERATED_DATA_EXCEEDS_64k = 194;
  208. //public const uint ERROR_INVALID_MINALLOCSIZE = 195;
  209. //public const uint ERROR_DYNLINK_FROM_INVALID_RING = 196;
  210. //public const uint ERROR_IOPL_NOT_ENABLED = 197;
  211. //public const uint ERROR_INVALID_SEGDPL = 198;
  212. //public const uint ERROR_AUTODATASEG_EXCEEDS_64k = 199;
  213. //public const uint ERROR_RING2SEG_MUST_BE_MOVABLE = 200;
  214. //public const uint ERROR_RELOC_CHAIN_XEEDS_SEGLIM = 201;
  215. //public const uint ERROR_INFLOOP_IN_RELOC_CHAIN = 202;
  216. /// <summary>(203) The system could not find the environment option that was entered.</summary>
  217. public const uint ERROR_ENVVAR_NOT_FOUND = 203;
  218. //public const uint ERROR_NO_SIGNAL_SENT = 205;
  219. //public const uint ERROR_FILENAME_EXCED_RANGE = 206;
  220. //public const uint ERROR_RING2_STACK_IN_USE = 207;
  221. //public const uint ERROR_META_EXPANSION_TOO_LONG = 208;
  222. //public const uint ERROR_INVALID_SIGNAL_NUMBER = 209;
  223. //public const uint ERROR_THREAD_1_INACTIVE = 210;
  224. //public const uint ERROR_LOCKED = 212;
  225. //public const uint ERROR_TOO_MANY_MODULES = 214;
  226. //public const uint ERROR_NESTING_NOT_ALLOWED = 215;
  227. //public const uint ERROR_EXE_MACHINE_TYPE_MISMATCH = 216;
  228. //public const uint ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY = 217;
  229. //public const uint ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY = 218;
  230. //public const uint ERROR_BAD_PIPE = 230;
  231. //public const uint ERROR_PIPE_BUSY = 231;
  232. //public const uint ERROR_NO_DATA = 232;
  233. //public const uint ERROR_PIPE_NOT_CONNECTED = 233;
  234. /// <summary>(234) More data is available.</summary>
  235. public const uint ERROR_MORE_DATA = 234;
  236. //public const uint ERROR_VC_DISCONNECTED = 240;
  237. //public const uint ERROR_INVALID_EA_NAME = 254;
  238. //public const uint ERROR_EA_LIST_INCONSISTENT = 255;
  239. //public const uint WAIT_TIMEOUT = 258;
  240. ///// <summary>(259) No more data is available.</summary>
  241. //public const uint ERROR_NO_MORE_ITEMS = 259;
  242. //public const uint ERROR_CANNOT_COPY = 266;
  243. /// <summary>(267) The directory name is invalid.</summary>
  244. public const uint ERROR_DIRECTORY = 267;
  245. //public const uint ERROR_EAS_DIDNT_FIT = 275;
  246. //public const uint ERROR_EA_FILE_CORRUPT = 276;
  247. //public const uint ERROR_EA_TABLE_FULL = 277;
  248. //public const uint ERROR_INVALID_EA_HANDLE = 278;
  249. //public const uint ERROR_EAS_NOT_SUPPORTED = 282;
  250. //public const uint ERROR_NOT_OWNER = 288;
  251. //public const uint ERROR_TOO_MANY_POSTS = 298;
  252. //public const uint ERROR_PARTIAL_COPY = 299;
  253. //public const uint ERROR_OPLOCK_NOT_GRANTED = 300;
  254. //public const uint ERROR_INVALID_OPLOCK_PROTOCOL = 301;
  255. //public const uint ERROR_DISK_TOO_FRAGMENTED = 302;
  256. //public const uint ERROR_DELETE_PENDING = 303;
  257. //public const uint ERROR_MR_MID_NOT_FOUND = 317;
  258. //public const uint ERROR_SCOPE_NOT_FOUND = 318;
  259. //public const uint ERROR_INVALID_ADDRESS = 487;
  260. //public const uint ERROR_ARITHMETIC_OVERFLOW = 534;
  261. //public const uint ERROR_PIPE_CONNECTED = 535;
  262. //public const uint ERROR_PIPE_LISTENING = 536;
  263. //public const uint ERROR_EA_ACCESS_DENIED = 994;
  264. /// <summary>(995) The I/O operation has been aborted because of either a thread exit or an application request.</summary>
  265. public const uint ERROR_OPERATION_ABORTED = 995;
  266. //public const uint ERROR_IO_INCOMPLETE = 996;
  267. /// <summary>(997) Overlapped I/O operation is in progress.</summary>
  268. public const uint ERROR_IO_PENDING = 997;
  269. //public const uint ERROR_NOACCESS = 998;
  270. //public const uint ERROR_SWAPERROR = 999;
  271. //public const uint ERROR_STACK_OVERFLOW = 1001;
  272. //public const uint ERROR_INVALID_MESSAGE = 1002;
  273. //public const uint ERROR_CAN_NOT_COMPLETE = 1003;
  274. //public const uint ERROR_INVALID_FLAGS = 1004;
  275. //public const uint ERROR_UNRECOGNIZED_VOLUME = 1005;
  276. //public const uint ERROR_FILE_INVALID = 1006;
  277. //public const uint ERROR_FULLSCREEN_MODE = 1007;
  278. //public const uint ERROR_NO_TOKEN = 1008;
  279. //public const uint ERROR_BADDB = 1009;
  280. //public const uint ERROR_BADKEY = 1010;
  281. //public const uint ERROR_CANTOPEN = 1011;
  282. //public const uint ERROR_CANTREAD = 1012;
  283. //public const uint ERROR_CANTWRITE = 1013;
  284. //public const uint ERROR_REGISTRY_RECOVERED = 1014;
  285. //public const uint ERROR_REGISTRY_CORRUPT = 1015;
  286. //public const uint ERROR_REGISTRY_IO_FAILED = 1016;
  287. //public const uint ERROR_NOT_REGISTRY_FILE = 1017;
  288. //public const uint ERROR_KEY_DELETED = 1018;
  289. //public const uint ERROR_NO_LOG_SPACE = 1019;
  290. //public const uint ERROR_KEY_HAS_CHILDREN = 1020;
  291. //public const uint ERROR_CHILD_MUST_BE_VOLATILE = 1021;
  292. //public const uint ERROR_NOTIFY_ENUM_DIR = 1022;
  293. //public const uint ERROR_DEPENDENT_SERVICES_RUNNING = 1051;
  294. //public const uint ERROR_INVALID_SERVICE_CONTROL = 1052;
  295. //public const uint ERROR_SERVICE_REQUEST_TIMEOUT = 1053;
  296. //public const uint ERROR_SERVICE_NO_THREAD = 1054;
  297. //public const uint ERROR_SERVICE_DATABASE_LOCKED = 1055;
  298. //public const uint ERROR_SERVICE_ALREADY_RUNNING = 1056;
  299. //public const uint ERROR_INVALID_SERVICE_ACCOUNT = 1057;
  300. //public const uint ERROR_SERVICE_DISABLED = 1058;
  301. //public const uint ERROR_CIRCULAR_DEPENDENCY = 1059;
  302. //public const uint ERROR_SERVICE_DOES_NOT_EXIST = 1060;
  303. //public const uint ERROR_SERVICE_CANNOT_ACCEPT_CTRL = 1061;
  304. //public const uint ERROR_SERVICE_NOT_ACTIVE = 1062;
  305. //public const uint ERROR_FAILED_SERVICE_CONTROLLER_CONNECT = 1063;
  306. //public const uint ERROR_EXCEPTION_IN_SERVICE = 1064;
  307. //public const uint ERROR_DATABASE_DOES_NOT_EXIST = 1065;
  308. //public const uint ERROR_SERVICE_SPECIFIC_ERROR = 1066;
  309. //public const uint ERROR_PROCESS_ABORTED = 1067;
  310. //public const uint ERROR_SERVICE_DEPENDENCY_FAIL = 1068;
  311. //public const uint ERROR_SERVICE_LOGON_FAILED = 1069;
  312. //public const uint ERROR_SERVICE_START_HANG = 1070;
  313. //public const uint ERROR_INVALID_SERVICE_LOCK = 1071;
  314. //public const uint ERROR_SERVICE_MARKED_FOR_DELETE = 1072;
  315. //public const uint ERROR_SERVICE_EXISTS = 1073;
  316. //public const uint ERROR_ALREADY_RUNNING_LKG = 1074;
  317. //public const uint ERROR_SERVICE_DEPENDENCY_DELETED = 1075;
  318. //public const uint ERROR_BOOT_ALREADY_ACCEPTED = 1076;
  319. //public const uint ERROR_SERVICE_NEVER_STARTED = 1077;
  320. //public const uint ERROR_DUPLICATE_SERVICE_NAME = 1078;
  321. //public const uint ERROR_DIFFERENT_SERVICE_ACCOUNT = 1079;
  322. //public const uint ERROR_CANNOT_DETECT_DRIVER_FAILURE = 1080;
  323. //public const uint ERROR_CANNOT_DETECT_PROCESS_ABORT = 1081;
  324. //public const uint ERROR_NO_RECOVERY_PROGRAM = 1082;
  325. //public const uint ERROR_SERVICE_NOT_IN_EXE = 1083;
  326. //public const uint ERROR_NOT_SAFEBOOT_SERVICE = 1084;
  327. //public const uint ERROR_END_OF_MEDIA = 1100;
  328. //public const uint ERROR_FILEMARK_DETECTED = 1101;
  329. //public const uint ERROR_BEGINNING_OF_MEDIA = 1102;
  330. //public const uint ERROR_SETMARK_DETECTED = 1103;
  331. //public const uint ERROR_NO_DATA_DETECTED = 1104;
  332. //public const uint ERROR_PARTITION_FAILURE = 1105;
  333. //public const uint ERROR_INVALID_BLOCK_LENGTH = 1106;
  334. //public const uint ERROR_DEVICE_NOT_PARTITIONED = 1107;
  335. //public const uint ERROR_UNABLE_TO_LOCK_MEDIA = 1108;
  336. //public const uint ERROR_UNABLE_TO_UNLOAD_MEDIA = 1109;
  337. //public const uint ERROR_MEDIA_CHANGED = 1110;
  338. //public const uint ERROR_BUS_RESET = 1111;
  339. //public const uint ERROR_NO_MEDIA_IN_DRIVE = 1112;
  340. //public const uint ERROR_NO_UNICODE_TRANSLATION = 1113;
  341. //public const uint ERROR_DLL_INIT_FAILED = 1114;
  342. //public const uint ERROR_SHUTDOWN_IN_PROGRESS = 1115;
  343. //public const uint ERROR_NO_SHUTDOWN_IN_PROGRESS = 1116;
  344. //public const uint ERROR_IO_DEVICE = 1117;
  345. //public const uint ERROR_SERIAL_NO_DEVICE = 1118;
  346. //public const uint ERROR_IRQ_BUSY = 1119;
  347. //public const uint ERROR_MORE_WRITES = 1120;
  348. //public const uint ERROR_COUNTER_TIMEOUT = 1121;
  349. //public const uint ERROR_FLOPPY_ID_MARK_NOT_FOUND = 1122;
  350. //public const uint ERROR_FLOPPY_WRONG_CYLINDER = 1123;
  351. //public const uint ERROR_FLOPPY_UNKNOWN_ERROR = 1124;
  352. //public const uint ERROR_FLOPPY_BAD_REGISTERS = 1125;
  353. //public const uint ERROR_DISK_RECALIBRATE_FAILED = 1126;
  354. //public const uint ERROR_DISK_OPERATION_FAILED = 1127;
  355. //public const uint ERROR_DISK_RESET_FAILED = 1128;
  356. //public const uint ERROR_EOM_OVERFLOW = 1129;
  357. //public const uint ERROR_NOT_ENOUGH_SERVER_MEMORY = 1130;
  358. //public const uint ERROR_POSSIBLE_DEADLOCK = 1131;
  359. //public const uint ERROR_MAPPED_ALIGNMENT = 1132;
  360. //public const uint ERROR_SET_POWER_STATE_VETOED = 1140;
  361. //public const uint ERROR_SET_POWER_STATE_FAILED = 1141;
  362. //public const uint ERROR_TOO_MANY_LINKS = 1142;
  363. //public const uint ERROR_OLD_WIN_VERSION = 1150;
  364. //public const uint ERROR_APP_WRONG_OS = 1151;
  365. //public const uint ERROR_SINGLE_INSTANCE_APP = 1152;
  366. //public const uint ERROR_RMODE_APP = 1153;
  367. //public const uint ERROR_INVALID_DLL = 1154;
  368. //public const uint ERROR_NO_ASSOCIATION = 1155;
  369. //public const uint ERROR_DDE_FAIL = 1156;
  370. //public const uint ERROR_DLL_NOT_FOUND = 1157;
  371. //public const uint ERROR_NO_MORE_USER_HANDLES = 1158;
  372. //public const uint ERROR_MESSAGE_SYNC_ONLY = 1159;
  373. //public const uint ERROR_SOURCE_ELEMENT_EMPTY = 1160;
  374. //public const uint ERROR_DESTINATION_ELEMENT_FULL = 1161;
  375. //public const uint ERROR_ILLEGAL_ELEMENT_ADDRESS = 1162;
  376. //public const uint ERROR_MAGAZINE_NOT_PRESENT = 1163;
  377. //public const uint ERROR_DEVICE_REINITIALIZATION_NEEDED = 1164;
  378. //public const uint ERROR_DEVICE_REQUIRES_CLEANING = 1165;
  379. //public const uint ERROR_DEVICE_DOOR_OPEN = 1166;
  380. //public const uint ERROR_DEVICE_NOT_CONNECTED = 1167;
  381. //public const uint ERROR_NOT_FOUND = 1168;
  382. //public const uint ERROR_NO_MATCH = 1169;
  383. //public const uint ERROR_SET_NOT_FOUND = 1170;
  384. //public const uint ERROR_POINT_NOT_FOUND = 1171;
  385. //public const uint ERROR_NO_TRACKING_SERVICE = 1172;
  386. //public const uint ERROR_NO_VOLUME_ID = 1173;
  387. //public const uint ERROR_UNABLE_TO_REMOVE_REPLACED = 1175;
  388. //public const uint ERROR_UNABLE_TO_MOVE_REPLACEMENT = 1176;
  389. //public const uint ERROR_UNABLE_TO_MOVE_REPLACEMENT_2 = 1177;
  390. //public const uint ERROR_JOURNAL_DELETE_IN_PROGRESS = 1178;
  391. //public const uint ERROR_JOURNAL_NOT_ACTIVE = 1179;
  392. //public const uint ERROR_POTENTIAL_FILE_FOUND = 1180;
  393. //public const uint ERROR_JOURNAL_ENTRY_DELETED = 1181;
  394. /// <summary>(1200) The specified device name is invalid.</summary>
  395. public const uint ERROR_BAD_DEVICE = 1200;
  396. //public const uint ERROR_CONNECTION_UNAVAIL = 1201;
  397. //public const uint ERROR_DEVICE_ALREADY_REMEMBERED = 1202;
  398. //public const uint ERROR_NO_NET_OR_BAD_PATH = 1203;
  399. //public const uint ERROR_BAD_PROVIDER = 1204;
  400. //public const uint ERROR_CANNOT_OPEN_PROFILE = 1205;
  401. //public const uint ERROR_BAD_PROFILE = 1206;
  402. //public const uint ERROR_NOT_CONTAINER = 1207;
  403. /// <summary>(1208) An extended error has occurred.</summary>
  404. public const uint ERROR_EXTENDED_ERROR = 1208;
  405. //public const uint ERROR_INVALID_GROUPNAME = 1209;
  406. //public const uint ERROR_INVALID_COMPUTERNAME = 1210;
  407. //public const uint ERROR_INVALID_EVENTNAME = 1211;
  408. //public const uint ERROR_INVALID_DOMAINNAME = 1212;
  409. //public const uint ERROR_INVALID_SERVICENAME = 1213;
  410. //public const uint ERROR_INVALID_NETNAME = 1214;
  411. //public const uint ERROR_INVALID_SHARENAME = 1215;
  412. //public const uint ERROR_INVALID_PASSWORDNAME = 1216;
  413. //public const uint ERROR_INVALID_MESSAGENAME = 1217;
  414. //public const uint ERROR_INVALID_MESSAGEDEST = 1218;
  415. //public const uint ERROR_SESSION_CREDENTIAL_CONFLICT = 1219;
  416. //public const uint ERROR_REMOTE_SESSION_LIMIT_EXCEEDED = 1220;
  417. //public const uint ERROR_DUP_DOMAINNAME = 1221;
  418. /// <summary>(1222) The network is not present or not started.</summary>
  419. public const uint ERROR_NO_NETWORK = 1222;
  420. //public const uint ERROR_CANCELLED = 1223;
  421. //public const uint ERROR_USER_MAPPED_FILE = 1224;
  422. //public const uint ERROR_CONNECTION_REFUSED = 1225;
  423. //public const uint ERROR_GRACEFUL_DISCONNECT = 1226;
  424. //public const uint ERROR_ADDRESS_ALREADY_ASSOCIATED = 1227;
  425. //public const uint ERROR_ADDRESS_NOT_ASSOCIATED = 1228;
  426. //public const uint ERROR_CONNECTION_INVALID = 1229;
  427. //public const uint ERROR_CONNECTION_ACTIVE = 1230;
  428. //public const uint ERROR_NETWORK_UNREACHABLE = 1231;
  429. //public const uint ERROR_HOST_UNREACHABLE = 1232;
  430. //public const uint ERROR_PROTOCOL_UNREACHABLE = 1233;
  431. //public const uint ERROR_PORT_UNREACHABLE = 1234;
  432. /// <summary>(1235) The request was aborted.</summary>
  433. public const uint ERROR_REQUEST_ABORTED = 1235;
  434. //public const uint ERROR_CONNECTION_ABORTED = 1236;
  435. //public const uint ERROR_RETRY = 1237;
  436. //public const uint ERROR_CONNECTION_COUNT_LIMIT = 1238;
  437. //public const uint ERROR_LOGIN_TIME_RESTRICTION = 1239;
  438. //public const uint ERROR_LOGIN_WKSTA_RESTRICTION = 1240;
  439. //public const uint ERROR_INCORRECT_ADDRESS = 1241;
  440. //public const uint ERROR_ALREADY_REGISTERED = 1242;
  441. //public const uint ERROR_SERVICE_NOT_FOUND = 1243;
  442. //public const uint ERROR_NOT_AUTHENTICATED = 1244;
  443. //public const uint ERROR_NOT_LOGGED_ON = 1245;
  444. //public const uint ERROR_CONTINUE = 1246;
  445. //public const uint ERROR_ALREADY_INITIALIZED = 1247;
  446. //public const uint ERROR_NO_MORE_DEVICES = 1248;
  447. //public const uint ERROR_NO_SUCH_SITE = 1249;
  448. //public const uint ERROR_DOMAIN_CONTROLLER_EXISTS = 1250;
  449. //public const uint ERROR_ONLY_IF_CONNECTED = 1251;
  450. //public const uint ERROR_OVERRIDE_NOCHANGES = 1252;
  451. //public const uint ERROR_BAD_USER_PROFILE = 1253;
  452. //public const uint ERROR_NOT_SUPPORTED_ON_SBS = 1254;
  453. //public const uint ERROR_SERVER_SHUTDOWN_IN_PROGRESS = 1255;
  454. //public const uint ERROR_HOST_DOWN = 1256;
  455. //public const uint ERROR_NON_ACCOUNT_SID = 1257;
  456. //public const uint ERROR_NON_DOMAIN_SID = 1258;
  457. //public const uint ERROR_APPHELP_BLOCK = 1259;
  458. //public const uint ERROR_ACCESS_DISABLED_BY_POLICY = 1260;
  459. //public const uint ERROR_REG_NAT_CONSUMPTION = 1261;
  460. //public const uint ERROR_CSCSHARE_OFFLINE = 1262;
  461. //public const uint ERROR_PKINIT_FAILURE = 1263;
  462. //public const uint ERROR_SMARTCARD_SUBSYSTEM_FAILURE = 1264;
  463. //public const uint ERROR_DOWNGRADE_DETECTED = 1265;
  464. //public const uint ERROR_MACHINE_LOCKED = 1271;
  465. //public const uint ERROR_CALLBACK_SUPPLIED_INVALID_DATA = 1273;
  466. //public const uint ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED = 1274;
  467. //public const uint ERROR_DRIVER_BLOCKED = 1275;
  468. //public const uint ERROR_INVALID_IMPORT_OF_NON_DLL = 1276;
  469. //public const uint ERROR_ACCESS_DISABLED_WEBBLADE = 1277;
  470. //public const uint ERROR_ACCESS_DISABLED_WEBBLADE_TAMPER = 1278;
  471. //public const uint ERROR_RECOVERY_FAILURE = 1279;
  472. //public const uint ERROR_ALREADY_FIBER = 1280;
  473. //public const uint ERROR_ALREADY_THREAD = 1281;
  474. //public const uint ERROR_STACK_BUFFER_OVERRUN = 1282;
  475. //public const uint ERROR_PARAMETER_QUOTA_EXCEEDED = 1283;
  476. //public const uint ERROR_DEBUGGER_INACTIVE = 1284;
  477. //public const uint ERROR_DELAY_LOAD_FAILED = 1285;
  478. //public const uint ERROR_VDM_DISALLOWED = 1286;
  479. //public const uint ERROR_UNIDENTIFIED_ERROR = 1287;
  480. //public const uint ERROR_NOT_ALL_ASSIGNED = 1300;
  481. //public const uint ERROR_SOME_NOT_MAPPED = 1301;
  482. //public const uint ERROR_NO_QUOTAS_FOR_ACCOUNT = 1302;
  483. //public const uint ERROR_LOCAL_USER_SESSION_KEY = 1303;
  484. //public const uint ERROR_NULL_LM_PASSWORD = 1304;
  485. //public const uint ERROR_UNKNOWN_REVISION = 1305;
  486. //public const uint ERROR_REVISION_MISMATCH = 1306;
  487. //public const uint ERROR_INVALID_OWNER = 1307;
  488. //public const uint ERROR_INVALID_PRIMARY_GROUP = 1308;
  489. //public const uint ERROR_NO_IMPERSONATION_TOKEN = 1309;
  490. //public const uint ERROR_CANT_DISABLE_MANDATORY = 1310;
  491. //public const uint ERROR_NO_LOGON_SERVERS = 1311;
  492. //public const uint ERROR_NO_SUCH_LOGON_SESSION = 1312;
  493. //public const uint ERROR_NO_SUCH_PRIVILEGE = 1313;
  494. //public const uint ERROR_PRIVILEGE_NOT_HELD = 1314;
  495. //public const uint ERROR_INVALID_ACCOUNT_NAME = 1315;
  496. //public const uint ERROR_USER_EXISTS = 1316;
  497. //public const uint ERROR_NO_SUCH_USER = 1317;
  498. //public const uint ERROR_GROUP_EXISTS = 1318;
  499. //public const uint ERROR_NO_SUCH_GROUP = 1319;
  500. //public const uint ERROR_MEMBER_IN_GROUP = 1320;
  501. //public const uint ERROR_MEMBER_NOT_IN_GROUP = 1321;
  502. //public const uint ERROR_LAST_ADMIN = 1322;
  503. //public const uint ERROR_WRONG_PASSWORD = 1323;
  504. //public const uint ERROR_ILL_FORMED_PASSWORD = 1324;
  505. //public const uint ERROR_PASSWORD_RESTRICTION = 1325;
  506. //public const uint ERROR_LOGON_FAILURE = 1326;
  507. //public const uint ERROR_ACCOUNT_RESTRICTION = 1327;
  508. //public const uint ERROR_INVALID_LOGON_HOURS = 1328;
  509. //public const uint ERROR_INVALID_WORKSTATION = 1329;
  510. //public const uint ERROR_PASSWORD_EXPIRED = 1330;
  511. //public const uint ERROR_ACCOUNT_DISABLED = 1331;
  512. //public const uint ERROR_NONE_MAPPED = 1332;
  513. //public const uint ERROR_TOO_MANY_LUIDS_REQUESTED = 1333;
  514. //public const uint ERROR_LUIDS_EXHAUSTED = 1334;
  515. //public const uint ERROR_INVALID_SUB_AUTHORITY = 1335;
  516. //public const uint ERROR_INVALID_ACL = 1336;
  517. //public const uint ERROR_INVALID_SID = 1337;
  518. //public const uint ERROR_INVALID_SECURITY_DESCR = 1338;
  519. //public const uint ERROR_BAD_INHERITANCE_ACL = 1340;
  520. //public const uint ERROR_SERVER_DISABLED = 1341;
  521. //public const uint ERROR_SERVER_NOT_DISABLED = 1342;
  522. //public const uint ERROR_INVALID_ID_AUTHORITY = 1343;
  523. //public const uint ERROR_ALLOTTED_SPACE_EXCEEDED = 1344;
  524. //public const uint ERROR_INVALID_GROUP_ATTRIBUTES = 1345;
  525. //public const uint ERROR_BAD_IMPERSONATION_LEVEL = 1346;
  526. //public const uint ERROR_CANT_OPEN_ANONYMOUS = 1347;
  527. //public const uint ERROR_BAD_VALIDATION_CLASS = 1348;
  528. //public const uint ERROR_BAD_TOKEN_TYPE = 1349;
  529. //public const uint ERROR_NO_SECURITY_ON_OBJECT = 1350;
  530. //public const uint ERROR_CANT_ACCESS_DOMAIN_INFO = 1351;
  531. //public const uint ERROR_INVALID_SERVER_STATE = 1352;
  532. //public const uint ERROR_INVALID_DOMAIN_STATE = 1353;
  533. //public const uint ERROR_INVALID_DOMAIN_ROLE = 1354;
  534. //public const uint ERROR_NO_SUCH_DOMAIN = 1355;
  535. //public const uint ERROR_DOMAIN_EXISTS = 1356;
  536. //public const uint ERROR_DOMAIN_LIMIT_EXCEEDED = 1357;
  537. //public const uint ERROR_INTERNAL_DB_CORRUPTION = 1358;
  538. //public const uint ERROR_INTERNAL_ERROR = 1359;
  539. //public const uint ERROR_GENERIC_NOT_MAPPED = 1360;
  540. //public const uint ERROR_BAD_DESCRIPTOR_FORMAT = 1361;
  541. //public const uint ERROR_NOT_LOGON_PROCESS = 1362;
  542. //public const uint ERROR_LOGON_SESSION_EXISTS = 1363;
  543. //public const uint ERROR_NO_SUCH_PACKAGE = 1364;
  544. //public const uint ERROR_BAD_LOGON_SESSION_STATE = 1365;
  545. //public const uint ERROR_LOGON_SESSION_COLLISION = 1366;
  546. //public const uint ERROR_INVALID_LOGON_TYPE = 1367;
  547. //public const uint ERROR_CANNOT_IMPERSONATE = 1368;
  548. //public const uint ERROR_RXACT_INVALID_STATE = 1369;
  549. //public const uint ERROR_RXACT_COMMIT_FAILURE = 1370;
  550. //public const uint ERROR_SPECIAL_ACCOUNT = 1371;
  551. //public const uint ERROR_SPECIAL_GROUP = 1372;
  552. //public const uint ERROR_SPECIAL_USER = 1373;
  553. //public const uint ERROR_MEMBERS_PRIMARY_GROUP = 1374;
  554. //public const uint ERROR_TOKEN_ALREADY_IN_USE = 1375;
  555. //public const uint ERROR_NO_SUCH_ALIAS = 1376;
  556. //public const uint ERROR_MEMBER_NOT_IN_ALIAS = 1377;
  557. //public const uint ERROR_MEMBER_IN_ALIAS = 1378;
  558. //public const uint ERROR_ALIAS_EXISTS = 1379;
  559. //public const uint ERROR_LOGON_NOT_GRANTED = 1380;
  560. //public const uint ERROR_TOO_MANY_SECRETS = 1381;
  561. //public const uint ERROR_SECRET_TOO_LONG = 1382;
  562. //public const uint ERROR_INTERNAL_DB_ERROR = 1383;
  563. //public const uint ERROR_TOO_MANY_CONTEXT_IDS = 1384;
  564. //public const uint ERROR_LOGON_TYPE_NOT_GRANTED = 1385;
  565. //public const uint ERROR_NT_CROSS_ENCRYPTION_REQUIRED = 1386;
  566. //public const uint ERROR_NO_SUCH_MEMBER = 1387;
  567. //public const uint ERROR_INVALID_MEMBER = 1388;
  568. //public const uint ERROR_TOO_MANY_SIDS = 1389;
  569. //public const uint ERROR_LM_CROSS_ENCRYPTION_REQUIRED = 1390;
  570. //public const uint ERROR_NO_INHERITANCE = 1391;
  571. //public const uint ERROR_FILE_CORRUPT = 1392;
  572. //public const uint ERROR_DISK_CORRUPT = 1393;
  573. //public const uint ERROR_NO_USER_SESSION_KEY = 1394;
  574. //public const uint ERROR_LICENSE_QUOTA_EXCEEDED = 1395;
  575. //public const uint ERROR_WRONG_TARGET_NAME = 1396;
  576. //public const uint ERROR_MUTUAL_AUTH_FAILED = 1397;
  577. //public const uint ERROR_TIME_SKEW = 1398;
  578. //public const uint ERROR_CURRENT_DOMAIN_NOT_ALLOWED = 1399;
  579. //public const uint ERROR_INVALID_WINDOW_HANDLE = 1400;
  580. //public const uint ERROR_INVALID_MENU_HANDLE = 1401;
  581. //public const uint ERROR_INVALID_CURSOR_HANDLE = 1402;
  582. //public const uint ERROR_INVALID_ACCEL_HANDLE = 1403;
  583. //public const uint ERROR_INVALID_HOOK_HANDLE = 1404;
  584. //public const uint ERROR_INVALID_DWP_HANDLE = 1405;
  585. //public const uint ERROR_TLW_WITH_WSCHILD = 1406;
  586. //public const uint ERROR_CANNOT_FIND_WND_CLASS = 1407;
  587. //public const uint ERROR_WINDOW_OF_OTHER_THREAD = 1408;
  588. //public const uint ERROR_HOTKEY_ALREADY_REGISTERED = 1409;
  589. //public const uint ERROR_CLASS_ALREADY_EXISTS = 1410;
  590. //public const uint ERROR_CLASS_DOES_NOT_EXIST = 1411;
  591. //public const uint ERROR_CLASS_HAS_WINDOWS = 1412;
  592. //public const uint ERROR_INVALID_INDEX = 1413;
  593. //public const uint ERROR_INVALID_ICON_HANDLE = 1414;
  594. //public const uint ERROR_PRIVATE_DIALOG_INDEX = 1415;
  595. //public const uint ERROR_LISTBOX_ID_NOT_FOUND = 1416;
  596. //public const uint ERROR_NO_WILDCARD_CHARACTERS = 1417;
  597. //public const uint ERROR_CLIPBOARD_NOT_OPEN = 1418;
  598. //public const uint ERROR_HOTKEY_NOT_REGISTERED = 1419;
  599. //public const uint ERROR_WINDOW_NOT_DIALOG = 1420;
  600. //public const uint ERROR_CONTROL_ID_NOT_FOUND = 1421;
  601. //public const uint ERROR_INVALID_COMBOBOX_MESSAGE = 1422;
  602. //public const uint ERROR_WINDOW_NOT_COMBOBOX = 1423;
  603. //public const uint ERROR_INVALID_EDIT_HEIGHT = 1424;
  604. //public const uint ERROR_DC_NOT_FOUND = 1425;
  605. //public const uint ERROR_INVALID_HOOK_FILTER = 1426;
  606. //public const uint ERROR_INVALID_FILTER_PROC = 1427;
  607. //public const uint ERROR_HOOK_NEEDS_HMOD = 1428;
  608. //public const uint ERROR_GLOBAL_ONLY_HOOK = 1429;
  609. //public const uint ERROR_JOURNAL_HOOK_SET = 1430;
  610. //public const uint ERROR_HOOK_NOT_INSTALLED = 1431;
  611. //public const uint ERROR_INVALID_LB_MESSAGE = 1432;
  612. //public const uint ERROR_SETCOUNT_ON_BAD_LB = 1433;
  613. //public const uint ERROR_LB_WITHOUT_TABSTOPS = 1434;
  614. //public const uint ERROR_DESTROY_OBJECT_OF_OTHER_THREAD = 1435;
  615. //public const uint ERROR_CHILD_WINDOW_MENU = 1436;
  616. //public const uint ERROR_NO_SYSTEM_MENU = 1437;
  617. //public const uint ERROR_INVALID_MSGBOX_STYLE = 1438;
  618. //public const uint ERROR_INVALID_SPI_VALUE = 1439;
  619. //public const uint ERROR_SCREEN_ALREADY_LOCKED = 1440;
  620. //public const uint ERROR_HWNDS_HAVE_DIFF_PARENT = 1441;
  621. //public const uint ERROR_NOT_CHILD_WINDOW = 1442;
  622. //public const uint ERROR_INVALID_GW_COMMAND = 1443;
  623. //public const uint ERROR_INVALID_THREAD_ID = 1444;
  624. //public const uint ERROR_NON_MDICHILD_WINDOW = 1445;
  625. //public const uint ERROR_POPUP_ALREADY_ACTIVE = 1446;
  626. //public const uint ERROR_NO_SCROLLBARS = 1447;
  627. //public const uint ERROR_INVALID_SCROLLBAR_RANGE = 1448;
  628. //public const uint ERROR_INVALID_SHOWWIN_COMMAND = 1449;
  629. //public const uint ERROR_NO_SYSTEM_RESOURCES = 1450;
  630. //public const uint ERROR_NONPAGED_SYSTEM_RESOURCES = 1451;
  631. //public const uint ERROR_PAGED_SYSTEM_RESOURCES = 1452;
  632. //public const uint ERROR_WORKING_SET_QUOTA = 1453;
  633. //public const uint ERROR_PAGEFILE_QUOTA = 1454;
  634. //public const uint ERROR_COMMITMENT_LIMIT = 1455;
  635. //public const uint ERROR_MENU_ITEM_NOT_FOUND = 1456;
  636. //public const uint ERROR_INVALID_KEYBOARD_HANDLE = 1457;
  637. //public const uint ERROR_HOOK_TYPE_NOT_ALLOWED = 1458;
  638. //public const uint ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION = 1459;
  639. //public const uint ERROR_TIMEOUT = 1460;
  640. //public const uint ERROR_INVALID_MONITOR_HANDLE = 1461;
  641. //public const uint ERROR_INCORRECT_SIZE = 1462;
  642. //public const uint ERROR_EVENTLOG_FILE_CORRUPT = 1500;
  643. //public const uint ERROR_EVENTLOG_CANT_START = 1501;
  644. //public const uint ERROR_LOG_FILE_FULL = 1502;
  645. //public const uint ERROR_EVENTLOG_FILE_CHANGED = 1503;
  646. //public const uint ERROR_INSTALL_SERVICE_FAILURE = 1601;
  647. //public const uint ERROR_INSTALL_USEREXIT = 1602;
  648. //public const uint ERROR_INSTALL_FAILURE = 1603;
  649. //public const uint ERROR_INSTALL_SUSPEND = 1604;
  650. //public const uint ERROR_UNKNOWN_PRODUCT = 1605;
  651. //public const uint ERROR_UNKNOWN_FEATURE = 1606;
  652. //public const uint ERROR_UNKNOWN_COMPONENT = 1607;
  653. //public const uint ERROR_UNKNOWN_PROPERTY = 1608;
  654. //public const uint ERROR_INVALID_HANDLE_STATE = 1609;
  655. //public const uint ERROR_BAD_CONFIGURATION = 1610;
  656. //public const uint ERROR_INDEX_ABSENT = 1611;
  657. //public const uint ERROR_INSTALL_SOURCE_ABSENT = 1612;
  658. //public const uint ERROR_INSTALL_PACKAGE_VERSION = 1613;
  659. //public const uint ERROR_PRODUCT_UNINSTALLED = 1614;
  660. //public const uint ERROR_BAD_QUERY_SYNTAX = 1615;
  661. //public const uint ERROR_INVALID_FIELD = 1616;
  662. //public const uint ERROR_DEVICE_REMOVED = 1617;
  663. //public const uint ERROR_INSTALL_ALREADY_RUNNING = 1618;
  664. //public const uint ERROR_INSTALL_PACKAGE_OPEN_FAILED = 1619;
  665. //public const uint ERROR_INSTALL_PACKAGE_INVALID = 1620;
  666. //public const uint ERROR_INSTALL_UI_FAILURE = 1621;
  667. //public const uint ERROR_INSTALL_LOG_FAILURE = 1622;
  668. //public const uint ERROR_INSTALL_LANGUAGE_UNSUPPORTED = 1623;
  669. //public const uint ERROR_INSTALL_TRANSFORM_FAILURE = 1624;
  670. //public const uint ERROR_INSTALL_PACKAGE_REJECTED = 1625;
  671. //public const uint ERROR_FUNCTION_NOT_CALLED = 1626;
  672. //public const uint ERROR_FUNCTION_FAILED = 1627;
  673. //public const uint ERROR_INVALID_TABLE = 1628;
  674. //public const uint ERROR_DATATYPE_MISMATCH = 1629;
  675. //public const uint ERROR_UNSUPPORTED_TYPE = 1630;
  676. //public const uint ERROR_CREATE_FAILED = 1631;
  677. //public const uint ERROR_INSTALL_TEMP_UNWRITABLE = 1632;
  678. //public const uint ERROR_INSTALL_PLATFORM_UNSUPPORTED = 1633;
  679. //public const uint ERROR_INSTALL_NOTUSED = 1634;
  680. //public const uint ERROR_PATCH_PACKAGE_OPEN_FAILED = 1635;
  681. //public const uint ERROR_PATCH_PACKAGE_INVALID = 1636;
  682. //public const uint ERROR_PATCH_PACKAGE_UNSUPPORTED = 1637;
  683. //public const uint ERROR_PRODUCT_VERSION = 1638;
  684. //public const uint ERROR_INVALID_COMMAND_LINE = 1639;
  685. //public const uint ERROR_INSTALL_REMOTE_DISALLOWED = 1640;
  686. /// <summary>(1641) The requested operation completed successfully.
  687. /// <para>The system will be restarted so the changes can take effect.</para>
  688. /// </summary>
  689. public const uint ERROR_SUCCESS_REBOOT_INITIATED = 1641;
  690. //public const uint ERROR_PATCH_TARGET_NOT_FOUND = 1642;
  691. //public const uint ERROR_PATCH_PACKAGE_REJECTED = 1643;
  692. //public const uint ERROR_INSTALL_TRANSFORM_REJECTED = 1644;
  693. //public const uint ERROR_INSTALL_REMOTE_PROHIBITED = 1645;
  694. //public const uint RPC_S_INVALID_STRING_BINDING = 1700;
  695. //public const uint RPC_S_WRONG_KIND_OF_BINDING = 1701;
  696. //public const uint RPC_S_INVALID_BINDING = 1702;
  697. //public const uint RPC_S_PROTSEQ_NOT_SUPPORTED = 1703;
  698. //public const uint RPC_S_INVALID_RPC_PROTSEQ = 1704;
  699. //public const uint RPC_S_INVALID_STRING_UUID = 1705;
  700. //public const uint RPC_S_INVALID_ENDPOINT_FORMAT = 1706;
  701. //public const uint RPC_S_INVALID_NET_ADDR = 1707;
  702. //public const uint RPC_S_NO_ENDPOINT_FOUND = 1708;
  703. //public const uint RPC_S_INVALID_TIMEOUT = 1709;
  704. //public const uint RPC_S_OBJECT_NOT_FOUND = 1710;
  705. //public const uint RPC_S_ALREADY_REGISTERED = 1711;
  706. //public const uint RPC_S_TYPE_ALREADY_REGISTERED = 1712;
  707. //public const uint RPC_S_ALREADY_LISTENING = 1713;
  708. //public const uint RPC_S_NO_PROTSEQS_REGISTERED = 1714;
  709. //public const uint RPC_S_NOT_LISTENING = 1715;
  710. //public const uint RPC_S_UNKNOWN_MGR_TYPE = 1716;
  711. //public const uint RPC_S_UNKNOWN_IF = 1717;
  712. //public const uint RPC_S_NO_BINDINGS = 1718;
  713. //public const uint RPC_S_NO_PROTSEQS = 1719;
  714. //public const uint RPC_S_CANT_CREATE_ENDPOINT = 1720;
  715. //public const uint RPC_S_OUT_OF_RESOURCES = 1721;
  716. //public const uint RPC_S_SERVER_UNAVAILABLE = 1722;
  717. //public const uint RPC_S_SERVER_TOO_BUSY = 1723;
  718. //public const uint RPC_S_INVALID_NETWORK_OPTIONS = 1724;
  719. //public const uint RPC_S_NO_CALL_ACTIVE = 1725;
  720. //public const uint RPC_S_CALL_FAILED = 1726;
  721. //public const uint RPC_S_CALL_FAILED_DNE = 1727;
  722. //public const uint RPC_S_PROTOCOL_ERROR = 1728;
  723. //public const uint RPC_S_UNSUPPORTED_TRANS_SYN = 1730;
  724. //public const uint RPC_S_UNSUPPORTED_TYPE = 1732;
  725. //public const uint RPC_S_INVALID_TAG = 1733;
  726. //public const uint RPC_S_INVALID_BOUND = 1734;
  727. //public const uint RPC_S_NO_ENTRY_NAME = 1735;
  728. //public const uint RPC_S_INVALID_NAME_SYNTAX = 1736;
  729. //public const uint RPC_S_UNSUPPORTED_NAME_SYNTAX = 1737;
  730. //public const uint RPC_S_UUID_NO_ADDRESS = 1739;
  731. //public const uint RPC_S_DUPLICATE_ENDPOINT = 1740;
  732. //public const uint RPC_S_UNKNOWN_AUTHN_TYPE = 1741;
  733. //public const uint RPC_S_MAX_CALLS_TOO_SMALL = 1742;
  734. //public const uint RPC_S_STRING_TOO_LONG = 1743;
  735. //public const uint RPC_S_PROTSEQ_NOT_FOUND = 1744;
  736. //public const uint RPC_S_PROCNUM_OUT_OF_RANGE = 1745;
  737. //public const uint RPC_S_BINDING_HAS_NO_AUTH = 1746;
  738. //public const uint RPC_S_UNKNOWN_AUTHN_SERVICE = 1747;
  739. //public const uint RPC_S_UNKNOWN_AUTHN_LEVEL = 1748;
  740. //public const uint RPC_S_INVALID_AUTH_IDENTITY = 1749;
  741. //public const uint RPC_S_UNKNOWN_AUTHZ_SERVICE = 1750;
  742. //public const uint EPT_S_INVALID_ENTRY = 1751;
  743. //public const uint EPT_S_CANT_PERFORM_OP = 1752;
  744. //public const uint EPT_S_NOT_REGISTERED = 1753;
  745. //public const uint RPC_S_NOTHING_TO_EXPORT = 1754;
  746. //public const uint RPC_S_INCOMPLETE_NAME = 1755;
  747. //public const uint RPC_S_INVALID_VERS_OPTION = 1756;
  748. //public const uint RPC_S_NO_MORE_MEMBERS = 1757;
  749. //public const uint RPC_S_NOT_ALL_OBJS_UNEXPORTED = 1758;
  750. //public const uint RPC_S_INTERFACE_NOT_FOUND = 1759;
  751. //public const uint RPC_S_ENTRY_ALREADY_EXISTS = 1760;
  752. //public const uint RPC_S_ENTRY_NOT_FOUND = 1761;
  753. //public const uint RPC_S_NAME_SERVICE_UNAVAILABLE = 1762;
  754. //public const uint RPC_S_INVALID_NAF_ID = 1763;
  755. //public const uint RPC_S_CANNOT_SUPPORT = 1764;
  756. //public const uint RPC_S_NO_CONTEXT_AVAILABLE = 1765;
  757. //public const uint RPC_S_INTERNAL_ERROR = 1766;
  758. //public const uint RPC_S_ZERO_DIVIDE = 1767;
  759. //public const uint RPC_S_ADDRESS_ERROR = 1768;
  760. //public const uint RPC_S_FP_DIV_ZERO = 1769;
  761. //public const uint RPC_S_FP_UNDERFLOW = 1770;
  762. //public const uint RPC_S_FP_OVERFLOW = 1771;
  763. //public const uint RPC_X_NO_MORE_ENTRIES = 1772;
  764. //public const uint RPC_X_SS_CHAR_TRANS_OPEN_FAIL = 1773;
  765. //public const uint RPC_X_SS_CHAR_TRANS_SHORT_FILE = 1774;
  766. //public const uint RPC_X_SS_IN_NULL_CONTEXT = 1775;
  767. //public const uint RPC_X_SS_CONTEXT_DAMAGED = 1777;
  768. //public const uint RPC_X_SS_HANDLES_MISMATCH = 1778;
  769. //public const uint RPC_X_SS_CANNOT_GET_CALL_HANDLE = 1779;
  770. //public const uint RPC_X_NULL_REF_POINTER = 1780;
  771. //public const uint RPC_X_ENUM_VALUE_OUT_OF_RANGE = 1781;
  772. //public const uint RPC_X_BYTE_COUNT_TOO_SMALL = 1782;
  773. /// <summary>(1783) The stub received bad data.</summary>
  774. public const uint RPC_X_BAD_STUB_DATA = 1783;
  775. //public const uint ERROR_INVALID_USER_BUFFER = 1784;
  776. //public const uint ERROR_UNRECOGNIZED_MEDIA = 1785;
  777. //public const uint ERROR_NO_TRUST_LSA_SECRET = 1786;
  778. //public const uint ERROR_NO_TRUST_SAM_ACCOUNT = 1787;
  779. //public const uint ERROR_TRUSTED_DOMAIN_FAILURE = 1788;
  780. //public const uint ERROR_TRUSTED_RELATIONSHIP_FAILURE = 1789;
  781. //public const uint ERROR_TRUST_FAILURE = 1790;
  782. //public const uint RPC_S_CALL_IN_PROGRESS = 1791;
  783. //public const uint ERROR_NETLOGON_NOT_STARTED = 1792;
  784. //public const uint ERROR_ACCOUNT_EXPIRED = 1793;
  785. //public const uint ERROR_REDIRECTOR_HAS_OPEN_HANDLES = 1794;
  786. //public const uint ERROR_PRINTER_DRIVER_ALREADY_INSTALLED = 1795;
  787. //public const uint ERROR_UNKNOWN_PORT = 1796;
  788. //public const uint ERROR_UNKNOWN_PRINTER_DRIVER = 1797;
  789. //public const uint ERROR_UNKNOWN_PRINTPROCESSOR = 1798;
  790. //public const uint ERROR_INVALID_SEPARATOR_FILE = 1799;
  791. //public const uint ERROR_INVALID_PRIORITY = 1800;
  792. //public const uint ERROR_INVALID_PRINTER_NAME = 1801;
  793. //public const uint ERROR_PRINTER_ALREADY_EXISTS = 1802;
  794. //public const uint ERROR_INVALID_PRINTER_COMMAND = 1803;
  795. //public const uint ERROR_INVALID_DATATYPE = 1804;
  796. //public const uint ERROR_INVALID_ENVIRONMENT = 1805;
  797. //public const uint RPC_S_NO_MORE_BINDINGS = 1806;
  798. //public const uint ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT = 1807;
  799. //public const uint ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT = 1808;
  800. //public const uint ERROR_NOLOGON_SERVER_TRUST_ACCOUNT = 1809;
  801. //public const uint ERROR_DOMAIN_TRUST_INCONSISTENT = 1810;
  802. //public const uint ERROR_SERVER_HAS_OPEN_HANDLES = 1811;
  803. //public const uint ERROR_RESOURCE_DATA_NOT_FOUND = 1812;
  804. //public const uint ERROR_RESOURCE_TYPE_NOT_FOUND = 1813;
  805. //public const uint ERROR_RESOURCE_NAME_NOT_FOUND = 1814;
  806. //public const uint ERROR_RESOURCE_LANG_NOT_FOUND = 1815;
  807. //public const uint ERROR_NOT_ENOUGH_QUOTA = 1816;
  808. //public const uint RPC_S_NO_INTERFACES = 1817;
  809. //public const uint RPC_S_CALL_CANCELLED = 1818;
  810. //public const uint RPC_S_BINDING_INCOMPLETE = 1819;
  811. //public const uint RPC_S_COMM_FAILURE = 1820;
  812. //public const uint RPC_S_UNSUPPORTED_AUTHN_LEVEL = 1821;
  813. //public const uint RPC_S_NO_PRINC_NAME = 1822;
  814. //public const uint RPC_S_NOT_RPC_ERROR = 1823;
  815. //public const uint RPC_S_UUID_LOCAL_ONLY = 1824;
  816. //public const uint RPC_S_SEC_PKG_ERROR = 1825;
  817. //public const uint RPC_S_NOT_CANCELLED = 1826;
  818. //public const uint RPC_X_INVALID_ES_ACTION = 1827;
  819. //public const uint RPC_X_WRONG_ES_VERSION = 1828;
  820. //public const uint RPC_X_WRONG_STUB_VERSION = 1829;
  821. //public const uint RPC_X_INVALID_PIPE_OBJECT = 1830;
  822. //public const uint RPC_X_WRONG_PIPE_ORDER = 1831;
  823. //public const uint RPC_X_WRONG_PIPE_VERSION = 1832;
  824. //public const uint RPC_S_GROUP_MEMBER_NOT_FOUND = 1898;
  825. //public const uint EPT_S_CANT_CREATE = 1899;
  826. //public const uint RPC_S_INVALID_OBJECT = 1900;
  827. //public const uint ERROR_INVALID_TIME = 1901;
  828. //public const uint ERROR_INVALID_FORM_NAME = 1902;
  829. //public const uint ERROR_INVALID_FORM_SIZE = 1903;
  830. //public const uint ERROR_ALREADY_WAITING = 1904;
  831. //public const uint ERROR_PRINTER_DELETED = 1905;
  832. //public const uint ERROR_INVALID_PRINTER_STATE = 1906;
  833. //public const uint ERROR_PASSWORD_MUST_CHANGE = 1907;
  834. //public const uint ERROR_DOMAIN_CONTROLLER_NOT_FOUND = 1908;
  835. //public const uint ERROR_ACCOUNT_LOCKED_OUT = 1909;
  836. //public const uint OR_INVALID_OXID = 1910;
  837. //public const uint OR_INVALID_OID = 1911;
  838. //public const uint OR_INVALID_SET = 1912;
  839. //public const uint RPC_S_SEND_INCOMPLETE = 1913;
  840. //public const uint RPC_S_INVALID_ASYNC_HANDLE = 1914;
  841. //public const uint RPC_S_INVALID_ASYNC_CALL = 1915;
  842. //public const uint RPC_X_PIPE_CLOSED = 1916;
  843. //public const uint RPC_X_PIPE_DISCIPLINE_ERROR = 1917;
  844. //public const uint RPC_X_PIPE_EMPTY = 1918;
  845. //public const uint ERROR_NO_SITENAME = 1919;
  846. //public const uint ERROR_CANT_ACCESS_FILE = 1920;
  847. //public const uint ERROR_CANT_RESOLVE_FILENAME = 1921;
  848. //public const uint RPC_S_ENTRY_TYPE_MISMATCH = 1922;
  849. //public const uint RPC_S_NOT_ALL_OBJS_EXPORTED = 1923;
  850. //public const uint RPC_S_INTERFACE_NOT_EXPORTED = 1924;
  851. //public const uint RPC_S_PROFILE_NOT_ADDED = 1925;
  852. //public const uint RPC_S_PRF_ELT_NOT_ADDED = 1926;
  853. //public const uint RPC_S_PRF_ELT_NOT_REMOVED = 1927;
  854. //public const uint RPC_S_GRP_ELT_NOT_ADDED = 1928;
  855. //public const uint RPC_S_GRP_ELT_NOT_REMOVED = 1929;
  856. //public const uint ERROR_KM_DRIVER_BLOCKED = 1930;
  857. //public const uint ERROR_CONTEXT_EXPIRED = 1931;
  858. //public const uint ERROR_PER_USER_TRUST_QUOTA_EXCEEDED = 1932;
  859. //public const uint ERROR_ALL_USER_TRUST_QUOTA_EXCEEDED = 1933;
  860. //public const uint ERROR_USER_DELETE_TRUST_QUOTA_EXCEEDED = 1934;
  861. //public const uint ERROR_AUTHENTICATION_FIREWALL_FAILED = 1935;
  862. //public const uint ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED = 1936;
  863. //public const uint ERROR_INVALID_PIXEL_FORMAT = 2000;
  864. //public const uint ERROR_BAD_DRIVER = 2001;
  865. //public const uint ERROR_INVALID_WINDOW_STYLE = 2002;
  866. //public const uint ERROR_METAFILE_NOT_SUPPORTED = 2003;
  867. //public const uint ERROR_TRANSFORM_NOT_SUPPORTED = 2004;
  868. //public const uint ERROR_CLIPPING_NOT_SUPPORTED = 2005;
  869. //public const uint ERROR_INVALID_CMM = 2010;
  870. //public const uint ERROR_INVALID_PROFILE = 2011;
  871. //public const uint ERROR_TAG_NOT_FOUND = 2012;
  872. //public const uint ERROR_TAG_NOT_PRESENT = 2013;
  873. //public const uint ERROR_DUPLICATE_TAG = 2014;
  874. //public const uint ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE = 2015;
  875. //public const uint ERROR_PROFILE_NOT_FOUND = 2016;
  876. //public const uint ERROR_INVALID_COLORSPACE = 2017;
  877. //public const uint ERROR_ICM_NOT_ENABLED = 2018;
  878. //public const uint ERROR_DELETING_ICM_XFORM = 2019;
  879. //public const uint ERROR_INVALID_TRANSFORM = 2020;
  880. //public const uint ERROR_COLORSPACE_MISMATCH = 2021;
  881. //public const uint ERROR_INVALID_COLORINDEX = 2022;
  882. //public const uint ERROR_CONNECTED_OTHER_PASSWORD = 2108;
  883. //public const uint ERROR_CONNECTED_OTHER_PASSWORD_DEFAULT = 2109;
  884. //public const uint ERROR_UNKNOWN_PRINT_MONITOR = 3000;
  885. //public const uint ERROR_PRINTER_DRIVER_IN_USE = 3001;
  886. //public const uint ERROR_SPOOL_FILE_NOT_FOUND = 3002;
  887. //public const uint ERROR_SPL_NO_STARTDOC = 3003;
  888. //public const uint ERROR_SPL_NO_ADDJOB = 3004;
  889. //public const uint ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED = 3005;
  890. //public const uint ERROR_PRINT_MONITOR_ALREADY_INSTALLED = 3006;
  891. //public const uint ERROR_INVALID_PRINT_MONITOR = 3007;
  892. //public const uint ERROR_PRINT_MONITOR_IN_USE = 3008;
  893. //public const uint ERROR_PRINTER_HAS_JOBS_QUEUED = 3009;
  894. /// <summary>(3010) The requested operation is successful.
  895. /// <para>Changes will not be effective until the system is rebooted.</para>
  896. /// </summary>
  897. public const uint ERROR_SUCCESS_REBOOT_REQUIRED = 3010;
  898. /// <summary>(3011) The requested operation is successful.
  899. /// <para>Changes will not be effective until the service is restarted.</para>
  900. /// </summary>
  901. public const uint ERROR_SUCCESS_RESTART_REQUIRED = 3011;
  902. //public const uint ERROR_PRINTER_NOT_FOUND = 3012;
  903. //public const uint ERROR_PRINTER_DRIVER_WARNED = 3013;
  904. //public const uint ERROR_PRINTER_DRIVER_BLOCKED = 3014;
  905. //public const uint ERROR_WINS_INTERNAL = 4000;
  906. //public const uint ERROR_CAN_NOT_DEL_LOCAL_WINS = 4001;
  907. //public const uint ERROR_STATIC_INIT = 4002;
  908. //public const uint ERROR_INC_BACKUP = 4003;
  909. //public const uint ERROR_FULL_BACKUP = 4004;
  910. //public const uint ERROR_REC_NON_EXISTENT = 4005;
  911. //public const uint ERROR_RPL_NOT_ALLOWED = 4006;
  912. //public const uint ERROR_DHCP_ADDRESS_CONFLICT = 4100;
  913. //public const uint ERROR_WMI_GUID_NOT_FOUND = 4200;
  914. //public const uint ERROR_WMI_INSTANCE_NOT_FOUND = 4201;
  915. //public const uint ERROR_WMI_ITEMID_NOT_FOUND = 4202;
  916. //public const uint ERROR_WMI_TRY_AGAIN = 4203;
  917. //public const uint ERROR_WMI_DP_NOT_FOUND = 4204;
  918. //public const uint ERROR_WMI_UNRESOLVED_INSTANCE_REF = 4205;
  919. //public const uint ERROR_WMI_ALREADY_ENABLED = 4206;
  920. //public const uint ERROR_WMI_GUID_DISCONNECTED = 4207;
  921. //public const uint ERROR_WMI_SERVER_UNAVAILABLE = 4208;
  922. //public const uint ERROR_WMI_DP_FAILED = 4209;
  923. //public const uint ERROR_WMI_INVALID_MOF = 4210;
  924. //public const uint ERROR_WMI_INVALID_REGINFO = 4211;
  925. //public const uint ERROR_WMI_ALREADY_DISABLED = 4212;
  926. //public const uint ERROR_WMI_READ_ONLY = 4213;
  927. //public const uint ERROR_WMI_SET_FAILURE = 4214;
  928. //public const uint ERROR_INVALID_MEDIA = 4300;
  929. //public const uint ERROR_INVALID_LIBRARY = 4301;
  930. //public const uint ERROR_INVALID_MEDIA_POOL = 4302;
  931. //public const uint ERROR_DRIVE_MEDIA_MISMATCH = 4303;
  932. //public const uint ERROR_MEDIA_OFFLINE = 4304;
  933. //public const uint ERROR_LIBRARY_OFFLINE = 4305;
  934. //public const uint ERROR_EMPTY = 4306;
  935. //public const uint ERROR_NOT_EMPTY = 4307;
  936. //public const uint ERROR_MEDIA_UNAVAILABLE = 4308;
  937. //public const uint ERROR_RESOURCE_DISABLED = 4309;
  938. //public const uint ERROR_INVALID_CLEANER = 4310;
  939. //public const uint ERROR_UNABLE_TO_CLEAN = 4311;
  940. //public const uint ERROR_OBJECT_NOT_FOUND = 4312;
  941. //public const uint ERROR_DATABASE_FAILURE = 4313;
  942. //public const uint ERROR_DATABASE_FULL = 4314;
  943. //public const uint ERROR_MEDIA_INCOMPATIBLE = 4315;
  944. //public const uint ERROR_RESOURCE_NOT_PRESENT = 4316;
  945. //public const uint ERROR_INVALID_OPERATION = 4317;
  946. //public const uint ERROR_MEDIA_NOT_AVAILABLE = 4318;
  947. //public const uint ERROR_DEVICE_NOT_AVAILABLE = 4319;
  948. //public const uint ERROR_REQUEST_REFUSED = 4320;
  949. //public const uint ERROR_INVALID_DRIVE_OBJECT = 4321;
  950. //public const uint ERROR_LIBRARY_FULL = 4322;
  951. //public const uint ERROR_MEDIUM_NOT_ACCESSIBLE = 4323;
  952. //public const uint ERROR_UNABLE_TO_LOAD_MEDIUM = 4324;
  953. //public const uint ERROR_UNABLE_TO_INVENTORY_DRIVE = 4325;
  954. //public const uint ERROR_UNABLE_TO_INVENTORY_SLOT = 4326;
  955. //public const uint ERROR_UNABLE_TO_INVENTORY_TRANSPORT = 4327;
  956. //public const uint ERROR_TRANSPORT_FULL = 4328;
  957. //public const uint ERROR_CONTROLLING_IEPORT = 4329;
  958. //public const uint ERROR_UNABLE_TO_EJECT_MOUNTED_MEDIA = 4330;
  959. //public const uint ERROR_CLEANER_SLOT_SET = 4331;
  960. //public const uint ERROR_CLEANER_SLOT_NOT_SET = 4332;
  961. //public const uint ERROR_CLEANER_CARTRIDGE_SPENT = 4333;
  962. //public const uint ERROR_UNEXPECTED_OMID = 4334;
  963. //public const uint ERROR_CANT_DELETE_LAST_ITEM = 4335;
  964. //public const uint ERROR_MESSAGE_EXCEEDS_MAX_SIZE = 4336;
  965. //public const uint ERROR_VOLUME_CONTAINS_SYS_FILES = 4337;
  966. //public const uint ERROR_INDIGENOUS_TYPE = 4338;
  967. //public const uint ERROR_NO_SUPPORTING_DRIVES = 4339;
  968. //public const uint ERROR_CLEANER_CARTRIDGE_INSTALLED = 4340;
  969. //public const uint ERROR_IEPORT_FULL = 4341;
  970. //public const uint ERROR_FILE_OFFLINE = 4350;
  971. //public const uint ERROR_REMOTE_STORAGE_NOT_ACTIVE = 4351;
  972. //public const uint ERROR_REMOTE_STORAGE_MEDIA_ERROR = 4352;
  973. /// <summary>(4390) The file or directory is not a reparse point.</summary>
  974. public const uint ERROR_NOT_A_REPARSE_POINT = 4390;
  975. //public const uint ERROR_REPARSE_ATTRIBUTE_CONFLICT = 4391;
  976. //public const uint ERROR_INVALID_REPARSE_DATA = 4392;
  977. //public const uint ERROR_REPARSE_TAG_INVALID = 4393;
  978. //public const uint ERROR_REPARSE_TAG_MISMATCH = 4394;
  979. //public const uint ERROR_VOLUME_NOT_SIS_ENABLED = 4500;
  980. //public const uint ERROR_DEPENDENT_RESOURCE_EXISTS = 5001;
  981. //public const uint ERROR_DEPENDENCY_NOT_FOUND = 5002;
  982. //public const uint ERROR_DEPENDENCY_ALREADY_EXISTS = 5003;
  983. //public const uint ERROR_RESOURCE_NOT_ONLINE = 5004;
  984. //public const uint ERROR_HOST_NODE_NOT_AVAILABLE = 5005;
  985. //public const uint ERROR_RESOURCE_NOT_AVAILABLE = 5006;
  986. //public const uint ERROR_RESOURCE_NOT_FOUND = 5007;
  987. //public const uint ERROR_SHUTDOWN_CLUSTER = 5008;
  988. //public const uint ERROR_CANT_EVICT_ACTIVE_NODE = 5009;
  989. //public const uint ERROR_OBJECT_ALREADY_EXISTS = 5010;
  990. //public const uint ERROR_OBJECT_IN_LIST = 5011;
  991. //public const uint ERROR_GROUP_NOT_AVAILABLE = 5012;
  992. //public const uint ERROR_GROUP_NOT_FOUND = 5013;
  993. //public const uint ERROR_GROUP_NOT_ONLINE = 5014;
  994. //public const uint ERROR_HOST_NODE_NOT_RESOURCE_OWNER = 5015;
  995. //public const uint ERROR_HOST_NODE_NOT_GROUP_OWNER = 5016;
  996. //public const uint ERROR_RESMON_CREATE_FAILED = 5017;
  997. //public const uint ERROR_RESMON_ONLINE_FAILED = 5018;
  998. //public const uint ERROR_RESOURCE_ONLINE = 5019;
  999. //public const uint ERROR_QUORUM_RESOURCE = 5020;
  1000. //public const uint ERROR_NOT_QUORUM_CAPABLE = 5021;
  1001. //public const uint ERROR_CLUSTER_SHUTTING_DOWN = 5022;
  1002. //public const uint ERROR_INVALID_STATE = 5023;
  1003. //public const uint ERROR_RESOURCE_PROPERTIES_STORED = 5024;
  1004. //public const uint ERROR_NOT_QUORUM_CLASS = 5025;
  1005. //public const uint ERROR_CORE_RESOURCE = 5026;
  1006. //public const uint ERROR_QUORUM_RESOURCE_ONLINE_FAILED = 5027;
  1007. //public const uint ERROR_QUORUMLOG_OPEN_FAILED = 5028;
  1008. //public const uint ERROR_CLUSTERLOG_CORRUPT = 5029;
  1009. //public const uint ERROR_CLUSTERLOG_RECORD_EXCEEDS_MAXSIZE = 5030;
  1010. //public const uint ERROR_CLUSTERLOG_EXCEEDS_MAXSIZE = 5031;
  1011. //public const uint ERROR_CLUSTERLOG_CHKPOINT_NOT_FOUND = 5032;
  1012. //public const uint ERROR_CLUSTERLOG_NOT_ENOUGH_SPACE = 5033;
  1013. //public const uint ERROR_QUORUM_OWNER_ALIVE = 5034;
  1014. //public const uint ERROR_NETWORK_NOT_AVAILABLE = 5035;
  1015. //public const uint ERROR_NODE_NOT_AVAILABLE = 5036;
  1016. //public const uint ERROR_ALL_NODES_NOT_AVAILABLE = 5037;
  1017. //public const uint ERROR_RESOURCE_FAILED = 5038;
  1018. //public const uint ERROR_CLUSTER_INVALID_NODE = 5039;
  1019. //public const uint ERROR_CLUSTER_NODE_EXISTS = 5040;
  1020. //public const uint ERROR_CLUSTER_JOIN_IN_PROGRESS = 5041;
  1021. //public const uint ERROR_CLUSTER_NODE_NOT_FOUND = 5042;
  1022. //public const uint ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND = 5043;
  1023. //public const uint ERROR_CLUSTER_NETWORK_EXISTS = 5044;
  1024. //public const uint ERROR_CLUSTER_NETWORK_NOT_FOUND = 5045;
  1025. //public const uint ERROR_CLUSTER_NETINTERFACE_EXISTS = 5046;
  1026. //public const uint ERROR_CLUSTER_NETINTERFACE_NOT_FOUND = 5047;
  1027. //public const uint ERROR_CLUSTER_INVALID_REQUEST = 5048;
  1028. //public const uint ERROR_CLUSTER_INVALID_NETWORK_PROVIDER = 5049;
  1029. //public const uint ERROR_CLUSTER_NODE_DOWN = 5050;
  1030. //public const uint ERROR_CLUSTER_NODE_UNREACHABLE = 5051;
  1031. //public const uint ERROR_CLUSTER_NODE_NOT_MEMBER = 5052;
  1032. //public const uint ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS = 5053;
  1033. //public const uint ERROR_CLUSTER_INVALID_NETWORK = 5054;
  1034. //public const uint ERROR_CLUSTER_NODE_UP = 5056;
  1035. //public const uint ERROR_CLUSTER_IPADDR_IN_USE = 5057;
  1036. //public const uint ERROR_CLUSTER_NODE_NOT_PAUSED = 5058;
  1037. //public const uint ERROR_CLUSTER_NO_SECURITY_CONTEXT = 5059;
  1038. //public const uint ERROR_CLUSTER_NETWORK_NOT_INTERNAL = 5060;
  1039. //public const uint ERROR_CLUSTER_NODE_ALREADY_UP = 5061;
  1040. //public const uint ERROR_CLUSTER_NODE_ALREADY_DOWN = 5062;
  1041. //public const uint ERROR_CLUSTER_NETWORK_ALREADY_ONLINE = 5063;
  1042. //public const uint ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE = 5064;
  1043. //public const uint ERROR_CLUSTER_NODE_ALREADY_MEMBER = 5065;
  1044. //public const uint ERROR_CLUSTER_LAST_INTERNAL_NETWORK = 5066;
  1045. //public const uint ERROR_CLUSTER_NETWORK_HAS_DEPENDENTS = 5067;
  1046. //public const uint ERROR_INVALID_OPERATION_ON_QUORUM = 5068;
  1047. //public const uint ERROR_DEPENDENCY_NOT_ALLOWED = 5069;
  1048. //public const uint ERROR_CLUSTER_NODE_PAUSED = 5070;
  1049. //public const uint ERROR_NODE_CANT_HOST_RESOURCE = 5071;
  1050. //public const uint ERROR_CLUSTER_NODE_NOT_READY = 5072;
  1051. //public const uint ERROR_CLUSTER_NODE_SHUTTING_DOWN = 5073;
  1052. //public const uint ERROR_CLUSTER_JOIN_ABORTED = 5074;
  1053. //public const uint ERROR_CLUSTER_INCOMPATIBLE_VERSIONS = 5075;
  1054. //public const uint ERROR_CLUSTER_MAXNUM_OF_RESOURCES_EXCEEDED = 5076;
  1055. //public const uint ERROR_CLUSTER_SYSTEM_CONFIG_CHANGED = 5077;
  1056. //public const uint ERROR_CLUSTER_RESOURCE_TYPE_NOT_FOUND = 5078;
  1057. //public const uint ERROR_CLUSTER_RESTYPE_NOT_SUPPORTED = 5079;
  1058. //public const uint ERROR_CLUSTER_RESNAME_NOT_FOUND = 5080;
  1059. //public const uint ERROR_CLUSTER_NO_RPC_PACKAGES_REGISTERED = 5081;
  1060. //public const uint ERROR_CLUSTER_OWNER_NOT_IN_PREFLIST = 5082;
  1061. //public const uint ERROR_CLUSTER_DATABASE_SEQMISMATCH = 5083;
  1062. //public const uint ERROR_RESMON_INVALID_STATE = 5084;
  1063. //public const uint ERROR_CLUSTER_GUM_NOT_LOCKER = 5085;
  1064. //public const uint ERROR_QUORUM_DISK_NOT_FOUND = 5086;
  1065. //public const uint ERROR_DATABASE_BACKUP_CORRUPT = 5087;
  1066. //public const uint ERROR_CLUSTER_NODE_ALREADY_HAS_DFS_ROOT = 5088;
  1067. //public const uint ERROR_RESOURCE_PROPERTY_UNCHANGEABLE = 5089;
  1068. //public const uint ERROR_CLUSTER_MEMBERSHIP_INVALID_STATE = 5890;
  1069. //public const uint ERROR_CLUSTER_QUORUMLOG_NOT_FOUND = 5891;
  1070. //public const uint ERROR_CLUSTER_MEMBERSHIP_HALT = 5892;
  1071. //public const uint ERROR_CLUSTER_INSTANCE_ID_MISMATCH = 5893;
  1072. //public const uint ERROR_CLUSTER_NETWORK_NOT_FOUND_FOR_IP = 5894;
  1073. //public const uint ERROR_CLUSTER_PROPERTY_DATA_TYPE_MISMATCH = 5895;
  1074. //public const uint ERROR_CLUSTER_EVICT_WITHOUT_CLEANUP = 5896;
  1075. //public const uint ERROR_CLUSTER_PARAMETER_MISMATCH = 5897;
  1076. //public const uint ERROR_NODE_CANNOT_BE_CLUSTERED = 5898;
  1077. //public const uint ERROR_CLUSTER_WRONG_OS_VERSION = 5899;
  1078. //public const uint ERROR_CLUSTER_CANT_CREATE_DUP_CLUSTER_NAME = 5900;
  1079. //public const uint ERROR_CLUSCFG_ALREADY_COMMITTED = 5901;
  1080. //public const uint ERROR_CLUSCFG_ROLLBACK_FAILED = 5902;
  1081. //public const uint ERROR_CLUSCFG_SYSTEM_DISK_DRIVE_LETTER_CONFLICT = 5903;
  1082. //public const uint ERROR_CLUSTER_OLD_VERSION = 5904;
  1083. //public const uint ERROR_CLUSTER_MISMATCHED_COMPUTER_ACCT_NAME = 5905;
  1084. //public const uint ERROR_ENCRYPTION_FAILED = 6000;
  1085. //public const uint ERROR_DECRYPTION_FAILED = 6001;
  1086. //public const uint ERROR_FILE_ENCRYPTED = 6002;
  1087. //public const uint ERROR_NO_RECOVERY_POLICY = 6003;
  1088. //public const uint ERROR_NO_EFS = 6004;
  1089. //public const uint ERROR_WRONG_EFS = 6005;
  1090. //public const uint ERROR_NO_USER_KEYS = 6006;
  1091. //public const uint ERROR_FILE_NOT_ENCRYPTED = 6007;
  1092. //public const uint ERROR_NOT_EXPORT_FORMAT = 6008;
  1093. /// <summary>(6009) The specified file is read only.</summary>
  1094. public const uint ERROR_FILE_READ_ONLY = 6009;
  1095. //public const uint ERROR_DIR_EFS_DISALLOWED = 6010;
  1096. //public const uint ERROR_EFS_SERVER_NOT_TRUSTED = 6011;
  1097. /// <summary>(6012) Recovery policy configured for this system contains invalid recovery certificate.</summary>
  1098. public const uint ERROR_BAD_RECOVERY_POLICY = 6012;
  1099. //public const uint ERROR_EFS_ALG_BLOB_TOO_BIG = 6013;
  1100. //public const uint ERROR_VOLUME_NOT_SUPPORT_EFS = 6014;
  1101. //public const uint ERROR_EFS_DISABLED = 6015;
  1102. //public const uint ERROR_EFS_VERSION_NOT_SUPPORT = 6016;
  1103. //public const uint ERROR_NO_BROWSER_SERVERS_FOUND = 6118;
  1104. //public const uint SCHED_E_SERVICE_NOT_LOCALSYSTEM = 6200;
  1105. /// <summary>(6700) The transaction handle associated with this operation is not valid.</summary>
  1106. public const uint ERROR_INVALID_TRANSACTION = 6700;
  1107. /// <summary>(6701) The requested operation was made in the context
  1108. /// <para>of a transaction that is no longer active.</para>
  1109. /// </summary>
  1110. public const uint ERROR_TRANSACTION_NOT_ACTIVE = 6701;
  1111. /// <summary>(6702) The requested operation is not valid
  1112. /// <para>on the Transaction object in its current state.</para>
  1113. /// </summary>
  1114. public const uint ERROR_TRANSACTION_REQUEST_NOT_VALID = 6702;
  1115. /// <summary>(6703) The caller has called a response API, but the response is not expected
  1116. /// <para>because the TM did not issue the corresponding request to the caller.</para>
  1117. /// </summary>
  1118. public const uint ERROR_TRANSACTION_NOT_REQUESTED = 6703;
  1119. /// <summary>(6704) It is too late to perform the requested operation,
  1120. /// <para>since the Transaction has already been aborted.</para>
  1121. /// </summary>
  1122. public const uint ERROR_TRANSACTION_ALREADY_ABORTED = 6704;
  1123. /// <summary>(6705) It is too late to perform the requested operation,
  1124. /// <para>since the Transaction has already been committed.</para>
  1125. /// </summary>
  1126. public const uint ERROR_TRANSACTION_ALREADY_COMMITTED = 6705;
  1127. /// <summary>(6800) The function attempted to use a name
  1128. /// <para>that is reserved for use by another transaction.</para>
  1129. /// </summary>
  1130. public const uint ERROR_TRANSACTIONAL_CONFLICT = 6800;
  1131. /// <summary>(6805) The remote server or share does not support transacted file operations.</summary>
  1132. public const uint ERROR_TRANSACTIONS_UNSUPPORTED_REMOTE = 6805;
  1133. //public const uint ERROR_CTX_WINSTATION_NAME_INVALID = 7001;
  1134. //public const uint ERROR_CTX_INVALID_PD = 7002;
  1135. //public const uint ERROR_CTX_PD_NOT_FOUND = 7003;
  1136. //public const uint ERROR_CTX_WD_NOT_FOUND = 7004;
  1137. //public const uint ERROR_CTX_CANNOT_MAKE_EVENTLOG_ENTRY = 7005;
  1138. //public const uint ERROR_CTX_SERVICE_NAME_COLLISION = 7006;
  1139. //public const uint ERROR_CTX_CLOSE_PENDING = 7007;
  1140. //public const uint ERROR_CTX_NO_OUTBUF = 7008;
  1141. //public const uint ERROR_CTX_MODEM_INF_NOT_FOUND = 7009;
  1142. //public const uint ERROR_CTX_INVALID_MODEMNAME = 7010;
  1143. //public const uint ERROR_CTX_MODEM_RESPONSE_ERROR = 7011;
  1144. //public const uint ERROR_CTX_MODEM_RESPONSE_TIMEOUT = 7012;
  1145. //public const uint ERROR_CTX_MODEM_RESPONSE_NO_CARRIER = 7013;
  1146. //public const uint ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE = 7014;
  1147. //public const uint ERROR_CTX_MODEM_RESPONSE_BUSY = 7015;
  1148. //public const uint ERROR_CTX_MODEM_RESPONSE_VOICE = 7016;
  1149. //public const uint ERROR_CTX_TD_ERROR = 7017;
  1150. //public const uint ERROR_CTX_WINSTATION_NOT_FOUND = 7022;
  1151. //public const uint ERROR_CTX_WINSTATION_ALREADY_EXISTS = 7023;
  1152. //public const uint ERROR_CTX_WINSTATION_BUSY = 7024;
  1153. //public const uint ERROR_CTX_BAD_VIDEO_MODE = 7025;
  1154. //public const uint ERROR_CTX_GRAPHICS_INVALID = 7035;
  1155. //public const uint ERROR_CTX_LOGON_DISABLED = 7037;
  1156. //public const uint ERROR_CTX_NOT_CONSOLE = 7038;
  1157. //public const uint ERROR_CTX_CLIENT_QUERY_TIMEOUT = 7040;
  1158. //public const uint ERROR_CTX_CONSOLE_DISCONNECT = 7041;
  1159. //public const uint ERROR_CTX_CONSOLE_CONNECT = 7042;
  1160. //public const uint ERROR_CTX_SHADOW_DENIED = 7044;
  1161. //public const uint ERROR_CTX_WINSTATION_ACCESS_DENIED = 7045;
  1162. //public const uint ERROR_CTX_INVALID_WD = 7049;
  1163. //public const uint ERROR_CTX_SHADOW_INVALID = 7050;
  1164. //public const uint ERROR_CTX_SHADOW_DISABLED = 7051;
  1165. //public const uint ERROR_CTX_CLIENT_LICENSE_IN_USE = 7052;
  1166. //public const uint ERROR_CTX_CLIENT_LICENSE_NOT_SET = 7053;
  1167. //public const uint ERROR_CTX_LICENSE_NOT_AVAILABLE = 7054;
  1168. //public const uint ERROR_CTX_LICENSE_CLIENT_INVALID = 7055;
  1169. //public const uint ERROR_CTX_LICENSE_EXPIRED = 7056;
  1170. //public const uint ERROR_CTX_SHADOW_NOT_RUNNING = 7057;
  1171. //public const uint ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE = 7058;
  1172. //public const uint ERROR_ACTIVATION_COUNT_EXCEEDED = 7059;
  1173. //public const uint FRS_ERR_INVALID_API_SEQUENCE = 8001;
  1174. //public const uint FRS_ERR_STARTING_SERVICE = 8002;
  1175. //public const uint FRS_ERR_STOPPING_SERVICE = 8003;
  1176. //public const uint FRS_ERR_INTERNAL_API = 8004;
  1177. //public const uint FRS_ERR_INTERNAL = 8005;
  1178. //public const uint FRS_ERR_SERVICE_COMM = 8006;
  1179. //public const uint FRS_ERR_INSUFFICIENT_PRIV = 8007;
  1180. //public const uint FRS_ERR_AUTHENTICATION = 8008;
  1181. //public const uint FRS_ERR_PARENT_INSUFFICIENT_PRIV = 8009;
  1182. //public const uint FRS_ERR_PARENT_AUTHENTICATION = 8010;
  1183. //public const uint FRS_ERR_CHILD_TO_PARENT_COMM = 8011;
  1184. //public const uint FRS_ERR_PARENT_TO_CHILD_COMM = 8012;
  1185. //public const uint FRS_ERR_SYSVOL_POPULATE = 8013;
  1186. //public const uint FRS_ERR_SYSVOL_POPULATE_TIMEOUT = 8014;
  1187. //public const uint FRS_ERR_SYSVOL_IS_BUSY = 8015;
  1188. //public const uint FRS_ERR_SYSVOL_DEMOTE = 8016;
  1189. //public const uint FRS_ERR_INVALID_SERVICE_PARAMETER = 8017;
  1190. //public const uint ERROR_DS_NOT_INSTALLED = 8200;
  1191. //public const uint ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY = 8201;
  1192. //public const uint ERROR_DS_NO_ATTRIBUTE_OR_VALUE = 8202;
  1193. //public const uint ERROR_DS_INVALID_ATTRIBUTE_SYNTAX = 8203;
  1194. //public const uint ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED = 8204;
  1195. //public const uint ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS = 8205;
  1196. //public const uint ERROR_DS_BUSY = 8206;
  1197. //public const uint ERROR_DS_UNAVAILABLE = 8207;
  1198. //public const uint ERROR_DS_NO_RIDS_ALLOCATED = 8208;
  1199. //public const uint ERROR_DS_NO_MORE_RIDS = 8209;
  1200. //public const uint ERROR_DS_INCORRECT_ROLE_OWNER = 8210;
  1201. //public const uint ERROR_DS_RIDMGR_INIT_ERROR = 8211;
  1202. //public const uint ERROR_DS_OBJ_CLASS_VIOLATION = 8212;
  1203. //public const uint ERROR_DS_CANT_ON_NON_LEAF = 8213;
  1204. //public const uint ERROR_DS_CANT_ON_RDN = 8214;
  1205. //public const uint ERROR_DS_CANT_MOD_OBJ_CLASS = 8215;
  1206. //public const uint ERROR_DS_CROSS_DOM_MOVE_ERROR = 8216;
  1207. //public const uint ERROR_DS_GC_NOT_AVAILABLE = 8217;
  1208. //public const uint ERROR_SHARED_POLICY = 8218;
  1209. //public const uint ERROR_POLICY_OBJECT_NOT_FOUND = 8219;
  1210. //public const uint ERROR_POLICY_ONLY_IN_DS = 8220;
  1211. //public const uint ERROR_PROMOTION_ACTIVE = 8221;
  1212. //public const uint ERROR_NO_PROMOTION_ACTIVE = 8222;
  1213. //public const uint ERROR_DS_OPERATIONS_ERROR = 8224;
  1214. //public const uint ERROR_DS_PROTOCOL_ERROR = 8225;
  1215. //public const uint ERROR_DS_TIMELIMIT_EXCEEDED = 8226;
  1216. //public const uint ERROR_DS_SIZELIMIT_EXCEEDED = 8227;
  1217. //public const uint ERROR_DS_ADMIN_LIMIT_EXCEEDED = 8228;
  1218. //public const uint ERROR_DS_COMPARE_FALSE = 8229;
  1219. //public const uint ERROR_DS_COMPARE_TRUE = 8230;
  1220. //public const uint ERROR_DS_AUTH_METHOD_NOT_SUPPORTED = 8231;
  1221. //public const uint ERROR_DS_STRONG_AUTH_REQUIRED = 8232;
  1222. //public const uint ERROR_DS_INAPPROPRIATE_AUTH = 8233;
  1223. //public const uint ERROR_DS_AUTH_UNKNOWN = 8234;
  1224. //public const uint ERROR_DS_REFERRAL = 8235;
  1225. //public const uint ERROR_DS_UNAVAILABLE_CRIT_EXTENSION = 8236;
  1226. //public const uint ERROR_DS_CONFIDENTIALITY_REQUIRED = 8237;
  1227. //public const uint ERROR_DS_INAPPROPRIATE_MATCHING = 8238;
  1228. //public const uint ERROR_DS_CONSTRAINT_VIOLATION = 8239;
  1229. //public const uint ERROR_DS_NO_SUCH_OBJECT = 8240;
  1230. //public const uint ERROR_DS_ALIAS_PROBLEM = 8241;
  1231. //public const uint ERROR_DS_INVALID_DN_SYNTAX = 8242;
  1232. //public const uint ERROR_DS_IS_LEAF = 8243;
  1233. //public const uint ERROR_DS_ALIAS_DEREF_PROBLEM = 8244;
  1234. //public const uint ERROR_DS_UNWILLING_TO_PERFORM = 8245;
  1235. //public const uint ERROR_DS_LOOP_DETECT = 8246;
  1236. //public const uint ERROR_DS_NAMING_VIOLATION = 8247;
  1237. //public const uint ERROR_DS_OBJECT_RESULTS_TOO_LARGE = 8248;
  1238. //public const uint ERROR_DS_AFFECTS_MULTIPLE_DSAS = 8249;
  1239. //public const uint ERROR_DS_SERVER_DOWN = 8250;
  1240. //public const uint ERROR_DS_LOCAL_ERROR = 8251;
  1241. //public const uint ERROR_DS_ENCODING_ERROR = 8252;
  1242. //public const uint ERROR_DS_DECODING_ERROR = 8253;
  1243. //public const uint ERROR_DS_FILTER_UNKNOWN = 8254;
  1244. //public const uint ERROR_DS_PARAM_ERROR = 8255;
  1245. //public const uint ERROR_DS_NOT_SUPPORTED = 8256;
  1246. //public const uint ERROR_DS_NO_RESULTS_RETURNED = 8257;
  1247. //public const uint ERROR_DS_CONTROL_NOT_FOUND = 8258;
  1248. //public const uint ERROR_DS_CLIENT_LOOP = 8259;
  1249. //public const uint ERROR_DS_REFERRAL_LIMIT_EXCEEDED = 8260;
  1250. //public const uint ERROR_DS_SORT_CONTROL_MISSING = 8261;
  1251. //public const uint ERROR_DS_OFFSET_RANGE_ERROR = 8262;
  1252. //public const uint ERROR_DS_ROOT_MUST_BE_NC = 8301;
  1253. //public const uint ERROR_DS_ADD_REPLICA_INHIBITED = 8302;
  1254. //public const uint ERROR_DS_ATT_NOT_DEF_IN_SCHEMA = 8303;
  1255. //public const uint ERROR_DS_MAX_OBJ_SIZE_EXCEEDED = 8304;
  1256. //public const uint ERROR_DS_OBJ_STRING_NAME_EXISTS = 8305;
  1257. //public const uint ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA = 8306;
  1258. //public const uint ERROR_DS_RDN_DOESNT_MATCH_SCHEMA = 8307;
  1259. //public const uint ERROR_DS_NO_REQUESTED_ATTS_FOUND = 8308;
  1260. //public const uint ERROR_DS_USER_BUFFER_TO_SMALL = 8309;
  1261. //public const uint ERROR_DS_ATT_IS_NOT_ON_OBJ = 8310;
  1262. //public const uint ERROR_DS_ILLEGAL_MOD_OPERATION = 8311;
  1263. //public const uint ERROR_DS_OBJ_TOO_LARGE = 8312;
  1264. //public const uint ERROR_DS_BAD_INSTANCE_TYPE = 8313;
  1265. //public const uint ERROR_DS_MASTERDSA_REQUIRED = 8314;
  1266. //public const uint ERROR_DS_OBJECT_CLASS_REQUIRED = 8315;
  1267. //public const uint ERROR_DS_MISSING_REQUIRED_ATT = 8316;
  1268. //public const uint ERROR_DS_ATT_NOT_DEF_FOR_CLASS = 8317;
  1269. //public const uint ERROR_DS_ATT_ALREADY_EXISTS = 8318;
  1270. //public const uint ERROR_DS_CANT_ADD_ATT_VALUES = 8320;
  1271. //public const uint ERROR_DS_SINGLE_VALUE_CONSTRAINT = 8321;
  1272. //public const uint ERROR_DS_RANGE_CONSTRAINT = 8322;
  1273. //public const uint ERROR_DS_ATT_VAL_ALREADY_EXISTS = 8323;
  1274. //public const uint ERROR_DS_CANT_REM_MISSING_ATT = 8324;
  1275. //public const uint ERROR_DS_CANT_REM_MISSING_ATT_VAL = 8325;
  1276. //public const uint ERROR_DS_ROOT_CANT_BE_SUBREF = 8326;
  1277. //public const uint ERROR_DS_NO_CHAINING = 8327;
  1278. //public const uint ERROR_DS_NO_CHAINED_EVAL = 8328;
  1279. //public const uint ERROR_DS_NO_PARENT_OBJECT = 8329;
  1280. //public const uint ERROR_DS_PARENT_IS_AN_ALIAS = 8330;
  1281. //public const uint ERROR_DS_CANT_MIX_MASTER_AND_REPS = 8331;
  1282. //public const uint ERROR_DS_CHILDREN_EXIST = 8332;
  1283. //public const uint ERROR_DS_OBJ_NOT_FOUND = 8333;
  1284. //public const uint ERROR_DS_ALIASED_OBJ_MISSING = 8334;
  1285. //public const uint ERROR_DS_BAD_NAME_SYNTAX = 8335;
  1286. //public const uint ERROR_DS_ALIAS_POINTS_TO_ALIAS = 8336;
  1287. //public const uint ERROR_DS_CANT_DEREF_ALIAS = 8337;
  1288. //public const uint ERROR_DS_OUT_OF_SCOPE = 8338;
  1289. //public const uint ERROR_DS_OBJECT_BEING_REMOVED = 8339;
  1290. //public const uint ERROR_DS_CANT_DELETE_DSA_OBJ = 8340;
  1291. //public const uint ERROR_DS_GENERIC_ERROR = 8341;
  1292. //public const uint ERROR_DS_DSA_MUST_BE_INT_MASTER = 8342;
  1293. //public const uint ERROR_DS_CLASS_NOT_DSA = 8343;
  1294. //public const uint ERROR_DS_INSUFF_ACCESS_RIGHTS = 8344;
  1295. //public const uint ERROR_DS_ILLEGAL_SUPERIOR = 8345;
  1296. //public const uint ERROR_DS_ATTRIBUTE_OWNED_BY_SAM = 8346;
  1297. //public const uint ERROR_DS_NAME_TOO_MANY_PARTS = 8347;
  1298. //public const uint ERROR_DS_NAME_TOO_LONG = 8348;
  1299. //public const uint ERROR_DS_NAME_VALUE_TOO_LONG = 8349;
  1300. //public const uint ERROR_DS_NAME_UNPARSEABLE = 8350;
  1301. //public const uint ERROR_DS_NAME_TYPE_UNKNOWN = 8351;
  1302. //public const uint ERROR_DS_NOT_AN_OBJECT = 8352;
  1303. //public const uint ERROR_DS_SEC_DESC_TOO_SHORT = 8353;
  1304. //public const uint ERROR_DS_SEC_DESC_INVALID = 8354;
  1305. //public const uint ERROR_DS_NO_DELETED_NAME = 8355;
  1306. //public const uint ERROR_DS_SUBREF_MUST_HAVE_PARENT = 8356;
  1307. //public const uint ERROR_DS_NCNAME_MUST_BE_NC = 8357;
  1308. //public const uint ERROR_DS_CANT_ADD_SYSTEM_ONLY = 8358;
  1309. //public const uint ERROR_DS_CLASS_MUST_BE_CONCRETE = 8359;
  1310. //public const uint ERROR_DS_INVALID_DMD = 8360;
  1311. //public const uint ERROR_DS_OBJ_GUID_EXISTS = 8361;
  1312. //public const uint ERROR_DS_NOT_ON_BACKLINK = 8362;
  1313. //public const uint ERROR_DS_NO_CROSSREF_FOR_NC = 8363;
  1314. //public const uint ERROR_DS_SHUTTING_DOWN = 8364;
  1315. //public const uint ERROR_DS_UNKNOWN_OPERATION = 8365;
  1316. //public const uint ERROR_DS_INVALID_ROLE_OWNER = 8366;
  1317. //public const uint ERROR_DS_COULDNT_CONTACT_FSMO = 8367;
  1318. //public const uint ERROR_DS_CROSS_NC_DN_RENAME = 8368;
  1319. //public const uint ERROR_DS_CANT_MOD_SYSTEM_ONLY = 8369;
  1320. //public const uint ERROR_DS_REPLICATOR_ONLY = 8370;
  1321. //public const uint ERROR_DS_OBJ_CLASS_NOT_DEFINED = 8371;
  1322. //public const uint ERROR_DS_OBJ_CLASS_NOT_SUBCLASS = 8372;
  1323. //public const uint ERROR_DS_NAME_REFERENCE_INVALID = 8373;
  1324. //public const uint ERROR_DS_CROSS_REF_EXISTS = 8374;
  1325. //public const uint ERROR_DS_CANT_DEL_MASTER_CROSSREF = 8375;
  1326. //public const uint ERROR_DS_SUBTREE_NOTIFY_NOT_NC_HEAD = 8376;
  1327. //public const uint ERROR_DS_NOTIFY_FILTER_TOO_COMPLEX = 8377;
  1328. //public const uint ERROR_DS_DUP_RDN = 8378;
  1329. //public const uint ERROR_DS_DUP_OID = 8379;
  1330. //public const uint ERROR_DS_DUP_MAPI_ID = 8380;
  1331. //public const uint ERROR_DS_DUP_SCHEMA_ID_GUID = 8381;
  1332. //public const uint ERROR_DS_DUP_LDAP_DISPLAY_NAME = 8382;
  1333. //public const uint ERROR_DS_SEMANTIC_ATT_TEST = 8383;
  1334. //public const uint ERROR_DS_SYNTAX_MISMATCH = 8384;
  1335. //public const uint ERROR_DS_EXISTS_IN_MUST_HAVE = 8385;
  1336. //public const uint ERROR_DS_EXISTS_IN_MAY_HAVE = 8386;
  1337. //public const uint ERROR_DS_NONEXISTENT_MAY_HAVE = 8387;
  1338. //public const uint ERROR_DS_NONEXISTENT_MUST_HAVE = 8388;
  1339. //public const uint ERROR_DS_AUX_CLS_TEST_FAIL = 8389;
  1340. //public const uint ERROR_DS_NONEXISTENT_POSS_SUP = 8390;
  1341. //public const uint ERROR_DS_SUB_CLS_TEST_FAIL = 8391;
  1342. //public const uint ERROR_DS_BAD_RDN_ATT_ID_SYNTAX = 8392;
  1343. //public const uint ERROR_DS_EXISTS_IN_AUX_CLS = 8393;
  1344. //public const uint ERROR_DS_EXISTS_IN_SUB_CLS = 8394;
  1345. //public const uint ERROR_DS_EXISTS_IN_POSS_SUP = 8395;
  1346. //public const uint ERROR_DS_RECALCSCHEMA_FAILED = 8396;
  1347. //public const uint ERROR_DS_TREE_DELETE_NOT_FINISHED = 8397;
  1348. //public const uint ERROR_DS_CANT_DELETE = 8398;
  1349. //public const uint ERROR_DS_ATT_SCHEMA_REQ_ID = 8399;
  1350. //public const uint ERROR_DS_BAD_ATT_SCHEMA_SYNTAX = 8400;
  1351. //public const uint ERROR_DS_CANT_CACHE_ATT = 8401;
  1352. //public const uint ERROR_DS_CANT_CACHE_CLASS = 8402;
  1353. //public const uint ERROR_DS_CANT_REMOVE_ATT_CACHE = 8403;
  1354. //public const uint ERROR_DS_CANT_REMOVE_CLASS_CACHE = 8404;
  1355. //public const uint ERROR_DS_CANT_RETRIEVE_DN = 8405;
  1356. //public const uint ERROR_DS_MISSING_SUPREF = 8406;
  1357. //public const uint ERROR_DS_CANT_RETRIEVE_INSTANCE = 8407;
  1358. //public const uint ERROR_DS_CODE_INCONSISTENCY = 8408;
  1359. //public const uint ERROR_DS_DATABASE_ERROR = 8409;
  1360. //public const uint ERROR_DS_GOVERNSID_MISSING = 8410;
  1361. //public const uint ERROR_DS_MISSING_EXPECTED_ATT = 8411;
  1362. //public const uint ERROR_DS_NCNAME_MISSING_CR_REF = 8412;
  1363. //public const uint ERROR_DS_SECURITY_CHECKING_ERROR = 8413;
  1364. //public const uint ERROR_DS_SCHEMA_NOT_LOADED = 8414;
  1365. //public const uint ERROR_DS_SCHEMA_ALLOC_FAILED = 8415;
  1366. //public const uint ERROR_DS_ATT_SCHEMA_REQ_SYNTAX = 8416;
  1367. //public const uint ERROR_DS_GCVERIFY_ERROR = 8417;
  1368. //public const uint ERROR_DS_DRA_SCHEMA_MISMATCH = 8418;
  1369. //public const uint ERROR_DS_CANT_FIND_DSA_OBJ = 8419;
  1370. //public const uint ERROR_DS_CANT_FIND_EXPECTED_NC = 8420;
  1371. //public const uint ERROR_DS_CANT_FIND_NC_IN_CACHE = 8421;
  1372. //public const uint ERROR_DS_CANT_RETRIEVE_CHILD = 8422;
  1373. //public const uint ERROR_DS_SECURITY_ILLEGAL_MODIFY = 8423;
  1374. //public const uint ERROR_DS_CANT_REPLACE_HIDDEN_REC = 8424;
  1375. //public const uint ERROR_DS_BAD_HIERARCHY_FILE = 8425;
  1376. //public const uint ERROR_DS_BUILD_HIERARCHY_TABLE_FAILED = 8426;
  1377. //public const uint ERROR_DS_CONFIG_PARAM_MISSING = 8427;
  1378. //public const uint ERROR_DS_COUNTING_AB_INDICES_FAILED = 8428;
  1379. //public const uint ERROR_DS_HIERARCHY_TABLE_MALLOC_FAILED = 8429;
  1380. //public const uint ERROR_DS_INTERNAL_FAILURE = 8430;
  1381. //public const uint ERROR_DS_UNKNOWN_ERROR = 8431;
  1382. //public const uint ERROR_DS_ROOT_REQUIRES_CLASS_TOP = 8432;
  1383. //public const uint ERROR_DS_REFUSING_FSMO_ROLES = 8433;
  1384. //public const uint ERROR_DS_MISSING_FSMO_SETTINGS = 8434;
  1385. //public const uint ERROR_DS_UNABLE_TO_SURRENDER_ROLES = 8435;
  1386. //public const uint ERROR_DS_DRA_GENERIC = 8436;
  1387. //public const uint ERROR_DS_DRA_INVALID_PARAMETER = 8437;
  1388. //public const uint ERROR_DS_DRA_BUSY = 8438;
  1389. //public const uint ERROR_DS_DRA_BAD_DN = 8439;
  1390. //public const uint ERROR_DS_DRA_BAD_NC = 8440;
  1391. //public const uint ERROR_DS_DRA_DN_EXISTS = 8441;
  1392. //public const uint ERROR_DS_DRA_INTERNAL_ERROR = 8442;
  1393. //public const uint ERROR_DS_DRA_INCONSISTENT_DIT = 8443;
  1394. //public const uint ERROR_DS_DRA_CONNECTION_FAILED = 8444;
  1395. //public const uint ERROR_DS_DRA_BAD_INSTANCE_TYPE = 8445;
  1396. //public const uint ERROR_DS_DRA_OUT_OF_MEM = 8446;
  1397. //public const uint ERROR_DS_DRA_MAIL_PROBLEM = 8447;
  1398. //public const uint ERROR_DS_DRA_REF_ALREADY_EXISTS = 8448;
  1399. //public const uint ERROR_DS_DRA_REF_NOT_FOUND = 8449;
  1400. //public const uint ERROR_DS_DRA_OBJ_IS_REP_SOURCE = 8450;
  1401. //public const uint ERROR_DS_DRA_DB_ERROR = 8451;
  1402. //public const uint ERROR_DS_DRA_NO_REPLICA = 8452;
  1403. //public const uint ERROR_DS_DRA_ACCESS_DENIED = 8453;
  1404. //public const uint ERROR_DS_DRA_NOT_SUPPORTED = 8454;
  1405. //public const uint ERROR_DS_DRA_RPC_CANCELLED = 8455;
  1406. //public const uint ERROR_DS_DRA_SOURCE_DISABLED = 8456;
  1407. //public const uint ERROR_DS_DRA_SINK_DISABLED = 8457;
  1408. //public const uint ERROR_DS_DRA_NAME_COLLISION = 8458;
  1409. //public const uint ERROR_DS_DRA_SOURCE_REINSTALLED = 8459;
  1410. //public const uint ERROR_DS_DRA_MISSING_PARENT = 8460;
  1411. //public const uint ERROR_DS_DRA_PREEMPTED = 8461;
  1412. //public const uint ERROR_DS_DRA_ABANDON_SYNC = 8462;
  1413. //public const uint ERROR_DS_DRA_SHUTDOWN = 8463;
  1414. //public const uint ERROR_DS_DRA_INCOMPATIBLE_PARTIAL_SET = 8464;
  1415. //public const uint ERROR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA = 8465;
  1416. //public const uint ERROR_DS_DRA_EXTN_CONNECTION_FAILED = 8466;
  1417. //public const uint ERROR_DS_INSTALL_SCHEMA_MISMATCH = 8467;
  1418. //public const uint ERROR_DS_DUP_LINK_ID = 8468;
  1419. //public const uint ERROR_DS_NAME_ERROR_RESOLVING = 8469;
  1420. //public const uint ERROR_DS_NAME_ERROR_NOT_FOUND = 8470;
  1421. //public const uint ERROR_DS_NAME_ERROR_NOT_UNIQUE = 8471;
  1422. //public const uint ERROR_DS_NAME_ERROR_NO_MAPPING = 8472;
  1423. //public const uint ERROR_DS_NAME_ERROR_DOMAIN_ONLY = 8473;
  1424. //public const uint ERROR_DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING = 8474;
  1425. //public const uint ERROR_DS_CONSTRUCTED_ATT_MOD = 8475;
  1426. //public const uint ERROR_DS_WRONG_OM_OBJ_CLASS = 8476;
  1427. //public const uint ERROR_DS_DRA_REPL_PENDING = 8477;
  1428. //public const uint ERROR_DS_DS_REQUIRED = 8478;
  1429. //public const uint ERROR_DS_INVALID_LDAP_DISPLAY_NAME = 8479;
  1430. //public const uint ERROR_DS_NON_BASE_SEARCH = 8480;
  1431. //public const uint ERROR_DS_CANT_RETRIEVE_ATTS = 8481;
  1432. //public const uint ERROR_DS_BACKLINK_WITHOUT_LINK = 8482;
  1433. //public const uint ERROR_DS_EPOCH_MISMATCH = 8483;
  1434. //public const uint ERROR_DS_SRC_NAME_MISMATCH = 8484;
  1435. //public const uint ERROR_DS_SRC_AND_DST_NC_IDENTICAL = 8485;
  1436. //public const uint ERROR_DS_DST_NC_MISMATCH = 8486;
  1437. //public const uint ERROR_DS_NOT_AUTHORITIVE_FOR_DST_NC = 8487;
  1438. //public const uint ERROR_DS_SRC_GUID_MISMATCH = 8488;
  1439. //public const uint ERROR_DS_CANT_MOVE_DELETED_OBJECT = 8489;
  1440. //public const uint ERROR_DS_PDC_OPERATION_IN_PROGRESS = 8490;
  1441. //public const uint ERROR_DS_CROSS_DOMAIN_CLEANUP_REQD = 8491;
  1442. //public const uint ERROR_DS_ILLEGAL_XDOM_MOVE_OPERATION = 8492;
  1443. //public const uint ERROR_DS_CANT_WITH_ACCT_GROUP_MEMBERSHPS = 8493;
  1444. //public const uint ERROR_DS_NC_MUST_HAVE_NC_PARENT = 8494;
  1445. //public const uint ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE = 8495;
  1446. //public const uint ERROR_DS_DST_DOMAIN_NOT_NATIVE = 8496;
  1447. //public const uint ERROR_DS_MISSING_INFRASTRUCTURE_CONTAINER = 8497;
  1448. //public const uint ERROR_DS_CANT_MOVE_ACCOUNT_GROUP = 8498;
  1449. //public const uint ERROR_DS_CANT_MOVE_RESOURCE_GROUP = 8499;
  1450. //public const uint ERROR_DS_INVALID_SEARCH_FLAG = 8500;
  1451. //public const uint ERROR_DS_NO_TREE_DELETE_ABOVE_NC = 8501;
  1452. //public const uint ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE = 8502;
  1453. //public const uint ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE = 8503;
  1454. //public const uint ERROR_DS_SAM_INIT_FAILURE = 8504;
  1455. //public const uint ERROR_DS_SENSITIVE_GROUP_VIOLATION = 8505;
  1456. //public const uint ERROR_DS_CANT_MOD_PRIMARYGROUPID = 8506;
  1457. //public const uint ERROR_DS_ILLEGAL_BASE_SCHEMA_MOD = 8507;
  1458. //public const uint ERROR_DS_NONSAFE_SCHEMA_CHANGE = 8508;
  1459. //public const uint ERROR_DS_SCHEMA_UPDATE_DISALLOWED = 8509;
  1460. //public const uint ERROR_DS_CANT_CREATE_UNDER_SCHEMA = 8510;
  1461. //public const uint ERROR_DS_INSTALL_NO_SRC_SCH_VERSION = 8511;
  1462. //public const uint ERROR_DS_INSTALL_NO_SCH_VERSION_IN_INIFILE = 8512;
  1463. //public const uint ERROR_DS_INVALID_GROUP_TYPE = 8513;
  1464. //public const uint ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN = 8514;
  1465. //public const uint ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN = 8515;
  1466. //public const uint ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER = 8516;
  1467. //public const uint ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER = 8517;
  1468. //public const uint ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER = 8518;
  1469. //public const uint ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER = 8519;
  1470. //public const uint ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER = 8520;
  1471. //public const uint ERROR_DS_HAVE_PRIMARY_MEMBERS = 8521;
  1472. //public const uint ERROR_DS_STRING_SD_CONVERSION_FAILED = 8522;
  1473. //public const uint ERROR_DS_NAMING_MASTER_GC = 8523;
  1474. //public const uint ERROR_DS_DNS_LOOKUP_FAILURE = 8524;
  1475. //public const uint ERROR_DS_COULDNT_UPDATE_SPNS = 8525;
  1476. //public const uint ERROR_DS_CANT_RETRIEVE_SD = 8526;
  1477. //public const uint ERROR_DS_KEY_NOT_UNIQUE = 8527;
  1478. //public const uint ERROR_DS_WRONG_LINKED_ATT_SYNTAX = 8528;
  1479. //public const uint ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD = 8529;
  1480. //public const uint ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY = 8530;
  1481. //public const uint ERROR_DS_CANT_START = 8531;
  1482. //public const uint ERROR_DS_INIT_FAILURE = 8532;
  1483. //public const uint ERROR_DS_NO_PKT_PRIVACY_ON_CONNECTION = 8533;
  1484. //public const uint ERROR_DS_SOURCE_DOMAIN_IN_FOREST = 8534;
  1485. //public const uint ERROR_DS_DESTINATION_DOMAIN_NOT_IN_FOREST = 8535;
  1486. //public const uint ERROR_DS_DESTINATION_AUDITING_NOT_ENABLED = 8536;
  1487. //public const uint ERROR_DS_CANT_FIND_DC_FOR_SRC_DOMAIN = 8537;
  1488. //public const uint ERROR_DS_SRC_OBJ_NOT_GROUP_OR_USER = 8538;
  1489. //public const uint ERROR_DS_SRC_SID_EXISTS_IN_FOREST = 8539;
  1490. //public const uint ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH = 8540;
  1491. //public const uint ERROR_SAM_INIT_FAILURE = 8541;
  1492. //public const uint ERROR_DS_DRA_SCHEMA_INFO_SHIP = 8542;
  1493. //public const uint ERROR_DS_DRA_SCHEMA_CONFLICT = 8543;
  1494. //public const uint ERROR_DS_DRA_EARLIER_SCHEMA_CONFLICT = 8544;
  1495. //public const uint ERROR_DS_DRA_OBJ_NC_MISMATCH = 8545;
  1496. //public const uint ERROR_DS_NC_STILL_HAS_DSAS = 8546;
  1497. //public const uint ERROR_DS_GC_REQUIRED = 8547;
  1498. //public const uint ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY = 8548;
  1499. //public const uint ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS = 8549;
  1500. //public const uint ERROR_DS_CANT_ADD_TO_GC = 8550;
  1501. //public const uint ERROR_DS_NO_CHECKPOINT_WITH_PDC = 8551;
  1502. //public const uint ERROR_DS_SOURCE_AUDITING_NOT_ENABLED = 8552;
  1503. //public const uint ERROR_DS_CANT_CREATE_IN_NONDOMAIN_NC = 8553;
  1504. //public const uint ERROR_DS_INVALID_NAME_FOR_SPN = 8554;
  1505. //public const uint ERROR_DS_FILTER_USES_CONTRUCTED_ATTRS = 8555;
  1506. //public const uint ERROR_DS_UNICODEPWD_NOT_IN_QUOTES = 8556;
  1507. //public const uint ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED = 8557;
  1508. //public const uint ERROR_DS_MUST_BE_RUN_ON_DST_DC = 8558;
  1509. //public const uint ERROR_DS_SRC_DC_MUST_BE_SP4_OR_GREATER = 8559;
  1510. //public const uint ERROR_DS_CANT_TREE_DELETE_CRITICAL_OBJ = 8560;
  1511. //public const uint ERROR_DS_INIT_FAILURE_CONSOLE = 8561;
  1512. //public const uint ERROR_DS_SAM_INIT_FAILURE_CONSOLE = 8562;
  1513. //public const uint ERROR_DS_FOREST_VERSION_TOO_HIGH = 8563;
  1514. //public const uint ERROR_DS_DOMAIN_VERSION_TOO_HIGH = 8564;
  1515. //public const uint ERROR_DS_FOREST_VERSION_TOO_LOW = 8565;
  1516. //public const uint ERROR_DS_DOMAIN_VERSION_TOO_LOW = 8566;
  1517. //public const uint ERROR_DS_INCOMPATIBLE_VERSION = 8567;
  1518. //public const uint ERROR_DS_LOW_DSA_VERSION = 8568;
  1519. //public const uint ERROR_DS_NO_BEHAVIOR_VERSION_IN_MIXEDDOMAIN = 8569;
  1520. //public const uint ERROR_DS_NOT_SUPPORTED_SORT_ORDER = 8570;
  1521. //public const uint ERROR_DS_NAME_NOT_UNIQUE = 8571;
  1522. //public const uint ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4 = 8572;
  1523. //public const uint ERROR_DS_OUT_OF_VERSION_STORE = 8573;
  1524. //public const uint ERROR_DS_INCOMPATIBLE_CONTROLS_USED = 8574;
  1525. //public const uint ERROR_DS_NO_REF_DOMAIN = 8575;
  1526. //public const uint ERROR_DS_RESERVED_LINK_ID = 8576;
  1527. //public const uint ERROR_DS_LINK_ID_NOT_AVAILABLE = 8577;
  1528. //public const uint ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER = 8578;
  1529. //public const uint ERROR_DS_MODIFYDN_DISALLOWED_BY_INSTANCE_TYPE = 8579;
  1530. //public const uint ERROR_DS_NO_OBJECT_MOVE_IN_SCHEMA_NC = 8580;
  1531. //public const uint ERROR_DS_MODIFYDN_DISALLOWED_BY_FLAG = 8581;
  1532. //public const uint ERROR_DS_MODIFYDN_WRONG_GRANDPARENT = 8582;
  1533. //public const uint ERROR_DS_NAME_ERROR_TRUST_REFERRAL = 8583;
  1534. //public const uint ERROR_NOT_SUPPORTED_ON_STANDARD_SERVER = 8584;
  1535. //public const uint ERROR_DS_CANT_ACCESS_REMOTE_PART_OF_AD = 8585;
  1536. //public const uint ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE_V2 = 8586;
  1537. //public const uint ERROR_DS_THREAD_LIMIT_EXCEEDED = 8587;
  1538. //public const uint ERROR_DS_NOT_CLOSEST = 8588;
  1539. //public const uint ERROR_DS_CANT_DERIVE_SPN_WITHOUT_SERVER_REF = 8589;
  1540. //public const uint ERROR_DS_SINGLE_USER_MODE_FAILED = 8590;
  1541. //public const uint ERROR_DS_NTDSCRIPT_SYNTAX_ERROR = 8591;
  1542. //public const uint ERROR_DS_NTDSCRIPT_PROCESS_ERROR = 8592;
  1543. //public const uint ERROR_DS_DIFFERENT_REPL_EPOCHS = 8593;
  1544. //public const uint ERROR_DS_DRS_EXTENSIONS_CHANGED = 8594;
  1545. //public const uint ERROR_DS_REPLICA_SET_CHANGE_NOT_ALLOWED_ON_DISABLED_CR = 8595;
  1546. //public const uint ERROR_DS_NO_MSDS_INTID = 8596;
  1547. //public const uint ERROR_DS_DUP_MSDS_INTID = 8597;
  1548. //public const uint ERROR_DS_EXISTS_IN_RDNATTID = 8598;
  1549. //public const uint ERROR_DS_AUTHORIZATION_FAILED = 8599;
  1550. //public const uint ERROR_DS_INVALID_SCRIPT = 8600;
  1551. //public const uint ERROR_DS_REMOTE_CROSSREF_OP_FAILED = 8601;
  1552. //public const uint ERROR_DS_CROSS_REF_BUSY = 8602;
  1553. //public const uint ERROR_DS_CANT_DERIVE_SPN_FOR_DELETED_DOMAIN = 8603;
  1554. //public const uint ERROR_DS_CANT_DEMOTE_WITH_WRITEABLE_NC = 8604;
  1555. //public const uint ERROR_DS_DUPLICATE_ID_FOUND = 8605;
  1556. //public const uint ERROR_DS_INSUFFICIENT_ATTR_TO_CREATE_OBJECT = 8606;
  1557. //public const uint ERROR_DS_GROUP_CONVERSION_ERROR = 8607;
  1558. //public const uint ERROR_DS_CANT_MOVE_APP_BASIC_GROUP = 8608;
  1559. //public const uint ERROR_DS_CANT_MOVE_APP_QUERY_GROUP = 8609;
  1560. //public const uint ERROR_DS_ROLE_NOT_VERIFIED = 8610;
  1561. //public const uint ERROR_DS_WKO_CONTAINER_CANNOT_BE_SPECIAL = 8611;
  1562. //public const uint ERROR_DS_DOMAIN_RENAME_IN_PROGRESS = 8612;
  1563. //public const uint ERROR_DS_EXISTING_AD_CHILD_NC = 8613;
  1564. //public const uint ERROR_DS_REPL_LIFETIME_EXCEEDED = 8614;
  1565. //public const uint ERROR_DS_DISALLOWED_IN_SYSTEM_CONTAINER = 8615;
  1566. //public const uint ERROR_DS_LDAP_SEND_QUEUE_FULL = 8616;
  1567. //public const uint ERROR_DS_DRA_OUT_SCHEDULE_WINDOW = 8617;
  1568. //public const uint DNS_ERROR_RESPONSE_CODES_BASE = 9000;
  1569. //public const uint DNS_ERROR_RCODE_NO_ERROR = NO_ERROR;
  1570. //public const uint DNS_ERROR_MASK = 0x00002328;
  1571. //public const uint DNS_ERROR_RCODE_FORMAT_ERROR = 9001;
  1572. //public const uint DNS_ERROR_RCODE_SERVER_FAILURE = 9002;
  1573. //public const uint DNS_ERROR_RCODE_NAME_ERROR = 9003;
  1574. //public const uint DNS_ERROR_RCODE_NOT_IMPLEMENTED = 9004;
  1575. //public const uint DNS_ERROR_RCODE_REFUSED = 9005;
  1576. //public const uint DNS_ERROR_RCODE_YXDOMAIN = 9006;
  1577. //public const uint DNS_ERROR_RCODE_YXRRSET = 9007;
  1578. //public const uint DNS_ERROR_RCODE_NXRRSET = 9008;
  1579. //public const uint DNS_ERROR_RCODE_NOTAUTH = 9009;
  1580. //public const uint DNS_ERROR_RCODE_NOTZONE = 9010;
  1581. //public const uint DNS_ERROR_RCODE_BADSIG = 9016;
  1582. //public const uint DNS_ERROR_RCODE_BADKEY = 9017;
  1583. //public const uint DNS_ERROR_RCODE_BADTIME = 9018;
  1584. //public const uint DNS_ERROR_RCODE_LAST = DNS_ERROR_RCODE_BADTIME;
  1585. //public const uint DNS_ERROR_PACKET_FMT_BASE = 9500;
  1586. //public const uint DNS_INFO_NO_RECORDS = 9501;
  1587. //public const uint DNS_ERROR_BAD_PACKET = 9502;
  1588. //public const uint DNS_ERROR_NO_PACKET = 9503;
  1589. //public const uint DNS_ERROR_RCODE = 9504;
  1590. //public const uint DNS_ERROR_UNSECURE_PACKET = 9505;
  1591. //public const uint DNS_STATUS_PACKET_UNSECURE = DNS_ERROR_UNSECURE_PACKET;
  1592. //public const uint DNS_ERROR_NO_MEMORY = ERROR_OUTOFMEMORY;
  1593. //public const uint DNS_ERROR_INVALID_NAME = ERROR_INVALID_NAME;
  1594. //public const uint DNS_ERROR_INVALID_DATA = ERROR_INVALID_DATA;
  1595. //public const uint DNS_ERROR_GENERAL_API_BASE = 9550;
  1596. //public const uint DNS_ERROR_INVALID_TYPE = 9551;
  1597. //public const uint DNS_ERROR_INVALID_IP_ADDRESS = 9552;
  1598. //public const uint DNS_ERROR_INVALID_PROPERTY = 9553;
  1599. //public const uint DNS_ERROR_TRY_AGAIN_LATER = 9554;
  1600. //public const uint DNS_ERROR_NOT_UNIQUE = 9555;
  1601. //public const uint DNS_ERROR_NON_RFC_NAME = 9556;
  1602. //public const uint DNS_STATUS_FQDN = 9557;
  1603. //public const uint DNS_STATUS_DOTTED_NAME = 9558;
  1604. //public const uint DNS_STATUS_SINGLE_PART_NAME = 9559;
  1605. //public const uint DNS_ERROR_INVALID_NAME_CHAR = 9560;
  1606. //public const uint DNS_ERROR_NUMERIC_NAME = 9561;
  1607. //public const uint DNS_ERROR_NOT_ALLOWED_ON_ROOT_SERVER = 9562;
  1608. //public const uint DNS_ERROR_NOT_ALLOWED_UNDER_DELEGATION = 9563;
  1609. //public const uint DNS_ERROR_CANNOT_FIND_ROOT_HINTS = 9564;
  1610. //public const uint DNS_ERROR_INCONSISTENT_ROOT_HINTS = 9565;
  1611. //public const uint DNS_ERROR_ZONE_BASE = 9600;
  1612. //public const uint DNS_ERROR_ZONE_DOES_NOT_EXIST = 9601;
  1613. //public const uint DNS_ERROR_NO_ZONE_INFO = 9602;
  1614. //public const uint DNS_ERROR_INVALID_ZONE_OPERATION = 9603;
  1615. //public const uint DNS_ERROR_ZONE_CONFIGURATION_ERROR = 9604;
  1616. //public const uint DNS_ERROR_ZONE_HAS_NO_SOA_RECORD = 9605;
  1617. //public const uint DNS_ERROR_ZONE_HAS_NO_NS_RECORDS = 9606;
  1618. //public const uint DNS_ERROR_ZONE_LOCKED = 9607;
  1619. //public const uint DNS_ERROR_ZONE_CREATION_FAILED = 9608;
  1620. //public const uint DNS_ERROR_ZONE_ALREADY_EXISTS = 9609;
  1621. //public const uint DNS_ERROR_AUTOZONE_ALREADY_EXISTS = 9610;
  1622. //public const uint DNS_ERROR_INVALID_ZONE_TYPE = 9611;
  1623. //public const uint DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP = 9612;
  1624. //public const uint DNS_ERROR_ZONE_NOT_SECONDARY = 9613;
  1625. //public const uint DNS_ERROR_NEED_SECONDARY_ADDRESSES = 9614;
  1626. //public const uint DNS_ERROR_WINS_INIT_FAILED = 9615;
  1627. //public const uint DNS_ERROR_NEED_WINS_SERVERS = 9616;
  1628. //public const uint DNS_ERROR_NBSTAT_INIT_FAILED = 9617;
  1629. //public const uint DNS_ERROR_SOA_DELETE_INVALID = 9618;
  1630. //public const uint DNS_ERROR_FORWARDER_ALREADY_EXISTS = 9619;
  1631. //public const uint DNS_ERROR_ZONE_REQUIRES_MASTER_IP = 9620;
  1632. //public const uint DNS_ERROR_ZONE_IS_SHUTDOWN = 9621;
  1633. //public const uint DNS_ERROR_DATAFILE_BASE = 9650;
  1634. //public const uint DNS_ERROR_PRIMARY_REQUIRES_DATAFILE = 9651;
  1635. //public const uint DNS_ERROR_INVALID_DATAFILE_NAME = 9652;
  1636. //public const uint DNS_ERROR_DATAFILE_OPEN_FAILURE = 9653;
  1637. //public const uint DNS_ERROR_FILE_WRITEBACK_FAILED = 9654;
  1638. //public const uint DNS_ERROR_DATAFILE_PARSING = 9655;
  1639. //public const uint DNS_ERROR_DATABASE_BASE = 9700;
  1640. //public const uint DNS_ERROR_RECORD_DOES_NOT_EXIST = 9701;
  1641. //public const uint DNS_ERROR_RECORD_FORMAT = 9702;
  1642. //public const uint DNS_ERROR_NODE_CREATION_FAILED = 9703;
  1643. //public const uint DNS_ERROR_UNKNOWN_RECORD_TYPE = 9704;
  1644. //public const uint DNS_ERROR_RECORD_TIMED_OUT = 9705;
  1645. //public const uint DNS_ERROR_NAME_NOT_IN_ZONE = 9706;
  1646. //public const uint DNS_ERROR_CNAME_LOOP = 9707;
  1647. //public const uint DNS_ERROR_NODE_IS_CNAME = 9708;
  1648. //public const uint DNS_ERROR_CNAME_COLLISION = 9709;
  1649. //public const uint DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT = 9710;
  1650. //public const uint DNS_ERROR_RECORD_ALREADY_EXISTS = 9711;
  1651. //public const uint DNS_ERROR_SECONDARY_DATA = 9712;
  1652. //public const uint DNS_ERROR_NO_CREATE_CACHE_DATA = 9713;
  1653. //public const uint DNS_ERROR_NAME_DOES_NOT_EXIST = 9714;
  1654. //public const uint DNS_WARNING_PTR_CREATE_FAILED = 9715;
  1655. //public const uint DNS_WARNING_DOMAIN_UNDELETED = 9716;
  1656. //public const uint DNS_ERROR_DS_UNAVAILABLE = 9717;
  1657. //public const uint DNS_ERROR_DS_ZONE_ALREADY_EXISTS = 9718;
  1658. //public const uint DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE = 9719;
  1659. //public const uint DNS_ERROR_OPERATION_BASE = 9750;
  1660. //public const uint DNS_INFO_AXFR_COMPLETE = 9751;
  1661. //public const uint DNS_ERROR_AXFR = 9752;
  1662. //public const uint DNS_INFO_ADDED_LOCAL_WINS = 9753;
  1663. //public const uint DNS_ERROR_SECURE_BASE = 9800;
  1664. //public const uint DNS_STATUS_CONTINUE_NEEDED = 9801;
  1665. //public const uint DNS_ERROR_SETUP_BASE = 9850;
  1666. //public const uint DNS_ERROR_NO_TCPIP = 9851;
  1667. //public const uint DNS_ERROR_NO_DNS_SERVERS = 9852;
  1668. //public const uint DNS_ERROR_DP_BASE = 9900;
  1669. //public const uint DNS_ERROR_DP_DOES_NOT_EXIST = 9901;
  1670. //public const uint DNS_ERROR_DP_ALREADY_EXISTS = 9902;
  1671. //public const uint DNS_ERROR_DP_NOT_ENLISTED = 9903;
  1672. //public const uint DNS_ERROR_DP_ALREADY_ENLISTED = 9904;
  1673. //public const uint DNS_ERROR_DP_NOT_AVAILABLE = 9905;
  1674. //public const uint DNS_ERROR_DP_FSMO_ERROR = 9906;
  1675. //public const uint WSABASEERR = 10000;
  1676. //public const uint WSAEINTR = 10004;
  1677. //public const uint WSAEBADF = 10009;
  1678. //public const uint WSAEACCES = 10013;
  1679. //public const uint WSAEFAULT = 10014;
  1680. //public const uint WSAEINVAL = 10022;
  1681. //public const uint WSAEMFILE = 10024;
  1682. //public const uint WSAEWOULDBLOCK = 10035;
  1683. //public const uint WSAEINPROGRESS = 10036;
  1684. //public const uint WSAEALREADY = 10037;
  1685. //public const uint WSAENOTSOCK = 10038;
  1686. //public const uint WSAEDESTADDRREQ = 10039;
  1687. //public const uint WSAEMSGSIZE = 10040;
  1688. //public const uint WSAEPROTOTYPE = 10041;
  1689. //public const uint WSAENOPROTOOPT = 10042;
  1690. //public const uint WSAEPROTONOSUPPORT = 10043;
  1691. //public const uint WSAESOCKTNOSUPPORT = 10044;
  1692. //public const uint WSAEOPNOTSUPP = 10045;
  1693. //public const uint WSAEPFNOSUPPORT = 10046;
  1694. //public const uint WSAEAFNOSUPPORT = 10047;
  1695. //public const uint WSAEADDRINUSE = 10048;
  1696. //public const uint WSAEADDRNOTAVAIL = 10049;
  1697. //public const uint WSAENETDOWN = 10050;
  1698. //public const uint WSAENETUNREACH = 10051;
  1699. //public const uint WSAENETRESET = 10052;
  1700. //public const uint WSAECONNABORTED = 10053;
  1701. //public const uint WSAECONNRESET = 10054;
  1702. //public const uint WSAENOBUFS = 10055;
  1703. //public const uint WSAEISCONN = 10056;
  1704. //public const uint WSAENOTCONN = 10057;
  1705. //public const uint WSAESHUTDOWN = 10058;
  1706. //public const uint WSAETOOMANYREFS = 10059;
  1707. //public const uint WSAETIMEDOUT = 10060;
  1708. //public const uint WSAECONNREFUSED = 10061;
  1709. //public const uint WSAELOOP = 10062;
  1710. //public const uint WSAENAMETOOLONG = 10063;
  1711. //public const uint WSAEHOSTDOWN = 10064;
  1712. //public const uint WSAEHOSTUNREACH = 10065;
  1713. //public const uint WSAENOTEMPTY = 10066;
  1714. //public const uint WSAEPROCLIM = 10067;
  1715. //public const uint WSAEUSERS = 10068;
  1716. //public const uint WSAEDQUOT = 10069;
  1717. //public const uint WSAESTALE = 10070;
  1718. //public const uint WSAEREMOTE = 10071;
  1719. //public const uint WSASYSNOTREADY = 10091;
  1720. //public const uint WSAVERNOTSUPPORTED = 10092;
  1721. //public const uint WSANOTINITIALISED = 10093;
  1722. //public const uint WSAEDISCON = 10101;
  1723. //public const uint WSAENOMORE = 10102;
  1724. //public const uint WSAECANCELLED = 10103;
  1725. //public const uint WSAEINVALIDPROCTABLE = 10104;
  1726. //public const uint WSAEINVALIDPROVIDER = 10105;
  1727. //public const uint WSAEPROVIDERFAILEDINIT = 10106;
  1728. //public const uint WSASYSCALLFAILURE = 10107;
  1729. //public const uint WSASERVICE_NOT_FOUND = 10108;
  1730. //public const uint WSATYPE_NOT_FOUND = 10109;
  1731. //public const uint WSA_E_NO_MORE = 10110;
  1732. //public const uint WSA_E_CANCELLED = 10111;
  1733. //public const uint WSAEREFUSED = 10112;
  1734. //public const uint WSAHOST_NOT_FOUND = 11001;
  1735. //public const uint WSATRY_AGAIN = 11002;
  1736. //public const uint WSANO_RECOVERY = 11003;
  1737. //public const uint WSANO_DATA = 11004;
  1738. //public const uint WSA_QOS_RECEIVERS = 11005;
  1739. //public const uint WSA_QOS_SENDERS = 11006;
  1740. //public const uint WSA_QOS_NO_SENDERS = 11007;
  1741. //public const uint WSA_QOS_NO_RECEIVERS = 11008;
  1742. //public const uint WSA_QOS_REQUEST_CONFIRMED = 11009;
  1743. //public const uint WSA_QOS_ADMISSION_FAILURE = 11010;
  1744. //public const uint WSA_QOS_POLICY_FAILURE = 11011;
  1745. //public const uint WSA_QOS_BAD_STYLE = 11012;
  1746. //public const uint WSA_QOS_BAD_OBJECT = 11013;
  1747. //public const uint WSA_QOS_TRAFFIC_CTRL_ERROR = 11014;
  1748. //public const uint WSA_QOS_GENERIC_ERROR = 11015;
  1749. //public const uint WSA_QOS_ESERVICETYPE = 11016;
  1750. //public const uint WSA_QOS_EFLOWSPEC = 11017;
  1751. //public const uint WSA_QOS_EPROVSPECBUF = 11018;
  1752. //public const uint WSA_QOS_EFILTERSTYLE = 11019;
  1753. //public const uint WSA_QOS_EFILTERTYPE = 11020;
  1754. //public const uint WSA_QOS_EFILTERCOUNT = 11021;
  1755. //public const uint WSA_QOS_EOBJLENGTH = 11022;
  1756. //public const uint WSA_QOS_EFLOWCOUNT = 11023;
  1757. //public const uint WSA_QOS_EUNKOWNPSOBJ = 11024;
  1758. //public const uint WSA_QOS_EPOLICYOBJ = 11025;
  1759. //public const uint WSA_QOS_EFLOWDESC = 11026;
  1760. //public const uint WSA_QOS_EPSFLOWSPEC = 11027;
  1761. //public const uint WSA_QOS_EPSFILTERSPEC = 11028;
  1762. //public const uint WSA_QOS_ESDMODEOBJ = 11029;
  1763. //public const uint WSA_QOS_ESHAPERATEOBJ = 11030;
  1764. //public const uint WSA_QOS_RESERVED_PETYPE = 11031;
  1765. //public const uint ERROR_SXS_SECTION_NOT_FOUND = 14000;
  1766. //public const uint ERROR_SXS_CANT_GEN_ACTCTX = 14001;
  1767. //public const uint ERROR_SXS_INVALID_ACTCTXDATA_FORMAT = 14002;
  1768. //public const uint ERROR_SXS_ASSEMBLY_NOT_FOUND = 14003;
  1769. //public const uint ERROR_SXS_MANIFEST_FORMAT_ERROR = 14004;
  1770. //public const uint ERROR_SXS_MANIFEST_PARSE_ERROR = 14005;
  1771. //public const uint ERROR_SXS_ACTIVATION_CONTEXT_DISABLED = 14006;
  1772. //public const uint ERROR_SXS_KEY_NOT_FOUND = 14007;
  1773. //public const uint ERROR_SXS_VERSION_CONFLICT = 14008;
  1774. //public const uint ERROR_SXS_WRONG_SECTION_TYPE = 14009;
  1775. //public const uint ERROR_SXS_THREAD_QUERIES_DISABLED = 14010;
  1776. //public const uint ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET = 14011;
  1777. //public const uint ERROR_SXS_UNKNOWN_ENCODING_GROUP = 14012;
  1778. //public const uint ERROR_SXS_UNKNOWN_ENCODING = 14013;
  1779. //public const uint ERROR_SXS_INVALID_XML_NAMESPACE_URI = 14014;
  1780. //public const uint ERROR_SXS_ROOT_MANIFEST_DEPENDENCY_NOT_INSTALLED = 14015;
  1781. //public const uint ERROR_SXS_LEAF_MANIFEST_DEPENDENCY_NOT_INSTALLED = 14016;
  1782. //public const uint ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE = 14017;
  1783. //public const uint ERROR_SXS_MANIFEST_MISSING_REQUIRED_DEFAULT_NAMESPACE = 14018;
  1784. //public const uint ERROR_SXS_MANIFEST_INVALID_REQUIRED_DEFAULT_NAMESPACE = 14019;
  1785. //public const uint ERROR_SXS_PRIVATE_MANIFEST_CROSS_PATH_WITH_REPARSE_POINT = 14020;
  1786. //public const uint ERROR_SXS_DUPLICATE_DLL_NAME = 14021;
  1787. //public const uint ERROR_SXS_DUPLICATE_WINDOWCLASS_NAME = 14022;
  1788. //public const uint ERROR_SXS_DUPLICATE_CLSID = 14023;
  1789. //public const uint ERROR_SXS_DUPLICATE_IID = 14024;
  1790. //public const uint ERROR_SXS_DUPLICATE_TLBID = 14025;
  1791. //public const uint ERROR_SXS_DUPLICATE_PROGID = 14026;
  1792. //public const uint ERROR_SXS_DUPLICATE_ASSEMBLY_NAME = 14027;
  1793. //public const uint ERROR_SXS_FILE_HASH_MISMATCH = 14028;
  1794. //public const uint ERROR_SXS_POLICY_PARSE_ERROR = 14029;
  1795. //public const uint ERROR_SXS_XML_E_MISSINGQUOTE = 14030;
  1796. //public const uint ERROR_SXS_XML_E_COMMENTSYNTAX = 14031;
  1797. //public const uint ERROR_SXS_XML_E_BADSTARTNAMECHAR = 14032;
  1798. //public const uint ERROR_SXS_XML_E_BADNAMECHAR = 14033;
  1799. //public const uint ERROR_SXS_XML_E_BADCHARINSTRING = 14034;
  1800. //public const uint ERROR_SXS_XML_E_XMLDECLSYNTAX = 14035;
  1801. //public const uint ERROR_SXS_XML_E_BADCHARDATA = 14036;
  1802. //public const uint ERROR_SXS_XML_E_MISSINGWHITESPACE = 14037;
  1803. //public const uint ERROR_SXS_XML_E_EXPECTINGTAGEND = 14038;
  1804. //public const uint ERROR_SXS_XML_E_MISSINGSEMICOLON = 14039;
  1805. //public const uint ERROR_SXS_XML_E_UNBALANCEDPAREN = 14040;
  1806. //public const uint ERROR_SXS_XML_E_INTERNALERROR = 14041;
  1807. //public const uint ERROR_SXS_XML_E_UNEXPECTED_WHITESPACE = 14042;
  1808. //public const uint ERROR_SXS_XML_E_INCOMPLETE_ENCODING = 14043;
  1809. //public const uint ERROR_SXS_XML_E_MISSING_PAREN = 14044;
  1810. //public const uint ERROR_SXS_XML_E_EXPECTINGCLOSEQUOTE = 14045;
  1811. //public const uint ERROR_SXS_XML_E_MULTIPLE_COLONS = 14046;
  1812. //public const uint ERROR_SXS_XML_E_INVALID_DECIMAL = 14047;
  1813. //public const uint ERROR_SXS_XML_E_INVALID_HEXIDECIMAL = 14048;
  1814. //public const uint ERROR_SXS_XML_E_INVALID_UNICODE = 14049;
  1815. //public const uint ERROR_SXS_XML_E_WHITESPACEORQUESTIONMARK = 14050;
  1816. //public const uint ERROR_SXS_XML_E_UNEXPECTEDENDTAG = 14051;
  1817. //public const uint ERROR_SXS_XML_E_UNCLOSEDTAG = 14052;
  1818. //public const uint ERROR_SXS_XML_E_DUPLICATEATTRIBUTE = 14053;
  1819. //public const uint ERROR_SXS_XML_E_MULTIPLEROOTS = 14054;
  1820. //public const uint ERROR_SXS_XML_E_INVALIDATROOTLEVEL = 14055;
  1821. //public const uint ERROR_SXS_XML_E_BADXMLDECL = 14056;
  1822. //public const uint ERROR_SXS_XML_E_MISSINGROOT = 14057;
  1823. //public const uint ERROR_SXS_XML_E_UNEXPECTEDEOF = 14058;
  1824. //public const uint ERROR_SXS_XML_E_BADPEREFINSUBSET = 14059;
  1825. //public const uint ERROR_SXS_XML_E_UNCLOSEDSTARTTAG = 14060;
  1826. //public const uint ERROR_SXS_XML_E_UNCLOSEDENDTAG = 14061;
  1827. //public const uint ERROR_SXS_XML_E_UNCLOSEDSTRING = 14062;
  1828. //public const uint ERROR_SXS_XML_E_UNCLOSEDCOMMENT = 14063;
  1829. //public const uint ERROR_SXS_XML_E_UNCLOSEDDECL = 14064;
  1830. //public const uint ERROR_SXS_XML_E_UNCLOSEDCDATA = 14065;
  1831. //public const uint ERROR_SXS_XML_E_RESERVEDNAMESPACE = 14066;
  1832. //public const uint ERROR_SXS_XML_E_INVALIDENCODING = 14067;
  1833. //public const uint ERROR_SXS_XML_E_INVALIDSWITCH = 14068;
  1834. //public const uint ERROR_SXS_XML_E_BADXMLCASE = 14069;
  1835. //public const uint ERROR_SXS_XML_E_INVALID_STANDALONE = 14070;
  1836. //public const uint ERROR_SXS_XML_E_UNEXPECTED_STANDALONE = 14071;
  1837. //public const uint ERROR_SXS_XML_E_INVALID_VERSION = 14072;
  1838. //public const uint ERROR_SXS_XML_E_MISSINGEQUALS = 14073;
  1839. //public const uint ERROR_SXS_PROTECTION_RECOVERY_FAILED = 14074;
  1840. //public const uint ERROR_SXS_PROTECTION_PUBLIC_KEY_TOO_SHORT = 14075;
  1841. //public const uint ERROR_SXS_PROTECTION_CATALOG_NOT_VALID = 14076;
  1842. //public const uint ERROR_SXS_UNTRANSLATABLE_HRESULT = 14077;
  1843. //public const uint ERROR_SXS_PROTECTION_CATALOG_FILE_MISSING = 14078;
  1844. //public const uint ERROR_SXS_MISSING_ASSEMBLY_IDENTITY_ATTRIBUTE = 14079;
  1845. //public const uint ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE_NAME = 14080;
  1846. //public const uint ERROR_IPSEC_QM_POLICY_EXISTS = 13000;
  1847. //public const uint ERROR_IPSEC_QM_POLICY_NOT_FOUND = 13001;
  1848. //public const uint ERROR_IPSEC_QM_POLICY_IN_USE = 13002;
  1849. //public const uint ERROR_IPSEC_MM_POLICY_EXISTS = 13003;
  1850. //public const uint ERROR_IPSEC_MM_POLICY_NOT_FOUND = 13004;
  1851. //public const uint ERROR_IPSEC_MM_POLICY_IN_USE = 13005;
  1852. //public const uint ERROR_IPSEC_MM_FILTER_EXISTS = 13006;
  1853. //public const uint ERROR_IPSEC_MM_FILTER_NOT_FOUND = 13007;
  1854. //public const uint ERROR_IPSEC_TRANSPORT_FILTER_EXISTS = 13008;
  1855. //public const uint ERROR_IPSEC_TRANSPORT_FILTER_NOT_FOUND = 13009;
  1856. //public const uint ERROR_IPSEC_MM_AUTH_EXISTS = 13010;
  1857. //public const uint ERROR_IPSEC_MM_AUTH_NOT_FOUND = 13011;
  1858. //public const uint ERROR_IPSEC_MM_AUTH_IN_USE = 13012;
  1859. //public const uint ERROR_IPSEC_DEFAULT_MM_POLICY_NOT_FOUND = 13013;
  1860. //public const uint ERROR_IPSEC_DEFAULT_MM_AUTH_NOT_FOUND = 13014;
  1861. //public const uint ERROR_IPSEC_DEFAULT_QM_POLICY_NOT_FOUND = 13015;
  1862. //public const uint ERROR_IPSEC_TUNNEL_FILTER_EXISTS = 13016;
  1863. //public const uint ERROR_IPSEC_TUNNEL_FILTER_NOT_FOUND = 13017;
  1864. //public const uint ERROR_IPSEC_MM_FILTER_PENDING_DELETION = 13018;
  1865. //public const uint ERROR_IPSEC_TRANSPORT_FILTER_PENDING_DELETION = 13019;
  1866. //public const uint ERROR_IPSEC_TUNNEL_FILTER_PENDING_DELETION = 13020;
  1867. //public const uint ERROR_IPSEC_MM_POLICY_PENDING_DELETION = 13021;
  1868. //public const uint ERROR_IPSEC_MM_AUTH_PENDING_DELETION = 13022;
  1869. //public const uint ERROR_IPSEC_QM_POLICY_PENDING_DELETION = 13023;
  1870. //public const uint WARNING_IPSEC_MM_POLICY_PRUNED = 13024;
  1871. //public const uint WARNING_IPSEC_QM_POLICY_PRUNED = 13025;
  1872. //public const uint ERROR_IPSEC_IKE_NEG_STATUS_BEGIN = 13800;
  1873. //public const uint ERROR_IPSEC_IKE_AUTH_FAIL = 13801;
  1874. //public const uint ERROR_IPSEC_IKE_ATTRIB_FAIL = 13802;
  1875. //public const uint ERROR_IPSEC_IKE_NEGOTIATION_PENDING = 13803;
  1876. //public const uint ERROR_IPSEC_IKE_GENERAL_PROCESSING_ERROR = 13804;
  1877. //public const uint ERROR_IPSEC_IKE_TIMED_OUT = 13805;
  1878. //public const uint ERROR_IPSEC_IKE_NO_CERT = 13806;
  1879. //public const uint ERROR_IPSEC_IKE_SA_DELETED = 13807;
  1880. //public const uint ERROR_IPSEC_IKE_SA_REAPED = 13808;
  1881. //public const uint ERROR_IPSEC_IKE_MM_ACQUIRE_DROP = 13809;
  1882. //public const uint ERROR_IPSEC_IKE_QM_ACQUIRE_DROP = 13810;
  1883. //public const uint ERROR_IPSEC_IKE_QUEUE_DROP_MM = 13811;
  1884. //public const uint ERROR_IPSEC_IKE_QUEUE_DROP_NO_MM = 13812;
  1885. //public const uint ERROR_IPSEC_IKE_DROP_NO_RESPONSE = 13813;
  1886. //public const uint ERROR_IPSEC_IKE_MM_DELAY_DROP = 13814;
  1887. //public const uint ERROR_IPSEC_IKE_QM_DELAY_DROP = 13815;
  1888. //public const uint ERROR_IPSEC_IKE_ERROR = 13816;
  1889. //public const uint ERROR_IPSEC_IKE_CRL_FAILED = 13817;
  1890. //public const uint ERROR_IPSEC_IKE_INVALID_KEY_USAGE = 13818;
  1891. //public const uint ERROR_IPSEC_IKE_INVALID_CERT_TYPE = 13819;
  1892. //public const uint ERROR_IPSEC_IKE_NO_PRIVATE_KEY = 13820;
  1893. //public const uint ERROR_IPSEC_IKE_DH_FAIL = 13822;
  1894. //public const uint ERROR_IPSEC_IKE_INVALID_HEADER = 13824;
  1895. //public const uint ERROR_IPSEC_IKE_NO_POLICY = 13825;
  1896. //public const uint ERROR_IPSEC_IKE_INVALID_SIGNATURE = 13826;
  1897. //public const uint ERROR_IPSEC_IKE_KERBEROS_ERROR = 13827;
  1898. //public const uint ERROR_IPSEC_IKE_NO_PUBLIC_KEY = 13828;
  1899. //public const uint ERROR_IPSEC_IKE_PROCESS_ERR = 13829;
  1900. //public const uint ERROR_IPSEC_IKE_PROCESS_ERR_SA = 13830;
  1901. //public const uint ERROR_IPSEC_IKE_PROCESS_ERR_PROP = 13831;
  1902. //public const uint ERROR_IPSEC_IKE_PROCESS_ERR_TRANS = 13832;
  1903. //public const uint ERROR_IPSEC_IKE_PROCESS_ERR_KE = 13833;
  1904. //public const uint ERROR_IPSEC_IKE_PROCESS_ERR_ID = 13834;
  1905. //public const uint ERROR_IPSEC_IKE_PROCESS_ERR_CERT = 13835;
  1906. //public const uint ERROR_IPSEC_IKE_PROCESS_ERR_CERT_REQ = 13836;
  1907. //public const uint ERROR_IPSEC_IKE_PROCESS_ERR_HASH = 13837;
  1908. //public const uint ERROR_IPSEC_IKE_PROCESS_ERR_SIG = 13838;
  1909. //public const uint ERROR_IPSEC_IKE_PROCESS_ERR_NONCE = 13839;
  1910. //public const uint ERROR_IPSEC_IKE_PROCESS_ERR_NOTIFY = 13840;
  1911. //public const uint ERROR_IPSEC_IKE_PROCESS_ERR_DELETE = 13841;
  1912. //public const uint ERROR_IPSEC_IKE_PROCESS_ERR_VENDOR = 13842;
  1913. //public const uint ERROR_IPSEC_IKE_INVALID_PAYLOAD = 13843;
  1914. //public const uint ERROR_IPSEC_IKE_LOAD_SOFT_SA = 13844;
  1915. //public const uint ERROR_IPSEC_IKE_SOFT_SA_TORN_DOWN = 13845;
  1916. //public const uint ERROR_IPSEC_IKE_INVALID_COOKIE = 13846;
  1917. //public const uint ERROR_IPSEC_IKE_NO_PEER_CERT = 13847;
  1918. //public const uint ERROR_IPSEC_IKE_PEER_CRL_FAILED = 13848;
  1919. //public const uint ERROR_IPSEC_IKE_POLICY_CHANGE = 13849;
  1920. //public const uint ERROR_IPSEC_IKE_NO_MM_POLICY = 13850;
  1921. //public const uint ERROR_IPSEC_IKE_NOTCBPRIV = 13851;
  1922. //public const uint ERROR_IPSEC_IKE_SECLOADFAIL = 13852;
  1923. //public const uint ERROR_IPSEC_IKE_FAILSSPINIT = 13853;
  1924. //public const uint ERROR_IPSEC_IKE_FAILQUERYSSP = 13854;
  1925. //public const uint ERROR_IPSEC_IKE_SRVACQFAIL = 13855;
  1926. //public const uint ERROR_IPSEC_IKE_SRVQUERYCRED = 13856;
  1927. //public const uint ERROR_IPSEC_IKE_GETSPIFAIL = 13857;
  1928. //public const uint ERROR_IPSEC_IKE_INVALID_FILTER = 13858;
  1929. //public const uint ERROR_IPSEC_IKE_OUT_OF_MEMORY = 13859;
  1930. //public const uint ERROR_IPSEC_IKE_ADD_UPDATE_KEY_FAILED = 13860;
  1931. //public const uint ERROR_IPSEC_IKE_INVALID_POLICY = 13861;
  1932. //public const uint ERROR_IPSEC_IKE_UNKNOWN_DOI = 13862;
  1933. //public const uint ERROR_IPSEC_IKE_INVALID_SITUATION = 13863;
  1934. //public const uint ERROR_IPSEC_IKE_DH_FAILURE = 13864;
  1935. //public const uint ERROR_IPSEC_IKE_INVALID_GROUP = 13865;
  1936. //public const uint ERROR_IPSEC_IKE_ENCRYPT = 13866;
  1937. //public const uint ERROR_IPSEC_IKE_DECRYPT = 13867;
  1938. //public const uint ERROR_IPSEC_IKE_POLICY_MATCH = 13868;
  1939. //public const uint ERROR_IPSEC_IKE_UNSUPPORTED_ID = 13869;
  1940. //public const uint ERROR_IPSEC_IKE_INVALID_HASH = 13870;
  1941. //public const uint ERROR_IPSEC_IKE_INVALID_HASH_ALG = 13871;
  1942. //public const uint ERROR_IPSEC_IKE_INVALID_HASH_SIZE = 13872;
  1943. //public const uint ERROR_IPSEC_IKE_INVALID_ENCRYPT_ALG = 13873;
  1944. //public const uint ERROR_IPSEC_IKE_INVALID_AUTH_ALG = 13874;
  1945. //public const uint ERROR_IPSEC_IKE_INVALID_SIG = 13875;
  1946. //public const uint ERROR_IPSEC_IKE_LOAD_FAILED = 13876;
  1947. //public const uint ERROR_IPSEC_IKE_RPC_DELETE = 13877;
  1948. //public const uint ERROR_IPSEC_IKE_BENIGN_REINIT = 13878;
  1949. //public const uint ERROR_IPSEC_IKE_INVALID_RESPONDER_LIFETIME_NOTIFY = 13879;
  1950. //public const uint ERROR_IPSEC_IKE_INVALID_CERT_KEYLEN = 13881;
  1951. //public const uint ERROR_IPSEC_IKE_MM_LIMIT = 13882;
  1952. //public const uint ERROR_IPSEC_IKE_NEGOTIATION_DISABLED = 13883;
  1953. //public const uint ERROR_IPSEC_IKE_NEG_STATUS_END = 13884;
  1954. //public const uint SEVERITY_SUCCESS = 0;
  1955. //public const uint SEVERITY_ERROR = 1;
  1956. //public const uint NOERROR = 0;
  1957. //public const uint E_UNEXPECTED = 0x8000FFFF;
  1958. //public const uint E_NOTIMPL = 0x80004001;
  1959. //public const uint E_OUTOFMEMORY = 0x8007000E;
  1960. //public const uint E_INVALIDARG = 0x80070057;
  1961. //public const uint E_NOINTERFACE = 0x80004002;
  1962. public const uint E_POINTER = 0x80004003;
  1963. //public const uint E_HANDLE = 0x80070006;
  1964. //public const uint E_ABORT = 0x80004004;
  1965. //public const uint E_FAIL = 0x80004005;
  1966. //public const uint E_ACCESSDENIED = 0x80070005;
  1967. //public const uint E_PENDING = 0x8000000A;
  1968. //public const uint CO_E_INIT_TLS = 0x80004006;
  1969. //public const uint CO_E_INIT_SHARED_ALLOCATOR = 0x80004007;
  1970. //public const uint CO_E_INIT_MEMORY_ALLOCATOR = 0x80004008;
  1971. //public const uint CO_E_INIT_CLASS_CACHE = 0x80004009;
  1972. //public const uint CO_E_INIT_RPC_CHANNEL = 0x8000400A;
  1973. //public const uint CO_E_INIT_TLS_SET_CHANNEL_CONTROL = 0x8000400B;
  1974. //public const uint CO_E_INIT_TLS_CHANNEL_CONTROL = 0x8000400C;
  1975. //public const uint CO_E_INIT_UNACCEPTED_USER_ALLOCATOR = 0x8000400D;
  1976. //public const uint CO_E_INIT_SCM_MUTEX_EXISTS = 0x8000400E;
  1977. //public const uint CO_E_INIT_SCM_FILE_MAPPING_EXISTS = 0x8000400F;
  1978. //public const uint CO_E_INIT_SCM_MAP_VIEW_OF_FILE = 0x80004010;
  1979. //public const uint CO_E_INIT_SCM_EXEC_FAILURE = 0x80004011;
  1980. //public const uint CO_E_INIT_ONLY_SINGLE_THREADED = 0x80004012;
  1981. //public const uint CO_E_CANT_REMOTE = 0x80004013;
  1982. //public const uint CO_E_BAD_SERVER_NAME = 0x80004014;
  1983. //public const uint CO_E_WRONG_SERVER_IDENTITY = 0x80004015;
  1984. //public const uint CO_E_OLE1DDE_DISABLED = 0x80004016;
  1985. //public const uint CO_E_RUNAS_SYNTAX = 0x80004017;
  1986. //public const uint CO_E_CREATEPROCESS_FAILURE = 0x80004018;
  1987. //public const uint CO_E_RUNAS_CREATEPROCESS_FAILURE = 0x80004019;
  1988. //public const uint CO_E_RUNAS_LOGON_FAILURE = 0x8000401A;
  1989. //public const uint CO_E_LAUNCH_PERMSSION_DENIED = 0x8000401B;
  1990. //public const uint CO_E_START_SERVICE_FAILURE = 0x8000401C;
  1991. //public const uint CO_E_REMOTE_COMMUNICATION_FAILURE = 0x8000401D;
  1992. //public const uint CO_E_SERVER_START_TIMEOUT = 0x8000401E;
  1993. //public const uint CO_E_CLSREG_INCONSISTENT = 0x8000401F;
  1994. //public const uint CO_E_IIDREG_INCONSISTENT = 0x80004020;
  1995. //public const uint CO_E_NOT_SUPPORTED = 0x80004021;
  1996. //public const uint CO_E_RELOAD_DLL = 0x80004022;
  1997. //public const uint CO_E_MSI_ERROR = 0x80004023;
  1998. //public const uint CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT = 0x80004024;
  1999. //public const uint CO_E_SERVER_PAUSED = 0x80004025;
  2000. //public const uint CO_E_SERVER_NOT_PAUSED = 0x80004026;
  2001. //public const uint CO_E_CLASS_DISABLED = 0x80004027;
  2002. //public const uint CO_E_CLRNOTAVAILABLE = 0x80004028;
  2003. //public const uint CO_E_ASYNC_WORK_REJECTED = 0x80004029;
  2004. //public const uint CO_E_SERVER_INIT_TIMEOUT = 0x8000402A;
  2005. //public const uint CO_E_NO_SECCTX_IN_ACTIVATE = 0x8000402B;
  2006. //public const uint CO_E_TRACKER_CONFIG = 0x80004030;
  2007. //public const uint CO_E_THREADPOOL_CONFIG = 0x80004031;
  2008. //public const uint CO_E_SXS_CONFIG = 0x80004032;
  2009. //public const uint CO_E_MALFORMED_SPN = 0x80004033;
  2010. /// <summary>(0) The operation completed successfully.</summary>
  2011. public const uint S_OK = 0x00000000;
  2012. //public const uint S_FALSE = 0x00000001;
  2013. //public const uint OLE_E_FIRST = 0x80040000;
  2014. //public const uint OLE_E_LAST = 0x800400FF;
  2015. //public const uint OLE_S_FIRST = 0x00040000;
  2016. //public const uint OLE_S_LAST = 0x000400FF;
  2017. //public const uint OLE_E_OLEVERB = 0x80040000;
  2018. //public const uint OLE_E_ADVF = 0x80040001;
  2019. //public const uint OLE_E_ENUM_NOMORE = 0x80040002;
  2020. //public const uint OLE_E_ADVISENOTSUPPORTED = 0x80040003;
  2021. //public const uint OLE_E_NOCONNECTION = 0x80040004;
  2022. //public const uint OLE_E_NOTRUNNING = 0x80040005;
  2023. //public const uint OLE_E_NOCACHE = 0x80040006;
  2024. //public const uint OLE_E_BLANK = 0x80040007;
  2025. //public const uint OLE_E_CLASSDIFF = 0x80040008;
  2026. //public const uint OLE_E_CANT_GETMONIKER = 0x80040009;
  2027. //public const uint OLE_E_CANT_BINDTOSOURCE = 0x8004000A;
  2028. //public const uint OLE_E_STATIC = 0x8004000B;
  2029. //public const uint OLE_E_PROMPTSAVECANCELLED = 0x8004000C;
  2030. //public const uint OLE_E_INVALIDRECT = 0x8004000D;
  2031. //public const uint OLE_E_WRONGCOMPOBJ = 0x8004000E;
  2032. //public const uint OLE_E_INVALIDHWND = 0x8004000F;
  2033. //public const uint OLE_E_NOT_INPLACEACTIVE = 0x80040010;
  2034. //public const uint OLE_E_CANTCONVERT = 0x80040011;
  2035. //public const uint OLE_E_NOSTORAGE = 0x80040012;
  2036. //public const uint DV_E_FORMATETC = 0x80040064;
  2037. //public const uint DV_E_DVTARGETDEVICE = 0x80040065;
  2038. //public const uint DV_E_STGMEDIUM = 0x80040066;
  2039. //public const uint DV_E_STATDATA = 0x80040067;
  2040. //public const uint DV_E_LINDEX = 0x80040068;
  2041. //public const uint DV_E_TYMED = 0x80040069;
  2042. //public const uint DV_E_CLIPFORMAT = 0x8004006A;
  2043. //public const uint DV_E_DVASPECT = 0x8004006B;
  2044. //public const uint DV_E_DVTARGETDEVICE_SIZE = 0x8004006C;
  2045. //public const uint DV_E_NOIVIEWOBJECT = 0x8004006D;
  2046. //public const uint DRAGDROP_E_FIRST = 0x80040100;
  2047. //public const uint DRAGDROP_E_LAST = 0x8004010F;
  2048. //public const uint DRAGDROP_S_FIRST = 0x00040100;
  2049. //public const uint DRAGDROP_S_LAST = 0x0004010F;
  2050. //public const uint DRAGDROP_E_NOTREGISTERED = 0x80040100;
  2051. //public const uint DRAGDROP_E_ALREADYREGISTERED = 0x80040101;
  2052. //public const uint DRAGDROP_E_INVALIDHWND = 0x80040102;
  2053. //public const uint CLASSFACTORY_E_FIRST = 0x80040110;
  2054. //public const uint CLASSFACTORY_E_LAST = 0x8004011F;
  2055. //public const uint CLASSFACTORY_S_FIRST = 0x00040110;
  2056. //public const uint CLASSFACTORY_S_LAST = 0x0004011F;
  2057. //public const uint CLASS_E_NOAGGREGATION = 0x80040110;
  2058. //public const uint CLASS_E_CLASSNOTAVAILABLE = 0x80040111;
  2059. //public const uint CLASS_E_NOTLICENSED = 0x80040112;
  2060. //public const uint MARSHAL_E_FIRST = 0x80040120;
  2061. //public const uint MARSHAL_E_LAST = 0x8004012F;
  2062. //public const uint MARSHAL_S_FIRST = 0x00040120;
  2063. //public const uint MARSHAL_S_LAST = 0x0004012F;
  2064. //public const uint DATA_E_FIRST = 0x80040130;
  2065. //public const uint DATA_E_LAST = 0x8004013F;
  2066. //public const uint DATA_S_FIRST = 0x00040130;
  2067. //public const uint DATA_S_LAST = 0x0004013F;
  2068. //public const uint VIEW_E_FIRST = 0x80040140;
  2069. //public const uint VIEW_E_LAST = 0x8004014F;
  2070. //public const uint VIEW_S_FIRST = 0x00040140;
  2071. //public const uint VIEW_S_LAST = 0x0004014F;
  2072. //public const uint VIEW_E_DRAW = 0x80040140;
  2073. //public const uint REGDB_E_FIRST = 0x80040150;
  2074. //public const uint REGDB_E_LAST = 0x8004015F;
  2075. //public const uint REGDB_S_FIRST = 0x00040150;
  2076. //public const uint REGDB_S_LAST = 0x0004015F;
  2077. //public const uint REGDB_E_READREGDB = 0x80040150;
  2078. //public const uint REGDB_E_WRITEREGDB = 0x80040151;
  2079. //public const uint REGDB_E_KEYMISSING = 0x80040152;
  2080. //public const uint REGDB_E_INVALIDVALUE = 0x80040153;
  2081. //public const uint REGDB_E_CLASSNOTREG = 0x80040154;
  2082. //public const uint REGDB_E_IIDNOTREG = 0x80040155;
  2083. //public const uint REGDB_E_BADTHREADINGMODEL = 0x80040156;
  2084. //public const uint CAT_E_FIRST = 0x80040160;
  2085. //public const uint CAT_E_LAST = 0x80040161;
  2086. //public const uint CAT_E_CATIDNOEXIST = 0x80040160;
  2087. //public const uint CAT_E_NODESCRIPTION = 0x80040161;
  2088. //public const uint CS_E_FIRST = 0x80040164;
  2089. //public const uint CS_E_LAST = 0x8004016F;
  2090. //public const uint CS_E_PACKAGE_NOTFOUND = 0x80040164;
  2091. //public const uint CS_E_NOT_DELETABLE = 0x80040165;
  2092. //public const uint CS_E_CLASS_NOTFOUND = 0x80040166;
  2093. //public const uint CS_E_INVALID_VERSION = 0x80040167;
  2094. //public const uint CS_E_NO_CLASSSTORE = 0x80040168;
  2095. //public const uint CS_E_OBJECT_NOTFOUND = 0x80040169;
  2096. //public const uint CS_E_OBJECT_ALREADY_EXISTS = 0x8004016A;
  2097. //public const uint CS_E_INVALID_PATH = 0x8004016B;
  2098. //public const uint CS_E_NETWORK_ERROR = 0x8004016C;
  2099. //public const uint CS_E_ADMIN_LIMIT_EXCEEDED = 0x8004016D;
  2100. //public const uint CS_E_SCHEMA_MISMATCH = 0x8004016E;
  2101. //public const uint CS_E_INTERNAL_ERROR = 0x8004016F;
  2102. //public const uint CACHE_E_FIRST = 0x80040170;
  2103. //public const uint CACHE_E_LAST = 0x8004017F;
  2104. //public const uint CACHE_S_FIRST = 0x00040170;
  2105. //public const uint CACHE_S_LAST = 0x0004017F;
  2106. //public const uint CACHE_E_NOCACHE_UPDATED = 0x80040170;
  2107. //public const uint OLEOBJ_E_FIRST = 0x80040180;
  2108. //public const uint OLEOBJ_E_LAST = 0x8004018F;
  2109. //public const uint OLEOBJ_S_FIRST = 0x00040180;
  2110. //public const uint OLEOBJ_S_LAST = 0x0004018F;
  2111. //public const uint OLEOBJ_E_NOVERBS = 0x80040180;
  2112. //public const uint OLEOBJ_E_INVALIDVERB = 0x80040181;
  2113. //public const uint CLIENTSITE_E_FIRST = 0x80040190;
  2114. //public const uint CLIENTSITE_E_LAST = 0x8004019F;
  2115. //public const uint CLIENTSITE_S_FIRST = 0x00040190;
  2116. //public const uint CLIENTSITE_S_LAST = 0x0004019F;
  2117. //public const uint INPLACE_E_NOTUNDOABLE = 0x800401A0;
  2118. //public const uint INPLACE_E_NOTOOLSPACE = 0x800401A1;
  2119. //public const uint INPLACE_E_FIRST = 0x800401A0;
  2120. //public const uint INPLACE_E_LAST = 0x800401AF;
  2121. //public const uint INPLACE_S_FIRST = 0x000401A0;
  2122. //public const uint INPLACE_S_LAST = 0x000401AF;
  2123. //public const uint ENUM_E_FIRST = 0x800401B0;
  2124. //public const uint ENUM_E_LAST = 0x800401BF;
  2125. //public const uint ENUM_S_FIRST = 0x000401B0;
  2126. //public const uint ENUM_S_LAST = 0x000401BF;
  2127. //public const uint CONVERT10_E_FIRST = 0x800401C0;
  2128. //public const uint CONVERT10_E_LAST = 0x800401CF;
  2129. //public const uint CONVERT10_S_FIRST = 0x000401C0;
  2130. //public const uint CONVERT10_S_LAST = 0x000401CF;
  2131. //public const uint CONVERT10_E_OLESTREAM_GET = 0x800401C0;
  2132. //public const uint CONVERT10_E_OLESTREAM_PUT = 0x800401C1;
  2133. //public const uint CONVERT10_E_OLESTREAM_FMT = 0x800401C2;
  2134. //public const uint CONVERT10_E_OLESTREAM_BITMAP_TO_DIB = 0x800401C3;
  2135. //public const uint CONVERT10_E_STG_FMT = 0x800401C4;
  2136. //public const uint CONVERT10_E_STG_NO_STD_STREAM = 0x800401C5;
  2137. //public const uint CONVERT10_E_STG_DIB_TO_BITMAP = 0x800401C6;
  2138. //public const uint CLIPBRD_E_FIRST = 0x800401D0;
  2139. //public const uint CLIPBRD_E_LAST = 0x800401DF;
  2140. //public const uint CLIPBRD_S_FIRST = 0x000401D0;
  2141. //public const uint CLIPBRD_S_LAST = 0x000401DF;
  2142. //public const uint CLIPBRD_E_CANT_OPEN = 0x800401D0;
  2143. //public const uint CLIPBRD_E_CANT_EMPTY = 0x800401D1;
  2144. //public const uint CLIPBRD_E_CANT_SET = 0x800401D2;
  2145. //public const uint CLIPBRD_E_BAD_DATA = 0x800401D3;
  2146. //public const uint CLIPBRD_E_CANT_CLOSE = 0x800401D4;
  2147. //public const uint MK_E_FIRST = 0x800401E0;
  2148. //public const uint MK_E_LAST = 0x800401EF;
  2149. //public const uint MK_S_FIRST = 0x000401E0;
  2150. //public const uint MK_S_LAST = 0x000401EF;
  2151. //public const uint MK_E_CONNECTMANUALLY = 0x800401E0;
  2152. //public const uint MK_E_EXCEEDEDDEADLINE = 0x800401E1;
  2153. //public const uint MK_E_NEEDGENERIC = 0x800401E2;
  2154. //public const uint MK_E_UNAVAILABLE = 0x800401E3;
  2155. //public const uint MK_E_SYNTAX = 0x800401E4;
  2156. //public const uint MK_E_NOOBJECT = 0x800401E5;
  2157. //public const uint MK_E_INVALIDEXTENSION = 0x800401E6;
  2158. //public const uint MK_E_INTERMEDIATEINTERFACENOTSUPPORTED = 0x800401E7;
  2159. //public const uint MK_E_NOTBINDABLE = 0x800401E8;
  2160. //public const uint MK_E_NOTBOUND = 0x800401E9;
  2161. //public const uint MK_E_CANTOPENFILE = 0x800401EA;
  2162. //public const uint MK_E_MUSTBOTHERUSER = 0x800401EB;
  2163. //public const uint MK_E_NOINVERSE = 0x800401EC;
  2164. //public const uint MK_E_NOSTORAGE = 0x800401ED;
  2165. //public const uint MK_E_NOPREFIX = 0x800401EE;
  2166. //public const uint MK_E_ENUMERATION_FAILED = 0x800401EF;
  2167. //public const uint CO_E_FIRST = 0x800401F0;
  2168. //public const uint CO_E_LAST = 0x800401FF;
  2169. //public const uint CO_S_FIRST = 0x000401F0;
  2170. //public const uint CO_S_LAST = 0x000401FF;
  2171. //public const uint CO_E_NOTINITIALIZED = 0x800401F0;
  2172. //public const uint CO_E_ALREADYINITIALIZED = 0x800401F1;
  2173. //public const uint CO_E_CANTDETERMINECLASS = 0x800401F2;
  2174. //public const uint CO_E_CLASSSTRING = 0x800401F3;
  2175. //public const uint CO_E_IIDSTRING = 0x800401F4;
  2176. //public const uint CO_E_APPNOTFOUND = 0x800401F5;
  2177. //public const uint CO_E_APPSINGLEUSE = 0x800401F6;
  2178. //public const uint CO_E_ERRORINAPP = 0x800401F7;
  2179. //public const uint CO_E_DLLNOTFOUND = 0x800401F8;
  2180. //public const uint CO_E_ERRORINDLL = 0x800401F9;
  2181. //public const uint CO_E_WRONGOSFORAPP = 0x800401FA;
  2182. //public const uint CO_E_OBJNOTREG = 0x800401FB;
  2183. //public const uint CO_E_OBJISREG = 0x800401FC;
  2184. //public const uint CO_E_OBJNOTCONNECTED = 0x800401FD;
  2185. //public const uint CO_E_APPDIDNTREG = 0x800401FE;
  2186. //public const uint CO_E_RELEASED = 0x800401FF;
  2187. //public const uint EVENT_E_FIRST = 0x80040200;
  2188. //public const uint EVENT_E_LAST = 0x8004021F;
  2189. //public const uint EVENT_S_FIRST = 0x00040200;
  2190. //public const uint EVENT_S_LAST = 0x0004021F;
  2191. //public const uint EVENT_S_SOME_SUBSCRIBERS_FAILED = 0x00040200;
  2192. //public const uint EVENT_E_ALL_SUBSCRIBERS_FAILED = 0x80040201;
  2193. //public const uint EVENT_S_NOSUBSCRIBERS = 0x00040202;
  2194. //public const uint EVENT_E_QUERYSYNTAX = 0x80040203;
  2195. //public const uint EVENT_E_QUERYFIELD = 0x80040204;
  2196. //public const uint EVENT_E_INTERNALEXCEPTION = 0x80040205;
  2197. //public const uint EVENT_E_INTERNALERROR = 0x80040206;
  2198. //public const uint EVENT_E_INVALID_PER_USER_SID = 0x80040207;
  2199. //public const uint EVENT_E_USER_EXCEPTION = 0x80040208;
  2200. //public const uint EVENT_E_TOO_MANY_METHODS = 0x80040209;
  2201. //public const uint EVENT_E_MISSING_EVENTCLASS = 0x8004020A;
  2202. //public const uint EVENT_E_NOT_ALL_REMOVED = 0x8004020B;
  2203. //public const uint EVENT_E_COMPLUS_NOT_INSTALLED = 0x8004020C;
  2204. //public const uint EVENT_E_CANT_MODIFY_OR_DELETE_UNCONFIGURED_OBJECT = 0x8004020D;
  2205. //public const uint EVENT_E_CANT_MODIFY_OR_DELETE_CONFIGURED_OBJECT = 0x8004020E;
  2206. //public const uint EVENT_E_INVALID_EVENT_CLASS_PARTITION = 0x8004020F;
  2207. //public const uint EVENT_E_PER_USER_SID_NOT_LOGGED_ON = 0x80040210;
  2208. //public const uint XACT_E_FIRST = 0x8004D000;
  2209. //public const uint XACT_E_LAST = 0x8004D029;
  2210. //public const uint XACT_S_FIRST = 0x0004D000;
  2211. //public const uint XACT_S_LAST = 0x0004D010;
  2212. //public const uint XACT_E_ALREADYOTHERSINGLEPHASE = 0x8004D000;
  2213. //public const uint XACT_E_CANTRETAIN = 0x8004D001;
  2214. //public const uint XACT_E_COMMITFAILED = 0x8004D002;
  2215. //public const uint XACT_E_COMMITPREVENTED = 0x8004D003;
  2216. //public const uint XACT_E_HEURISTICABORT = 0x8004D004;
  2217. //public const uint XACT_E_HEURISTICCOMMIT = 0x8004D005;
  2218. //public const uint XACT_E_HEURISTICDAMAGE = 0x8004D006;
  2219. //public const uint XACT_E_HEURISTICDANGER = 0x8004D007;
  2220. //public const uint XACT_E_ISOLATIONLEVEL = 0x8004D008;
  2221. //public const uint XACT_E_NOASYNC = 0x8004D009;
  2222. //public const uint XACT_E_NOENLIST = 0x8004D00A;
  2223. //public const uint XACT_E_NOISORETAIN = 0x8004D00B;
  2224. //public const uint XACT_E_NORESOURCE = 0x8004D00C;
  2225. //public const uint XACT_E_NOTCURRENT = 0x8004D00D;
  2226. //public const uint XACT_E_NOTRANSACTION = 0x8004D00E;
  2227. //public const uint XACT_E_NOTSUPPORTED = 0x8004D00F;
  2228. //public const uint XACT_E_UNKNOWNRMGRID = 0x8004D010;
  2229. //public const uint XACT_E_WRONGSTATE = 0x8004D011;
  2230. //public const uint XACT_E_WRONGUOW = 0x8004D012;
  2231. //public const uint XACT_E_XTIONEXISTS = 0x8004D013;
  2232. //public const uint XACT_E_NOIMPORTOBJECT = 0x8004D014;
  2233. //public const uint XACT_E_INVALIDCOOKIE = 0x8004D015;
  2234. //public const uint XACT_E_INDOUBT = 0x8004D016;
  2235. //public const uint XACT_E_NOTIMEOUT = 0x8004D017;
  2236. //public const uint XACT_E_ALREADYINPROGRESS = 0x8004D018;
  2237. //public const uint XACT_E_ABORTED = 0x8004D019;
  2238. //public const uint XACT_E_LOGFULL = 0x8004D01A;
  2239. //public const uint XACT_E_TMNOTAVAILABLE = 0x8004D01B;
  2240. //public const uint XACT_E_CONNECTION_DOWN = 0x8004D01C;
  2241. //public const uint XACT_E_CONNECTION_DENIED = 0x8004D01D;
  2242. //public const uint XACT_E_REENLISTTIMEOUT = 0x8004D01E;
  2243. //public const uint XACT_E_TIP_CONNECT_FAILED = 0x8004D01F;
  2244. //public const uint XACT_E_TIP_PROTOCOL_ERROR = 0x8004D020;
  2245. //public const uint XACT_E_TIP_PULL_FAILED = 0x8004D021;
  2246. //public const uint XACT_E_DEST_TMNOTAVAILABLE = 0x8004D022;
  2247. //public const uint XACT_E_TIP_DISABLED = 0x8004D023;
  2248. //public const uint XACT_E_NETWORK_TX_DISABLED = 0x8004D024;
  2249. //public const uint XACT_E_PARTNER_NETWORK_TX_DISABLED = 0x8004D025;
  2250. //public const uint XACT_E_XA_TX_DISABLED = 0x8004D026;
  2251. //public const uint XACT_E_UNABLE_TO_READ_DTC_CONFIG = 0x8004D027;
  2252. //public const uint XACT_E_UNABLE_TO_LOAD_DTC_PROXY = 0x8004D028;
  2253. //public const uint XACT_E_ABORTING = 0x8004D029;
  2254. //public const uint XACT_E_CLERKNOTFOUND = 0x8004D080;
  2255. //public const uint XACT_E_CLERKEXISTS = 0x8004D081;
  2256. //public const uint XACT_E_RECOVERYINPROGRESS = 0x8004D082;
  2257. //public const uint XACT_E_TRANSACTIONCLOSED = 0x8004D083;
  2258. //public const uint XACT_E_INVALIDLSN = 0x8004D084;
  2259. //public const uint XACT_E_REPLAYREQUEST = 0x8004D085;
  2260. //public const uint XACT_S_ASYNC = 0x0004D000;
  2261. //public const uint XACT_S_DEFECT = 0x0004D001;
  2262. //public const uint XACT_S_READONLY = 0x0004D002;
  2263. //public const uint XACT_S_SOMENORETAIN = 0x0004D003;
  2264. //public const uint XACT_S_OKINFORM = 0x0004D004;
  2265. //public const uint XACT_S_MADECHANGESCONTENT = 0x0004D005;
  2266. //public const uint XACT_S_MADECHANGESINFORM = 0x0004D006;
  2267. //public const uint XACT_S_ALLNORETAIN = 0x0004D007;
  2268. //public const uint XACT_S_ABORTING = 0x0004D008;
  2269. //public const uint XACT_S_SINGLEPHASE = 0x0004D009;
  2270. //public const uint XACT_S_LOCALLY_OK = 0x0004D00A;
  2271. //public const uint XACT_S_LASTRESOURCEMANAGER = 0x0004D010;
  2272. //public const uint CONTEXT_E_FIRST = 0x8004E000;
  2273. //public const uint CONTEXT_E_LAST = 0x8004E02F;
  2274. //public const uint CONTEXT_S_FIRST = 0x0004E000;
  2275. //public const uint CONTEXT_S_LAST = 0x0004E02F;
  2276. //public const uint CONTEXT_E_ABORTED = 0x8004E002;
  2277. //public const uint CONTEXT_E_ABORTING = 0x8004E003;
  2278. //public const uint CONTEXT_E_NOCONTEXT = 0x8004E004;
  2279. //public const uint CONTEXT_E_WOULD_DEADLOCK = 0x8004E005;
  2280. //public const uint CONTEXT_E_SYNCH_TIMEOUT = 0x8004E006;
  2281. //public const uint CONTEXT_E_OLDREF = 0x8004E007;
  2282. //public const uint CONTEXT_E_ROLENOTFOUND = 0x8004E00C;
  2283. //public const uint CONTEXT_E_TMNOTAVAILABLE = 0x8004E00F;
  2284. //public const uint CO_E_ACTIVATIONFAILED = 0x8004E021;
  2285. //public const uint CO_E_ACTIVATIONFAILED_EVENTLOGGED = 0x8004E022;
  2286. //public const uint CO_E_ACTIVATIONFAILED_CATALOGERROR = 0x8004E023;
  2287. //public const uint CO_E_ACTIVATIONFAILED_TIMEOUT = 0x8004E024;
  2288. //public const uint CO_E_INITIALIZATIONFAILED = 0x8004E025;
  2289. //public const uint CONTEXT_E_NOJIT = 0x8004E026;
  2290. //public const uint CONTEXT_E_NOTRANSACTION = 0x8004E027;
  2291. //public const uint CO_E_THREADINGMODEL_CHANGED = 0x8004E028;
  2292. //public const uint CO_E_NOIISINTRINSICS = 0x8004E029;
  2293. //public const uint CO_E_NOCOOKIES = 0x8004E02A;
  2294. //public const uint CO_E_DBERROR = 0x8004E02B;
  2295. //public const uint CO_E_NOTPOOLED = 0x8004E02C;
  2296. //public const uint CO_E_NOTCONSTRUCTED = 0x8004E02D;
  2297. //public const uint CO_E_NOSYNCHRONIZATION = 0x8004E02E;
  2298. //public const uint CO_E_ISOLEVELMISMATCH = 0x8004E02F;
  2299. //public const uint OLE_S_USEREG = 0x00040000;
  2300. //public const uint OLE_S_STATIC = 0x00040001;
  2301. //public const uint OLE_S_MAC_CLIPFORMAT = 0x00040002;
  2302. //public const uint DRAGDROP_S_DROP = 0x00040100;
  2303. //public const uint DRAGDROP_S_CANCEL = 0x00040101;
  2304. //public const uint DRAGDROP_S_USEDEFAULTCURSORS = 0x00040102;
  2305. //public const uint DATA_S_SAMEFORMATETC = 0x00040130;
  2306. //public const uint VIEW_S_ALREADY_FROZEN = 0x00040140;
  2307. //public const uint CACHE_S_FORMATETC_NOTSUPPORTED = 0x00040170;
  2308. //public const uint CACHE_S_SAMECACHE = 0x00040171;
  2309. //public const uint CACHE_S_SOMECACHES_NOTUPDATED = 0x00040172;
  2310. //public const uint OLEOBJ_S_INVALIDVERB = 0x00040180;
  2311. //public const uint OLEOBJ_S_CANNOT_DOVERB_NOW = 0x00040181;
  2312. //public const uint OLEOBJ_S_INVALIDHWND = 0x00040182;
  2313. //public const uint INPLACE_S_TRUNCATED = 0x000401A0;
  2314. //public const uint CONVERT10_S_NO_PRESENTATION = 0x000401C0;
  2315. //public const uint MK_S_REDUCED_TO_SELF = 0x000401E2;
  2316. //public const uint MK_S_ME = 0x000401E4;
  2317. //public const uint MK_S_HIM = 0x000401E5;
  2318. //public const uint MK_S_US = 0x000401E6;
  2319. //public const uint MK_S_MONIKERALREADYREGISTERED = 0x000401E7;
  2320. //public const uint SCHED_S_TASK_READY = 0x00041300;
  2321. //public const uint SCHED_S_TASK_RUNNING = 0x00041301;
  2322. //public const uint SCHED_S_TASK_DISABLED = 0x00041302;
  2323. //public const uint SCHED_S_TASK_HAS_NOT_RUN = 0x00041303;
  2324. //public const uint SCHED_S_TASK_NO_MORE_RUNS = 0x00041304;
  2325. //public const uint SCHED_S_TASK_NOT_SCHEDULED = 0x00041305;
  2326. //public const uint SCHED_S_TASK_TERMINATED = 0x00041306;
  2327. //public const uint SCHED_S_TASK_NO_VALID_TRIGGERS = 0x00041307;
  2328. //public const uint SCHED_S_EVENT_TRIGGER = 0x00041308;
  2329. //public const uint SCHED_E_TRIGGER_NOT_FOUND = 0x80041309;
  2330. //public const uint SCHED_E_TASK_NOT_READY = 0x8004130A;
  2331. //public const uint SCHED_E_TASK_NOT_RUNNING = 0x8004130B;
  2332. //public const uint SCHED_E_SERVICE_NOT_INSTALLED = 0x8004130C;
  2333. //public const uint SCHED_E_CANNOT_OPEN_TASK = 0x8004130D;
  2334. //public const uint SCHED_E_INVALID_TASK = 0x8004130E;
  2335. //public const uint SCHED_E_ACCOUNT_INFORMATION_NOT_SET = 0x8004130F;
  2336. //public const uint SCHED_E_ACCOUNT_NAME_NOT_FOUND = 0x80041310;
  2337. //public const uint SCHED_E_ACCOUNT_DBASE_CORRUPT = 0x80041311;
  2338. //public const uint SCHED_E_NO_SECURITY_SERVICES = 0x80041312;
  2339. //public const uint SCHED_E_UNKNOWN_OBJECT_VERSION = 0x80041313;
  2340. //public const uint SCHED_E_UNSUPPORTED_ACCOUNT_OPTION = 0x80041314;
  2341. //public const uint SCHED_E_SERVICE_NOT_RUNNING = 0x80041315;
  2342. //public const uint CO_E_CLASS_CREATE_FAILED = 0x80080001;
  2343. //public const uint CO_E_SCM_ERROR = 0x80080002;
  2344. //public const uint CO_E_SCM_RPC_FAILURE = 0x80080003;
  2345. //public const uint CO_E_BAD_PATH = 0x80080004;
  2346. //public const uint CO_E_SERVER_EXEC_FAILURE = 0x80080005;
  2347. //public const uint CO_E_OBJSRV_RPC_FAILURE = 0x80080006;
  2348. //public const uint MK_E_NO_NORMALIZED = 0x80080007;
  2349. //public const uint CO_E_SERVER_STOPPING = 0x80080008;
  2350. //public const uint MEM_E_INVALID_ROOT = 0x80080009;
  2351. //public const uint MEM_E_INVALID_LINK = 0x80080010;
  2352. //public const uint MEM_E_INVALID_SIZE = 0x80080011;
  2353. //public const uint CO_S_NOTALLINTERFACES = 0x00080012;
  2354. //public const uint CO_S_MACHINENAMENOTFOUND = 0x00080013;
  2355. //public const uint DISP_E_UNKNOWNINTERFACE = 0x80020001;
  2356. //public const uint DISP_E_MEMBERNOTFOUND = 0x80020003;
  2357. //public const uint DISP_E_PARAMNOTFOUND = 0x80020004;
  2358. //public const uint DISP_E_TYPEMISMATCH = 0x80020005;
  2359. //public const uint DISP_E_UNKNOWNNAME = 0x80020006;
  2360. //public const uint DISP_E_NONAMEDARGS = 0x80020007;
  2361. //public const uint DISP_E_BADVARTYPE = 0x80020008;
  2362. //public const uint DISP_E_EXCEPTION = 0x80020009;
  2363. //public const uint DISP_E_OVERFLOW = 0x8002000A;
  2364. //public const uint DISP_E_BADINDEX = 0x8002000B;
  2365. //public const uint DISP_E_UNKNOWNLCID = 0x8002000C;
  2366. //public const uint DISP_E_ARRAYISLOCKED = 0x8002000D;
  2367. //public const uint DISP_E_BADPARAMCOUNT = 0x8002000E;
  2368. //public const uint DISP_E_PARAMNOTOPTIONAL = 0x8002000F;
  2369. //public const uint DISP_E_BADCALLEE = 0x80020010;
  2370. //public const uint DISP_E_NOTACOLLECTION = 0x80020011;
  2371. //public const uint DISP_E_DIVBYZERO = 0x80020012;
  2372. //public const uint DISP_E_BUFFERTOOSMALL = 0x80020013;
  2373. //public const uint TYPE_E_BUFFERTOOSMALL = 0x80028016;
  2374. //public const uint TYPE_E_FIELDNOTFOUND = 0x80028017;
  2375. //public const uint TYPE_E_INVDATAREAD = 0x80028018;
  2376. //public const uint TYPE_E_UNSUPFORMAT = 0x80028019;
  2377. //public const uint TYPE_E_REGISTRYACCESS = 0x8002801C;
  2378. //public const uint TYPE_E_LIBNOTREGISTERED = 0x8002801D;
  2379. //public const uint TYPE_E_UNDEFINEDTYPE = 0x80028027;
  2380. //public const uint TYPE_E_QUALIFIEDNAMEDISALLOWED = 0x80028028;
  2381. //public const uint TYPE_E_INVALIDSTATE = 0x80028029;
  2382. //public const uint TYPE_E_WRONGTYPEKIND = 0x8002802A;
  2383. //public const uint TYPE_E_ELEMENTNOTFOUND = 0x8002802B;
  2384. //public const uint TYPE_E_AMBIGUOUSNAME = 0x8002802C;
  2385. //public const uint TYPE_E_NAMECONFLICT = 0x8002802D;
  2386. //public const uint TYPE_E_UNKNOWNLCID = 0x8002802E;
  2387. //public const uint TYPE_E_DLLFUNCTIONNOTFOUND = 0x8002802F;
  2388. //public const uint TYPE_E_BADMODULEKIND = 0x800288BD;
  2389. //public const uint TYPE_E_SIZETOOBIG = 0x800288C5;
  2390. //public const uint TYPE_E_DUPLICATEID = 0x800288C6;
  2391. //public const uint TYPE_E_INVALIDID = 0x800288CF;
  2392. //public const uint TYPE_E_TYPEMISMATCH = 0x80028CA0;
  2393. //public const uint TYPE_E_OUTOFBOUNDS = 0x80028CA1;
  2394. //public const uint TYPE_E_IOERROR = 0x80028CA2;
  2395. //public const uint TYPE_E_CANTCREATETMPFILE = 0x80028CA3;
  2396. //public const uint TYPE_E_CANTLOADLIBRARY = 0x80029C4A;
  2397. //public const uint TYPE_E_INCONSISTENTPROPFUNCS = 0x80029C83;
  2398. //public const uint TYPE_E_CIRCULARTYPE = 0x80029C84;
  2399. //public const uint STG_E_INVALIDFUNCTION = 0x80030001;
  2400. //public const uint STG_E_FILENOTFOUND = 0x80030002;
  2401. //public const uint STG_E_PATHNOTFOUND = 0x80030003;
  2402. //public const uint STG_E_TOOMANYOPENFILES = 0x80030004;
  2403. //public const uint STG_E_ACCESSDENIED = 0x80030005;
  2404. //public const uint STG_E_INVALIDHANDLE = 0x80030006;
  2405. //public const uint STG_E_INSUFFICIENTMEMORY = 0x80030008;
  2406. //public const uint STG_E_INVALIDPOINTER = 0x80030009;
  2407. //public const uint STG_E_NOMOREFILES = 0x80030012;
  2408. //public const uint STG_E_DISKISWRITEPROTECTED = 0x80030013;
  2409. //public const uint STG_E_SEEKERROR = 0x80030019;
  2410. //public const uint STG_E_WRITEFAULT = 0x8003001D;
  2411. //public const uint STG_E_READFAULT = 0x8003001E;
  2412. //public const uint STG_E_SHAREVIOLATION = 0x80030020;
  2413. //public const uint STG_E_LOCKVIOLATION = 0x80030021;
  2414. //public const uint STG_E_FILEALREADYEXISTS = 0x80030050;
  2415. //public const uint STG_E_INVALIDPARAMETER = 0x80030057;
  2416. //public const uint STG_E_MEDIUMFULL = 0x80030070;
  2417. //public const uint STG_E_PROPSETMISMATCHED = 0x800300F0;
  2418. //public const uint STG_E_ABNORMALAPIEXIT = 0x800300FA;
  2419. //public const uint STG_E_INVALIDHEADER = 0x800300FB;
  2420. //public const uint STG_E_INVALIDNAME = 0x800300FC;
  2421. //public const uint STG_E_UNKNOWN = 0x800300FD;
  2422. //public const uint STG_E_UNIMPLEMENTEDFUNCTION = 0x800300FE;
  2423. //public const uint STG_E_INVALIDFLAG = 0x800300FF;
  2424. //public const uint STG_E_INUSE = 0x80030100;
  2425. //public const uint STG_E_NOTCURRENT = 0x80030101;
  2426. //public const uint STG_E_REVERTED = 0x80030102;
  2427. //public const uint STG_E_CANTSAVE = 0x80030103;
  2428. //public const uint STG_E_OLDFORMAT = 0x80030104;
  2429. //public const uint STG_E_OLDDLL = 0x80030105;
  2430. //public const uint STG_E_SHAREREQUIRED = 0x80030106;
  2431. //public const uint STG_E_NOTFILEBASEDSTORAGE = 0x80030107;
  2432. //public const uint STG_E_EXTANTMARSHALLINGS = 0x80030108;
  2433. //public const uint STG_E_DOCFILECORRUPT = 0x80030109;
  2434. //public const uint STG_E_BADBASEADDRESS = 0x80030110;
  2435. //public const uint STG_E_DOCFILETOOLARGE = 0x80030111;
  2436. //public const uint STG_E_NOTSIMPLEFORMAT = 0x80030112;
  2437. //public const uint STG_E_INCOMPLETE = 0x80030201;
  2438. //public const uint STG_E_TERMINATED = 0x80030202;
  2439. //public const uint STG_S_CONVERTED = 0x00030200;
  2440. //public const uint STG_S_BLOCK = 0x00030201;
  2441. //public const uint STG_S_RETRYNOW = 0x00030202;
  2442. //public const uint STG_S_MONITORING = 0x00030203;
  2443. //public const uint STG_S_MULTIPLEOPENS = 0x00030204;
  2444. //public const uint STG_S_CONSOLIDATIONFAILED = 0x00030205;
  2445. //public const uint STG_S_CANNOTCONSOLIDATE = 0x00030206;
  2446. //public const uint STG_E_STATUS_COPY_PROTECTION_FAILURE = 0x80030305;
  2447. //public const uint STG_E_CSS_AUTHENTICATION_FAILURE = 0x80030306;
  2448. //public const uint STG_E_CSS_KEY_NOT_PRESENT = 0x80030307;
  2449. //public const uint STG_E_CSS_KEY_NOT_ESTABLISHED = 0x80030308;
  2450. //public const uint STG_E_CSS_SCRAMBLED_SECTOR = 0x80030309;
  2451. //public const uint STG_E_CSS_REGION_MISMATCH = 0x8003030A;
  2452. //public const uint STG_E_RESETS_EXHAUSTED = 0x8003030B;
  2453. //public const uint RPC_E_CALL_REJECTED = 0x80010001;
  2454. //public const uint RPC_E_CALL_CANCELED = 0x80010002;
  2455. //public const uint RPC_E_CANTPOST_INSENDCALL = 0x80010003;
  2456. //public const uint RPC_E_CANTCALLOUT_INASYNCCALL = 0x80010004;
  2457. //public const uint RPC_E_CANTCALLOUT_INEXTERNALCALL = 0x80010005;
  2458. //public const uint RPC_E_CONNECTION_TERMINATED = 0x80010006;
  2459. //public const uint RPC_E_SERVER_DIED = 0x80010007;
  2460. //public const uint RPC_E_CLIENT_DIED = 0x80010008;
  2461. //public const uint RPC_E_INVALID_DATAPACKET = 0x80010009;
  2462. //public const uint RPC_E_CANTTRANSMIT_CALL = 0x8001000A;
  2463. //public const uint RPC_E_CLIENT_CANTMARSHAL_DATA = 0x8001000B;
  2464. //public const uint RPC_E_CLIENT_CANTUNMARSHAL_DATA = 0x8001000C;
  2465. //public const uint RPC_E_SERVER_CANTMARSHAL_DATA = 0x8001000D;
  2466. //public const uint RPC_E_SERVER_CANTUNMARSHAL_DATA = 0x8001000E;
  2467. //public const uint RPC_E_INVALID_DATA = 0x8001000F;
  2468. //public const uint RPC_E_INVALID_PARAMETER = 0x80010010;
  2469. //public const uint RPC_E_CANTCALLOUT_AGAIN = 0x80010011;
  2470. //public const uint RPC_E_SERVER_DIED_DNE = 0x80010012;
  2471. //public const uint RPC_E_SYS_CALL_FAILED = 0x80010100;
  2472. //public const uint RPC_E_OUT_OF_RESOURCES = 0x80010101;
  2473. //public const uint RPC_E_ATTEMPTED_MULTITHREAD = 0x80010102;
  2474. //public const uint RPC_E_NOT_REGISTERED = 0x80010103;
  2475. //public const uint RPC_E_FAULT = 0x80010104;
  2476. //public const uint RPC_E_SERVERFAULT = 0x80010105;
  2477. //public const uint RPC_E_CHANGED_MODE = 0x80010106;
  2478. //public const uint RPC_E_INVALIDMETHOD = 0x80010107;
  2479. //public const uint RPC_E_DISCONNECTED = 0x80010108;
  2480. //public const uint RPC_E_RETRY = 0x80010109;
  2481. //public const uint RPC_E_SERVERCALL_RETRYLATER = 0x8001010A;
  2482. //public const uint RPC_E_SERVERCALL_REJECTED = 0x8001010B;
  2483. //public const uint RPC_E_INVALID_CALLDATA = 0x8001010C;
  2484. //public const uint RPC_E_CANTCALLOUT_ININPUTSYNCCALL = 0x8001010D;
  2485. //public const uint RPC_E_WRONG_THREAD = 0x8001010E;
  2486. //public const uint RPC_E_THREAD_NOT_INIT = 0x8001010F;
  2487. //public const uint RPC_E_VERSION_MISMATCH = 0x80010110;
  2488. //public const uint RPC_E_INVALID_HEADER = 0x80010111;
  2489. //public const uint RPC_E_INVALID_EXTENSION = 0x80010112;
  2490. //public const uint RPC_E_INVALID_IPID = 0x80010113;
  2491. //public const uint RPC_E_INVALID_OBJECT = 0x80010114;
  2492. //public const uint RPC_S_CALLPENDING = 0x80010115;
  2493. //public const uint RPC_S_WAITONTIMER = 0x80010116;
  2494. //public const uint RPC_E_CALL_COMPLETE = 0x80010117;
  2495. //public const uint RPC_E_UNSECURE_CALL = 0x80010118;
  2496. //public const uint RPC_E_TOO_LATE = 0x80010119;
  2497. //public const uint RPC_E_NO_GOOD_SECURITY_PACKAGES = 0x8001011A;
  2498. //public const uint RPC_E_ACCESS_DENIED = 0x8001011B;
  2499. //public const uint RPC_E_REMOTE_DISABLED = 0x8001011C;
  2500. //public const uint RPC_E_INVALID_OBJREF = 0x8001011D;
  2501. //public const uint RPC_E_NO_CONTEXT = 0x8001011E;
  2502. //public const uint RPC_E_TIMEOUT = 0x8001011F;
  2503. //public const uint RPC_E_NO_SYNC = 0x80010120;
  2504. //public const uint RPC_E_FULLSIC_REQUIRED = 0x80010121;
  2505. //public const uint RPC_E_INVALID_STD_NAME = 0x80010122;
  2506. //public const uint CO_E_FAILEDTOIMPERSONATE = 0x80010123;
  2507. //public const uint CO_E_FAILEDTOGETSECCTX = 0x80010124;
  2508. //public const uint CO_E_FAILEDTOOPENTHREADTOKEN = 0x80010125;
  2509. //public const uint CO_E_FAILEDTOGETTOKENINFO = 0x80010126;
  2510. //public const uint CO_E_TRUSTEEDOESNTMATCHCLIENT = 0x80010127;
  2511. //public const uint CO_E_FAILEDTOQUERYCLIENTBLANKET = 0x80010128;
  2512. //public const uint CO_E_FAILEDTOSETDACL = 0x80010129;
  2513. //public const uint CO_E_ACCESSCHECKFAILED = 0x8001012A;
  2514. //public const uint CO_E_NETACCESSAPIFAILED = 0x8001012B;
  2515. //public const uint CO_E_WRONGTRUSTEENAMESYNTAX = 0x8001012C;
  2516. //public const uint CO_E_INVALIDSID = 0x8001012D;
  2517. //public const uint CO_E_CONVERSIONFAILED = 0x8001012E;
  2518. //public const uint CO_E_NOMATCHINGSIDFOUND = 0x8001012F;
  2519. //public const uint CO_E_LOOKUPACCSIDFAILED = 0x80010130;
  2520. //public const uint CO_E_NOMATCHINGNAMEFOUND = 0x80010131;
  2521. //public const uint CO_E_LOOKUPACCNAMEFAILED = 0x80010132;
  2522. //public const uint CO_E_SETSERLHNDLFAILED = 0x80010133;
  2523. //public const uint CO_E_FAILEDTOGETWINDIR = 0x80010134;
  2524. //public const uint CO_E_PATHTOOLONG = 0x80010135;
  2525. //public const uint CO_E_FAILEDTOGENUUID = 0x80010136;
  2526. //public const uint CO_E_FAILEDTOCREATEFILE = 0x80010137;
  2527. //public const uint CO_E_FAILEDTOCLOSEHANDLE = 0x80010138;
  2528. //public const uint CO_E_EXCEEDSYSACLLIMIT = 0x80010139;
  2529. //public const uint CO_E_ACESINWRONGORDER = 0x8001013A;
  2530. //public const uint CO_E_INCOMPATIBLESTREAMVERSION = 0x8001013B;
  2531. //public const uint CO_E_FAILEDTOOPENPROCESSTOKEN = 0x8001013C;
  2532. //public const uint CO_E_DECODEFAILED = 0x8001013D;
  2533. //public const uint CO_E_ACNOTINITIALIZED = 0x8001013F;
  2534. //public const uint CO_E_CANCEL_DISABLED = 0x80010140;
  2535. //public const uint RPC_E_UNEXPECTED = 0x8001FFFF;
  2536. //public const uint ERROR_AUDITING_DISABLED = 0xC0090001;
  2537. //public const uint ERROR_ALL_SIDS_FILTERED = 0xC0090002;
  2538. //public const uint NTE_BAD_UID = 0x80090001;
  2539. //public const uint NTE_BAD_HASH = 0x80090002;
  2540. //public const uint NTE_BAD_KEY = 0x80090003;
  2541. //public const uint NTE_BAD_LEN = 0x80090004;
  2542. //public const uint NTE_BAD_DATA = 0x80090005;
  2543. //public const uint NTE_BAD_SIGNATURE = 0x80090006;
  2544. //public const uint NTE_BAD_VER = 0x80090007;
  2545. //public const uint NTE_BAD_ALGID = 0x80090008;
  2546. //public const uint NTE_BAD_FLAGS = 0x80090009;
  2547. //public const uint NTE_BAD_TYPE = 0x8009000A;
  2548. //public const uint NTE_BAD_KEY_STATE = 0x8009000B;
  2549. //public const uint NTE_BAD_HASH_STATE = 0x8009000C;
  2550. //public const uint NTE_NO_KEY = 0x8009000D;
  2551. //public const uint NTE_NO_MEMORY = 0x8009000E;
  2552. //public const uint NTE_EXISTS = 0x8009000F;
  2553. //public const uint NTE_PERM = 0x80090010;
  2554. //public const uint NTE_NOT_FOUND = 0x80090011;
  2555. //public const uint NTE_DOUBLE_ENCRYPT = 0x80090012;
  2556. //public const uint NTE_BAD_PROVIDER = 0x80090013;
  2557. //public const uint NTE_BAD_PROV_TYPE = 0x80090014;
  2558. //public const uint NTE_BAD_PUBLIC_KEY = 0x80090015;
  2559. //public const uint NTE_BAD_KEYSET = 0x80090016;
  2560. //public const uint NTE_PROV_TYPE_NOT_DEF = 0x80090017;
  2561. //public const uint NTE_PROV_TYPE_ENTRY_BAD = 0x80090018;
  2562. //public const uint NTE_KEYSET_NOT_DEF = 0x80090019;
  2563. //public const uint NTE_KEYSET_ENTRY_BAD = 0x8009001A;
  2564. //public const uint NTE_PROV_TYPE_NO_MATCH = 0x8009001B;
  2565. //public const uint NTE_SIGNATURE_FILE_BAD = 0x8009001C;
  2566. //public const uint NTE_PROVIDER_DLL_FAIL = 0x8009001D;
  2567. //public const uint NTE_PROV_DLL_NOT_FOUND = 0x8009001E;
  2568. //public const uint NTE_BAD_KEYSET_PARAM = 0x8009001F;
  2569. //public const uint NTE_FAIL = 0x80090020;
  2570. //public const uint NTE_SYS_ERR = 0x80090021;
  2571. //public const uint NTE_SILENT_CONTEXT = 0x80090022;
  2572. //public const uint NTE_TOKEN_KEYSET_STORAGE_FULL = 0x80090023;
  2573. //public const uint NTE_TEMPORARY_PROFILE = 0x80090024;
  2574. //public const uint NTE_FIXEDPARAMETER = 0x80090025;
  2575. //public const uint SEC_E_INSUFFICIENT_MEMORY = 0x80090300;
  2576. //public const uint SEC_E_INVALID_HANDLE = 0x80090301;
  2577. //public const uint SEC_E_UNSUPPORTED_FUNCTION = 0x80090302;
  2578. //public const uint SEC_E_TARGET_UNKNOWN = 0x80090303;
  2579. //public const uint SEC_E_INTERNAL_ERROR = 0x80090304;
  2580. //public const uint SEC_E_SECPKG_NOT_FOUND = 0x80090305;
  2581. //public const uint SEC_E_NOT_OWNER = 0x80090306;
  2582. //public const uint SEC_E_CANNOT_INSTALL = 0x80090307;
  2583. //public const uint SEC_E_INVALID_TOKEN = 0x80090308;
  2584. //public const uint SEC_E_CANNOT_PACK = 0x80090309;
  2585. //public const uint SEC_E_QOP_NOT_SUPPORTED = 0x8009030A;
  2586. //public const uint SEC_E_NO_IMPERSONATION = 0x8009030B;
  2587. //public const uint SEC_E_LOGON_DENIED = 0x8009030C;
  2588. //public const uint SEC_E_UNKNOWN_CREDENTIALS = 0x8009030D;
  2589. //public const uint SEC_E_NO_CREDENTIALS = 0x8009030E;
  2590. //public const uint SEC_E_MESSAGE_ALTERED = 0x8009030F;
  2591. //public const uint SEC_E_OUT_OF_SEQUENCE = 0x80090310;
  2592. //public const uint SEC_E_NO_AUTHENTICATING_AUTHORITY = 0x80090311;
  2593. //public const uint SEC_I_CONTINUE_NEEDED = 0x00090312;
  2594. //public const uint SEC_I_COMPLETE_NEEDED = 0x00090313;
  2595. //public const uint SEC_I_COMPLETE_AND_CONTINUE = 0x00090314;
  2596. //public const uint SEC_I_LOCAL_LOGON = 0x00090315;
  2597. //public const uint SEC_E_BAD_PKGID = 0x80090316;
  2598. //public const uint SEC_E_CONTEXT_EXPIRED = 0x80090317;
  2599. //public const uint SEC_I_CONTEXT_EXPIRED = 0x00090317;
  2600. //public const uint SEC_E_INCOMPLETE_MESSAGE = 0x80090318;
  2601. //public const uint SEC_E_INCOMPLETE_CREDENTIALS = 0x80090320;
  2602. //public const uint SEC_E_BUFFER_TOO_SMALL = 0x80090321;
  2603. //public const uint SEC_I_INCOMPLETE_CREDENTIALS = 0x00090320;
  2604. //public const uint SEC_I_RENEGOTIATE = 0x00090321;
  2605. //public const uint SEC_E_WRONG_PRINCIPAL = 0x80090322;
  2606. //public const uint SEC_I_NO_LSA_CONTEXT = 0x00090323;
  2607. //public const uint SEC_E_TIME_SKEW = 0x80090324;
  2608. //public const uint SEC_E_UNTRUSTED_ROOT = 0x80090325;
  2609. //public const uint SEC_E_ILLEGAL_MESSAGE = 0x80090326;
  2610. //public const uint SEC_E_CERT_UNKNOWN = 0x80090327;
  2611. //public const uint SEC_E_CERT_EXPIRED = 0x80090328;
  2612. //public const uint SEC_E_ENCRYPT_FAILURE = 0x80090329;
  2613. //public const uint SEC_E_DECRYPT_FAILURE = 0x80090330;
  2614. //public const uint SEC_E_ALGORITHM_MISMATCH = 0x80090331;
  2615. //public const uint SEC_E_SECURITY_QOS_FAILED = 0x80090332;
  2616. //public const uint SEC_E_UNFINISHED_CONTEXT_DELETED = 0x80090333;
  2617. //public const uint SEC_E_NO_TGT_REPLY = 0x80090334;
  2618. //public const uint SEC_E_NO_IP_ADDRESSES = 0x80090335;
  2619. //public const uint SEC_E_WRONG_CREDENTIAL_HANDLE = 0x80090336;
  2620. //public const uint SEC_E_CRYPTO_SYSTEM_INVALID = 0x80090337;
  2621. //public const uint SEC_E_MAX_REFERRALS_EXCEEDED = 0x80090338;
  2622. //public const uint SEC_E_MUST_BE_KDC = 0x80090339;
  2623. //public const uint SEC_E_STRONG_CRYPTO_NOT_SUPPORTED = 0x8009033A;
  2624. //public const uint SEC_E_TOO_MANY_PRINCIPALS = 0x8009033B;
  2625. //public const uint SEC_E_NO_PA_DATA = 0x8009033C;
  2626. //public const uint SEC_E_PKINIT_NAME_MISMATCH = 0x8009033D;
  2627. //public const uint SEC_E_SMARTCARD_LOGON_REQUIRED = 0x8009033E;
  2628. //public const uint SEC_E_SHUTDOWN_IN_PROGRESS = 0x8009033F;
  2629. //public const uint SEC_E_KDC_INVALID_REQUEST = 0x80090340;
  2630. //public const uint SEC_E_KDC_UNABLE_TO_REFER = 0x80090341;
  2631. //public const uint SEC_E_KDC_UNKNOWN_ETYPE = 0x80090342;
  2632. //public const uint SEC_E_UNSUPPORTED_PREAUTH = 0x80090343;
  2633. //public const uint SEC_E_DELEGATION_REQUIRED = 0x80090345;
  2634. //public const uint SEC_E_BAD_BINDINGS = 0x80090346;
  2635. //public const uint SEC_E_MULTIPLE_ACCOUNTS = 0x80090347;
  2636. //public const uint SEC_E_NO_KERB_KEY = 0x80090348;
  2637. //public const uint SEC_E_CERT_WRONG_USAGE = 0x80090349;
  2638. //public const uint SEC_E_DOWNGRADE_DETECTED = 0x80090350;
  2639. //public const uint SEC_E_SMARTCARD_CERT_REVOKED = 0x80090351;
  2640. //public const uint SEC_E_ISSUING_CA_UNTRUSTED = 0x80090352;
  2641. //public const uint SEC_E_REVOCATION_OFFLINE_C = 0x80090353;
  2642. //public const uint SEC_E_PKINIT_CLIENT_FAILURE = 0x80090354;
  2643. //public const uint SEC_E_SMARTCARD_CERT_EXPIRED = 0x80090355;
  2644. //public const uint SEC_E_NO_S4U_PROT_SUPPORT = 0x80090356;
  2645. //public const uint SEC_E_CROSSREALM_DELEGATION_FAILURE = 0x80090357;
  2646. //public const uint SEC_E_REVOCATION_OFFLINE_KDC = 0x80090358;
  2647. //public const uint SEC_E_ISSUING_CA_UNTRUSTED_KDC = 0x80090359;
  2648. //public const uint SEC_E_KDC_CERT_EXPIRED = 0x8009035A;
  2649. //public const uint SEC_E_KDC_CERT_REVOKED = 0x8009035B;
  2650. //public const uint SEC_E_NO_SPM = SEC_E_INTERNAL_ERROR;
  2651. //public const uint SEC_E_NOT_SUPPORTED = SEC_E_UNSUPPORTED_FUNCTION;
  2652. //public const uint CRYPT_E_MSG_ERROR = 0x80091001;
  2653. //public const uint CRYPT_E_UNKNOWN_ALGO = 0x80091002;
  2654. //public const uint CRYPT_E_OID_FORMAT = 0x80091003;
  2655. //public const uint CRYPT_E_INVALID_MSG_TYPE = 0x80091004;
  2656. //public const uint CRYPT_E_UNEXPECTED_ENCODING = 0x80091005;
  2657. //public const uint CRYPT_E_AUTH_ATTR_MISSING = 0x80091006;
  2658. //public const uint CRYPT_E_HASH_VALUE = 0x80091007;
  2659. //public const uint CRYPT_E_INVALID_INDEX = 0x80091008;
  2660. //public const uint CRYPT_E_ALREADY_DECRYPTED = 0x80091009;
  2661. //public const uint CRYPT_E_NOT_DECRYPTED = 0x8009100A;
  2662. //public const uint CRYPT_E_RECIPIENT_NOT_FOUND = 0x8009100B;
  2663. //public const uint CRYPT_E_CONTROL_TYPE = 0x8009100C;
  2664. //public const uint CRYPT_E_ISSUER_SERIALNUMBER = 0x8009100D;
  2665. //public const uint CRYPT_E_SIGNER_NOT_FOUND = 0x8009100E;
  2666. //public const uint CRYPT_E_ATTRIBUTES_MISSING = 0x8009100F;
  2667. //public const uint CRYPT_E_STREAM_MSG_NOT_READY = 0x80091010;
  2668. //public const uint CRYPT_E_STREAM_INSUFFICIENT_DATA = 0x80091011;
  2669. //public const uint CRYPT_I_NEW_PROTECTION_REQUIRED = 0x00091012;
  2670. //public const uint CRYPT_E_BAD_LEN = 0x80092001;
  2671. //public const uint CRYPT_E_BAD_ENCODE = 0x80092002;
  2672. //public const uint CRYPT_E_FILE_ERROR = 0x80092003;
  2673. //public const uint CRYPT_E_NOT_FOUND = 0x80092004;
  2674. //public const uint CRYPT_E_EXISTS = 0x80092005;
  2675. //public const uint CRYPT_E_NO_PROVIDER = 0x80092006;
  2676. //public const uint CRYPT_E_SELF_SIGNED = 0x80092007;
  2677. //public const uint CRYPT_E_DELETED_PREV = 0x80092008;
  2678. //public const uint CRYPT_E_NO_MATCH = 0x80092009;
  2679. //public const uint CRYPT_E_UNEXPECTED_MSG_TYPE = 0x8009200A;
  2680. //public const uint CRYPT_E_NO_KEY_PROPERTY = 0x8009200B;
  2681. //public const uint CRYPT_E_NO_DECRYPT_CERT = 0x8009200C;
  2682. //public const uint CRYPT_E_BAD_MSG = 0x8009200D;
  2683. //public const uint CRYPT_E_NO_SIGNER = 0x8009200E;
  2684. //public const uint CRYPT_E_PENDING_CLOSE = 0x8009200F;
  2685. //public const uint CRYPT_E_REVOKED = 0x80092010;
  2686. //public const uint CRYPT_E_NO_REVOCATION_DLL = 0x80092011;
  2687. //public const uint CRYPT_E_NO_REVOCATION_CHECK = 0x80092012;
  2688. //public const uint CRYPT_E_REVOCATION_OFFLINE = 0x80092013;
  2689. //public const uint CRYPT_E_NOT_IN_REVOCATION_DATABASE = 0x80092014;
  2690. //public const uint CRYPT_E_INVALID_NUMERIC_STRING = 0x80092020;
  2691. //public const uint CRYPT_E_INVALID_PRINTABLE_STRING = 0x80092021;
  2692. //public const uint CRYPT_E_INVALID_IA5_STRING = 0x80092022;
  2693. //public const uint CRYPT_E_INVALID_X500_STRING = 0x80092023;
  2694. //public const uint CRYPT_E_NOT_CHAR_STRING = 0x80092024;
  2695. //public const uint CRYPT_E_FILERESIZED = 0x80092025;
  2696. //public const uint CRYPT_E_SECURITY_SETTINGS = 0x80092026;
  2697. //public const uint CRYPT_E_NO_VERIFY_USAGE_DLL = 0x80092027;
  2698. //public const uint CRYPT_E_NO_VERIFY_USAGE_CHECK = 0x80092028;
  2699. //public const uint CRYPT_E_VERIFY_USAGE_OFFLINE = 0x80092029;
  2700. //public const uint CRYPT_E_NOT_IN_CTL = 0x8009202A;
  2701. //public const uint CRYPT_E_NO_TRUSTED_SIGNER = 0x8009202B;
  2702. //public const uint CRYPT_E_MISSING_PUBKEY_PARA = 0x8009202C;
  2703. //public const uint CRYPT_E_OSS_ERROR = 0x80093000;
  2704. //public const uint OSS_MORE_BUF = 0x80093001;
  2705. //public const uint OSS_NEGATIVE_longEGER = 0x80093002;
  2706. //public const uint OSS_PDU_RANGE = 0x80093003;
  2707. //public const uint OSS_MORE_INPUT = 0x80093004;
  2708. //public const uint OSS_DATA_ERROR = 0x80093005;
  2709. //public const uint OSS_BAD_ARG = 0x80093006;
  2710. //public const uint OSS_BAD_VERSION = 0x80093007;
  2711. //public const uint OSS_OUT_MEMORY = 0x80093008;
  2712. //public const uint OSS_PDU_MISMATCH = 0x80093009;
  2713. //public const uint OSS_LIMITED = 0x8009300A;
  2714. //public const uint OSS_BAD_PTR = 0x8009300B;
  2715. //public const uint OSS_BAD_TIME = 0x8009300C;
  2716. //public const uint OSS_INDEFINITE_NOT_SUPPORTED = 0x8009300D;
  2717. //public const uint OSS_MEM_ERROR = 0x8009300E;
  2718. //public const uint OSS_BAD_TABLE = 0x8009300F;
  2719. //public const uint OSS_TOO_LONG = 0x80093010;
  2720. //public const uint OSS_CONSTRAINT_VIOLATED = 0x80093011;
  2721. //public const uint OSS_FATAL_ERROR = 0x80093012;
  2722. //public const uint OSS_ACCESS_SERIALIZATION_ERROR = 0x80093013;
  2723. //public const uint OSS_NULL_TBL = 0x80093014;
  2724. //public const uint OSS_NULL_FCN = 0x80093015;
  2725. //public const uint OSS_BAD_ENCRULES = 0x80093016;
  2726. //public const uint OSS_UNAVAIL_ENCRULES = 0x80093017;
  2727. //public const uint OSS_CANT_OPEN_TRACE_WINDOW = 0x80093018;
  2728. //public const uint OSS_UNIMPLEMENTED = 0x80093019;
  2729. //public const uint OSS_OID_DLL_NOT_LINKED = 0x8009301A;
  2730. //public const uint OSS_CANT_OPEN_TRACE_FILE = 0x8009301B;
  2731. //public const uint OSS_TRACE_FILE_ALREADY_OPEN = 0x8009301C;
  2732. //public const uint OSS_TABLE_MISMATCH = 0x8009301D;
  2733. //public const uint OSS_TYPE_NOT_SUPPORTED = 0x8009301E;
  2734. //public const uint OSS_REAL_DLL_NOT_LINKED = 0x8009301F;
  2735. //public const uint OSS_REAL_CODE_NOT_LINKED = 0x80093020;
  2736. //public const uint OSS_OUT_OF_RANGE = 0x80093021;
  2737. //public const uint OSS_COPIER_DLL_NOT_LINKED = 0x80093022;
  2738. //public const uint OSS_CONSTRAINT_DLL_NOT_LINKED = 0x80093023;
  2739. //public const uint OSS_COMPARATOR_DLL_NOT_LINKED = 0x80093024;
  2740. //public const uint OSS_COMPARATOR_CODE_NOT_LINKED = 0x80093025;
  2741. //public const uint OSS_MEM_MGR_DLL_NOT_LINKED = 0x80093026;
  2742. //public const uint OSS_PDV_DLL_NOT_LINKED = 0x80093027;
  2743. //public const uint OSS_PDV_CODE_NOT_LINKED = 0x80093028;
  2744. //public const uint OSS_API_DLL_NOT_LINKED = 0x80093029;
  2745. //public const uint OSS_BERDER_DLL_NOT_LINKED = 0x8009302A;
  2746. //public const uint OSS_PER_DLL_NOT_LINKED = 0x8009302B;
  2747. //public const uint OSS_OPEN_TYPE_ERROR = 0x8009302C;
  2748. //public const uint OSS_MUTEX_NOT_CREATED = 0x8009302D;
  2749. //public const uint OSS_CANT_CLOSE_TRACE_FILE = 0x8009302E;
  2750. //public const uint CRYPT_E_ASN1_ERROR = 0x80093100;
  2751. //public const uint CRYPT_E_ASN1_INTERNAL = 0x80093101;
  2752. //public const uint CRYPT_E_ASN1_EOD = 0x80093102;
  2753. //public const uint CRYPT_E_ASN1_CORRUPT = 0x80093103;
  2754. //public const uint CRYPT_E_ASN1_LARGE = 0x80093104;
  2755. //public const uint CRYPT_E_ASN1_CONSTRAINT = 0x80093105;
  2756. //public const uint CRYPT_E_ASN1_MEMORY = 0x80093106;
  2757. //public const uint CRYPT_E_ASN1_OVERFLOW = 0x80093107;
  2758. //public const uint CRYPT_E_ASN1_BADPDU = 0x80093108;
  2759. //public const uint CRYPT_E_ASN1_BADARGS = 0x80093109;
  2760. //public const uint CRYPT_E_ASN1_BADREAL = 0x8009310A;
  2761. //public const uint CRYPT_E_ASN1_BADTAG = 0x8009310B;
  2762. //public const uint CRYPT_E_ASN1_CHOICE = 0x8009310C;
  2763. //public const uint CRYPT_E_ASN1_RULE = 0x8009310D;
  2764. //public const uint CRYPT_E_ASN1_UTF8 = 0x8009310E;
  2765. //public const uint CRYPT_E_ASN1_PDU_TYPE = 0x80093133;
  2766. //public const uint CRYPT_E_ASN1_NYI = 0x80093134;
  2767. //public const uint CRYPT_E_ASN1_EXTENDED = 0x80093201;
  2768. //public const uint CRYPT_E_ASN1_NOEOD = 0x80093202;
  2769. //public const uint CERTSRV_E_BAD_REQUESTSUBJECT = 0x80094001;
  2770. //public const uint CERTSRV_E_NO_REQUEST = 0x80094002;
  2771. //public const uint CERTSRV_E_BAD_REQUESTSTATUS = 0x80094003;
  2772. //public const uint CERTSRV_E_PROPERTY_EMPTY = 0x80094004;
  2773. //public const uint CERTSRV_E_INVALID_CA_CERTIFICATE = 0x80094005;
  2774. //public const uint CERTSRV_E_SERVER_SUSPENDED = 0x80094006;
  2775. //public const uint CERTSRV_E_ENCODING_LENGTH = 0x80094007;
  2776. //public const uint CERTSRV_E_ROLECONFLICT = 0x80094008;
  2777. //public const uint CERTSRV_E_RESTRICTEDOFFICER = 0x80094009;
  2778. //public const uint CERTSRV_E_KEY_ARCHIVAL_NOT_CONFIGURED = 0x8009400A;
  2779. //public const uint CERTSRV_E_NO_VALID_KRA = 0x8009400B;
  2780. //public const uint CERTSRV_E_BAD_REQUEST_KEY_ARCHIVAL = 0x8009400C;
  2781. //public const uint CERTSRV_E_NO_CAADMIN_DEFINED = 0x8009400D;
  2782. //public const uint CERTSRV_E_BAD_RENEWAL_CERT_ATTRIBUTE = 0x8009400E;
  2783. //public const uint CERTSRV_E_NO_DB_SESSIONS = 0x8009400F;
  2784. //public const uint CERTSRV_E_ALIGNMENT_FAULT = 0x80094010;
  2785. //public const uint CERTSRV_E_ENROLL_DENIED = 0x80094011;
  2786. //public const uint CERTSRV_E_TEMPLATE_DENIED = 0x80094012;
  2787. //public const uint CERTSRV_E_DOWNLEVEL_DC_SSL_OR_UPGRADE = 0x80094013;
  2788. //public const uint CERTSRV_E_UNSUPPORTED_CERT_TYPE = 0x80094800;
  2789. //public const uint CERTSRV_E_NO_CERT_TYPE = 0x80094801;
  2790. //public const uint CERTSRV_E_TEMPLATE_CONFLICT = 0x80094802;
  2791. //public const uint CERTSRV_E_SUBJECT_ALT_NAME_REQUIRED = 0x80094803;
  2792. //public const uint CERTSRV_E_ARCHIVED_KEY_REQUIRED = 0x80094804;
  2793. //public const uint CERTSRV_E_SMIME_REQUIRED = 0x80094805;
  2794. //public const uint CERTSRV_E_BAD_RENEWAL_SUBJECT = 0x80094806;
  2795. //public const uint CERTSRV_E_BAD_TEMPLATE_VERSION = 0x80094807;
  2796. //public const uint CERTSRV_E_TEMPLATE_POLICY_REQUIRED = 0x80094808;
  2797. //public const uint CERTSRV_E_SIGNATURE_POLICY_REQUIRED = 0x80094809;
  2798. //public const uint CERTSRV_E_SIGNATURE_COUNT = 0x8009480A;
  2799. //public const uint CERTSRV_E_SIGNATURE_REJECTED = 0x8009480B;
  2800. //public const uint CERTSRV_E_ISSUANCE_POLICY_REQUIRED = 0x8009480C;
  2801. //public const uint CERTSRV_E_SUBJECT_UPN_REQUIRED = 0x8009480D;
  2802. //public const uint CERTSRV_E_SUBJECT_DIRECTORY_GUID_REQUIRED = 0x8009480E;
  2803. //public const uint CERTSRV_E_SUBJECT_DNS_REQUIRED = 0x8009480F;
  2804. //public const uint CERTSRV_E_ARCHIVED_KEY_UNEXPECTED = 0x80094810;
  2805. //public const uint CERTSRV_E_KEY_LENGTH = 0x80094811;
  2806. //public const uint CERTSRV_E_SUBJECT_EMAIL_REQUIRED = 0x80094812;
  2807. //public const uint CERTSRV_E_UNKNOWN_CERT_TYPE = 0x80094813;
  2808. //public const uint CERTSRV_E_CERT_TYPE_OVERLAP = 0x80094814;
  2809. //public const uint XENROLL_E_KEY_NOT_EXPORTABLE = 0x80095000;
  2810. //public const uint XENROLL_E_CANNOT_ADD_ROOT_CERT = 0x80095001;
  2811. //public const uint XENROLL_E_RESPONSE_KA_HASH_NOT_FOUND = 0x80095002;
  2812. //public const uint XENROLL_E_RESPONSE_UNEXPECTED_KA_HASH = 0x80095003;
  2813. //public const uint XENROLL_E_RESPONSE_KA_HASH_MISMATCH = 0x80095004;
  2814. //public const uint XENROLL_E_KEYSPEC_SMIME_MISMATCH = 0x80095005;
  2815. //public const uint TRUST_E_SYSTEM_ERROR = 0x80096001;
  2816. //public const uint TRUST_E_NO_SIGNER_CERT = 0x80096002;
  2817. //public const uint TRUST_E_COUNTER_SIGNER = 0x80096003;
  2818. //public const uint TRUST_E_CERT_SIGNATURE = 0x80096004;
  2819. //public const uint TRUST_E_TIME_STAMP = 0x80096005;
  2820. //public const uint TRUST_E_BAD_DIGEST = 0x80096010;
  2821. //public const uint TRUST_E_BASIC_CONSTRAINTS = 0x80096019;
  2822. //public const uint TRUST_E_FINANCIAL_CRITERIA = 0x8009601E;
  2823. //public const uint MSSIPOTF_E_OUTOFMEMRANGE = 0x80097001;
  2824. //public const uint MSSIPOTF_E_CANTGETOBJECT = 0x80097002;
  2825. //public const uint MSSIPOTF_E_NOHEADTABLE = 0x80097003;
  2826. //public const uint MSSIPOTF_E_BAD_MAGICNUMBER = 0x80097004;
  2827. //public const uint MSSIPOTF_E_BAD_OFFSET_TABLE = 0x80097005;
  2828. //public const uint MSSIPOTF_E_TABLE_TAGORDER = 0x80097006;
  2829. //public const uint MSSIPOTF_E_TABLE_LONGWORD = 0x80097007;
  2830. //public const uint MSSIPOTF_E_BAD_FIRST_TABLE_PLACEMENT = 0x80097008;
  2831. //public const uint MSSIPOTF_E_TABLES_OVERLAP = 0x80097009;
  2832. //public const uint MSSIPOTF_E_TABLE_PADBYTES = 0x8009700A;
  2833. //public const uint MSSIPOTF_E_FILETOOSMALL = 0x8009700B;
  2834. //public const uint MSSIPOTF_E_TABLE_CHECKSUM = 0x8009700C;
  2835. //public const uint MSSIPOTF_E_FILE_CHECKSUM = 0x8009700D;
  2836. //public const uint MSSIPOTF_E_FAILED_POLICY = 0x80097010;
  2837. //public const uint MSSIPOTF_E_FAILED_HINTS_CHECK = 0x80097011;
  2838. //public const uint MSSIPOTF_E_NOT_OPENTYPE = 0x80097012;
  2839. //public const uint MSSIPOTF_E_FILE = 0x80097013;
  2840. //public const uint MSSIPOTF_E_CRYPT = 0x80097014;
  2841. //public const uint MSSIPOTF_E_BADVERSION = 0x80097015;
  2842. //public const uint MSSIPOTF_E_DSIG_STRUCTURE = 0x80097016;
  2843. //public const uint MSSIPOTF_E_PCONST_CHECK = 0x80097017;
  2844. //public const uint MSSIPOTF_E_STRUCTURE = 0x80097018;
  2845. //public const uint NTE_OP_OK = 0;
  2846. //public const uint TRUST_E_PROVIDER_UNKNOWN = 0x800B0001;
  2847. //public const uint TRUST_E_ACTION_UNKNOWN = 0x800B0002;
  2848. //public const uint TRUST_E_SUBJECT_FORM_UNKNOWN = 0x800B0003;
  2849. //public const uint TRUST_E_SUBJECT_NOT_TRUSTED = 0x800B0004;
  2850. //public const uint DIGSIG_E_ENCODE = 0x800B0005;
  2851. //public const uint DIGSIG_E_DECODE = 0x800B0006;
  2852. //public const uint DIGSIG_E_EXTENSIBILITY = 0x800B0007;
  2853. //public const uint DIGSIG_E_CRYPTO = 0x800B0008;
  2854. //public const uint PERSIST_E_SIZEDEFINITE = 0x800B0009;
  2855. //public const uint PERSIST_E_SIZEINDEFINITE = 0x800B000A;
  2856. //public const uint PERSIST_E_NOTSELFSIZING = 0x800B000B;
  2857. //public const uint TRUST_E_NOSIGNATURE = 0x800B0100;
  2858. //public const uint CERT_E_EXPIRED = 0x800B0101;
  2859. //public const uint CERT_E_VALIDITYPERIODNESTING = 0x800B0102;
  2860. //public const uint CERT_E_ROLE = 0x800B0103;
  2861. //public const uint CERT_E_PATHLENCONST = 0x800B0104;
  2862. //public const uint CERT_E_CRITICAL = 0x800B0105;
  2863. //public const uint CERT_E_PURPOSE = 0x800B0106;
  2864. //public const uint CERT_E_ISSUERCHAINING = 0x800B0107;
  2865. //public const uint CERT_E_MALFORMED = 0x800B0108;
  2866. //public const uint CERT_E_UNTRUSTEDROOT = 0x800B0109;
  2867. //public const uint CERT_E_CHAINING = 0x800B010A;
  2868. //public const uint TRUST_E_FAIL = 0x800B010B;
  2869. //public const uint CERT_E_REVOKED = 0x800B010C;
  2870. //public const uint CERT_E_UNTRUSTEDTESTROOT = 0x800B010D;
  2871. //public const uint CERT_E_REVOCATION_FAILURE = 0x800B010E;
  2872. //public const uint CERT_E_CN_NO_MATCH = 0x800B010F;
  2873. //public const uint CERT_E_WRONG_USAGE = 0x800B0110;
  2874. //public const uint TRUST_E_EXPLICIT_DISTRUST = 0x800B0111;
  2875. //public const uint CERT_E_UNTRUSTEDCA = 0x800B0112;
  2876. //public const uint CERT_E_INVALID_POLICY = 0x800B0113;
  2877. //public const uint CERT_E_INVALID_NAME = 0x800B0114;
  2878. //public const uint SPAPI_E_EXPECTED_SECTION_NAME = 0x800F0000;
  2879. //public const uint SPAPI_E_BAD_SECTION_NAME_LINE = 0x800F0001;
  2880. //public const uint SPAPI_E_SECTION_NAME_TOO_LONG = 0x800F0002;
  2881. //public const uint SPAPI_E_GENERAL_SYNTAX = 0x800F0003;
  2882. //public const uint SPAPI_E_WRONG_INF_STYLE = 0x800F0100;
  2883. //public const uint SPAPI_E_SECTION_NOT_FOUND = 0x800F0101;
  2884. //public const uint SPAPI_E_LINE_NOT_FOUND = 0x800F0102;
  2885. //public const uint SPAPI_E_NO_BACKUP = 0x800F0103;
  2886. //public const uint SPAPI_E_NO_ASSOCIATED_CLASS = 0x800F0200;
  2887. //public const uint SPAPI_E_CLASS_MISMATCH = 0x800F0201;
  2888. //public const uint SPAPI_E_DUPLICATE_FOUND = 0x800F0202;
  2889. //public const uint SPAPI_E_NO_DRIVER_SELECTED = 0x800F0203;
  2890. //public const uint SPAPI_E_KEY_DOES_NOT_EXIST = 0x800F0204;
  2891. //public const uint SPAPI_E_INVALID_DEVINST_NAME = 0x800F0205;
  2892. //public const uint SPAPI_E_INVALID_CLASS = 0x800F0206;
  2893. //public const uint SPAPI_E_DEVINST_ALREADY_EXISTS = 0x800F0207;
  2894. //public const uint SPAPI_E_DEVINFO_NOT_REGISTERED = 0x800F0208;
  2895. //public const uint SPAPI_E_INVALID_REG_PROPERTY = 0x800F0209;
  2896. //public const uint SPAPI_E_NO_INF = 0x800F020A;
  2897. //public const uint SPAPI_E_NO_SUCH_DEVINST = 0x800F020B;
  2898. //public const uint SPAPI_E_CANT_LOAD_CLASS_ICON = 0x800F020C;
  2899. //public const uint SPAPI_E_INVALID_CLASS_INSTALLER = 0x800F020D;
  2900. //public const uint SPAPI_E_DI_DO_DEFAULT = 0x800F020E;
  2901. //public const uint SPAPI_E_DI_NOFILECOPY = 0x800F020F;
  2902. //public const uint SPAPI_E_INVALID_HWPROFILE = 0x800F0210;
  2903. //public const uint SPAPI_E_NO_DEVICE_SELECTED = 0x800F0211;
  2904. //public const uint SPAPI_E_DEVINFO_LIST_LOCKED = 0x800F0212;
  2905. //public const uint SPAPI_E_DEVINFO_DATA_LOCKED = 0x800F0213;
  2906. //public const uint SPAPI_E_DI_BAD_PATH = 0x800F0214;
  2907. //public const uint SPAPI_E_NO_CLASSINSTALL_PARAMS = 0x800F0215;
  2908. //public const uint SPAPI_E_FILEQUEUE_LOCKED = 0x800F0216;
  2909. //public const uint SPAPI_E_BAD_SERVICE_INSTALLSECT = 0x800F0217;
  2910. //public const uint SPAPI_E_NO_CLASS_DRIVER_LIST = 0x800F0218;
  2911. //public const uint SPAPI_E_NO_ASSOCIATED_SERVICE = 0x800F0219;
  2912. //public const uint SPAPI_E_NO_DEFAULT_DEVICE_INTERFACE = 0x800F021A;
  2913. //public const uint SPAPI_E_DEVICE_INTERFACE_ACTIVE = 0x800F021B;
  2914. //public const uint SPAPI_E_DEVICE_INTERFACE_REMOVED = 0x800F021C;
  2915. //public const uint SPAPI_E_BAD_INTERFACE_INSTALLSECT = 0x800F021D;
  2916. //public const uint SPAPI_E_NO_SUCH_INTERFACE_CLASS = 0x800F021E;
  2917. //public const uint SPAPI_E_INVALID_REFERENCE_STRING = 0x800F021F;
  2918. //public const uint SPAPI_E_INVALID_MACHINENAME = 0x800F0220;
  2919. //public const uint SPAPI_E_REMOTE_COMM_FAILURE = 0x800F0221;
  2920. //public const uint SPAPI_E_MACHINE_UNAVAILABLE = 0x800F0222;
  2921. //public const uint SPAPI_E_NO_CONFIGMGR_SERVICES = 0x800F0223;
  2922. //public const uint SPAPI_E_INVALID_PROPPAGE_PROVIDER = 0x800F0224;
  2923. //public const uint SPAPI_E_NO_SUCH_DEVICE_INTERFACE = 0x800F0225;
  2924. //public const uint SPAPI_E_DI_POSTPROCESSING_REQUIRED = 0x800F0226;
  2925. //public const uint SPAPI_E_INVALID_COINSTALLER = 0x800F0227;
  2926. //public const uint SPAPI_E_NO_COMPAT_DRIVERS = 0x800F0228;
  2927. //public const uint SPAPI_E_NO_DEVICE_ICON = 0x800F0229;
  2928. //public const uint SPAPI_E_INVALID_INF_LOGCONFIG = 0x800F022A;
  2929. //public const uint SPAPI_E_DI_DONT_INSTALL = 0x800F022B;
  2930. //public const uint SPAPI_E_INVALID_FILTER_DRIVER = 0x800F022C;
  2931. //public const uint SPAPI_E_NON_WINDOWS_NT_DRIVER = 0x800F022D;
  2932. //public const uint SPAPI_E_NON_WINDOWS_DRIVER = 0x800F022E;
  2933. //public const uint SPAPI_E_NO_CATALOG_FOR_OEM_INF = 0x800F022F;
  2934. //public const uint SPAPI_E_DEVINSTALL_QUEUE_NONNATIVE = 0x800F0230;
  2935. //public const uint SPAPI_E_NOT_DISABLEABLE = 0x800F0231;
  2936. //public const uint SPAPI_E_CANT_REMOVE_DEVINST = 0x800F0232;
  2937. //public const uint SPAPI_E_INVALID_TARGET = 0x800F0233;
  2938. //public const uint SPAPI_E_DRIVER_NONNATIVE = 0x800F0234;
  2939. //public const uint SPAPI_E_IN_WOW64 = 0x800F0235;
  2940. //public const uint SPAPI_E_SET_SYSTEM_RESTORE_POINT = 0x800F0236;
  2941. //public const uint SPAPI_E_INCORRECTLY_COPIED_INF = 0x800F0237;
  2942. //public const uint SPAPI_E_SCE_DISABLED = 0x800F0238;
  2943. //public const uint SPAPI_E_UNKNOWN_EXCEPTION = 0x800F0239;
  2944. //public const uint SPAPI_E_PNP_REGISTRY_ERROR = 0x800F023A;
  2945. //public const uint SPAPI_E_REMOTE_REQUEST_UNSUPPORTED = 0x800F023B;
  2946. //public const uint SPAPI_E_NOT_AN_INSTALLED_OEM_INF = 0x800F023C;
  2947. //public const uint SPAPI_E_INF_IN_USE_BY_DEVICES = 0x800F023D;
  2948. //public const uint SPAPI_E_DI_FUNCTION_OBSOLETE = 0x800F023E;
  2949. //public const uint SPAPI_E_NO_AUTHENTICODE_CATALOG = 0x800F023F;
  2950. //public const uint SPAPI_E_AUTHENTICODE_DISALLOWED = 0x800F0240;
  2951. //public const uint SPAPI_E_AUTHENTICODE_TRUSTED_PUBLISHER = 0x800F0241;
  2952. //public const uint SPAPI_E_AUTHENTICODE_TRUST_NOT_ESTABLISHED = 0x800F0242;
  2953. //public const uint SPAPI_E_AUTHENTICODE_PUBLISHER_NOT_TRUSTED = 0x800F0243;
  2954. //public const uint SPAPI_E_SIGNATURE_OSATTRIBUTE_MISMATCH = 0x800F0244;
  2955. //public const uint SPAPI_E_ONLY_VALIDATE_VIA_AUTHENTICODE = 0x800F0245;
  2956. //public const uint SPAPI_E_UNRECOVERABLE_STACK_OVERFLOW = 0x800F0300;
  2957. //public const uint SPAPI_E_ERROR_NOT_INSTALLED = 0x800F1000;
  2958. //public const uint SCARD_S_SUCCESS = NO_ERROR;
  2959. //public const uint SCARD_F_INTERNAL_ERROR = 0x80100001;
  2960. //public const uint SCARD_E_CANCELLED = 0x80100002;
  2961. //public const uint SCARD_E_INVALID_HANDLE = 0x80100003;
  2962. //public const uint SCARD_E_INVALID_PARAMETER = 0x80100004;
  2963. //public const uint SCARD_E_INVALID_TARGET = 0x80100005;
  2964. //public const uint SCARD_E_NO_MEMORY = 0x80100006;
  2965. //public const uint SCARD_F_WAITED_TOO_LONG = 0x80100007;
  2966. //public const uint SCARD_E_INSUFFICIENT_BUFFER = 0x80100008;
  2967. //public const uint SCARD_E_UNKNOWN_READER = 0x80100009;
  2968. //public const uint SCARD_E_TIMEOUT = 0x8010000A;
  2969. //public const uint SCARD_E_SHARING_VIOLATION = 0x8010000B;
  2970. //public const uint SCARD_E_NO_SMARTCARD = 0x8010000C;
  2971. //public const uint SCARD_E_UNKNOWN_CARD = 0x8010000D;
  2972. //public const uint SCARD_E_CANT_DISPOSE = 0x8010000E;
  2973. //public const uint SCARD_E_PROTO_MISMATCH = 0x8010000F;
  2974. //public const uint SCARD_E_NOT_READY = 0x80100010;
  2975. //public const uint SCARD_E_INVALID_VALUE = 0x80100011;
  2976. //public const uint SCARD_E_SYSTEM_CANCELLED = 0x80100012;
  2977. //public const uint SCARD_F_COMM_ERROR = 0x80100013;
  2978. //public const uint SCARD_F_UNKNOWN_ERROR = 0x80100014;
  2979. //public const uint SCARD_E_INVALID_ATR = 0x80100015;
  2980. //public const uint SCARD_E_NOT_TRANSACTED = 0x80100016;
  2981. //public const uint SCARD_E_READER_UNAVAILABLE = 0x80100017;
  2982. //public const uint SCARD_P_SHUTDOWN = 0x80100018;
  2983. //public const uint SCARD_E_PCI_TOO_SMALL = 0x80100019;
  2984. //public const uint SCARD_E_READER_UNSUPPORTED = 0x8010001A;
  2985. //public const uint SCARD_E_DUPLICATE_READER = 0x8010001B;
  2986. //public const uint SCARD_E_CARD_UNSUPPORTED = 0x8010001C;
  2987. //public const uint SCARD_E_NO_SERVICE = 0x8010001D;
  2988. //public const uint SCARD_E_SERVICE_STOPPED = 0x8010001E;
  2989. //public const uint SCARD_E_UNEXPECTED = 0x8010001F;
  2990. //public const uint SCARD_E_ICC_INSTALLATION = 0x80100020;
  2991. //public const uint SCARD_E_ICC_CREATEORDER = 0x80100021;
  2992. //public const uint SCARD_E_UNSUPPORTED_FEATURE = 0x80100022;
  2993. //public const uint SCARD_E_DIR_NOT_FOUND = 0x80100023;
  2994. //public const uint SCARD_E_FILE_NOT_FOUND = 0x80100024;
  2995. //public const uint SCARD_E_NO_DIR = 0x80100025;
  2996. //public const uint SCARD_E_NO_FILE = 0x80100026;
  2997. //public const uint SCARD_E_NO_ACCESS = 0x80100027;
  2998. //public const uint SCARD_E_WRITE_TOO_MANY = 0x80100028;
  2999. //public const uint SCARD_E_BAD_SEEK = 0x80100029;
  3000. //public const uint SCARD_E_INVALID_CHV = 0x8010002A;
  3001. //public const uint SCARD_E_UNKNOWN_RES_MNG = 0x8010002B;
  3002. //public const uint SCARD_E_NO_SUCH_CERTIFICATE = 0x8010002C;
  3003. //public const uint SCARD_E_CERTIFICATE_UNAVAILABLE = 0x8010002D;
  3004. //public const uint SCARD_E_NO_READERS_AVAILABLE = 0x8010002E;
  3005. //public const uint SCARD_E_COMM_DATA_LOST = 0x8010002F;
  3006. //public const uint SCARD_E_NO_KEY_CONTAINER = 0x80100030;
  3007. //public const uint SCARD_E_SERVER_TOO_BUSY = 0x80100031;
  3008. //public const uint SCARD_W_UNSUPPORTED_CARD = 0x80100065;
  3009. //public const uint SCARD_W_UNRESPONSIVE_CARD = 0x80100066;
  3010. //public const uint SCARD_W_UNPOWERED_CARD = 0x80100067;
  3011. //public const uint SCARD_W_RESET_CARD = 0x80100068;
  3012. //public const uint SCARD_W_REMOVED_CARD = 0x80100069;
  3013. //public const uint SCARD_W_SECURITY_VIOLATION = 0x8010006A;
  3014. //public const uint SCARD_W_WRONG_CHV = 0x8010006B;
  3015. //public const uint SCARD_W_CHV_BLOCKED = 0x8010006C;
  3016. //public const uint SCARD_W_EOF = 0x8010006D;
  3017. //public const uint SCARD_W_CANCELLED_BY_USER = 0x8010006E;
  3018. //public const uint SCARD_W_CARD_NOT_AUTHENTICATED = 0x8010006F;
  3019. //public const uint COMADMIN_E_OBJECTERRORS = 0x80110401;
  3020. //public const uint COMADMIN_E_OBJECTINVALID = 0x80110402;
  3021. //public const uint COMADMIN_E_KEYMISSING = 0x80110403;
  3022. //public const uint COMADMIN_E_ALREADYINSTALLED = 0x80110404;
  3023. //public const uint COMADMIN_E_APP_FILE_WRITEFAIL = 0x80110407;
  3024. //public const uint COMADMIN_E_APP_FILE_READFAIL = 0x80110408;
  3025. //public const uint COMADMIN_E_APP_FILE_VERSION = 0x80110409;
  3026. //public const uint COMADMIN_E_BADPATH = 0x8011040A;
  3027. //public const uint COMADMIN_E_APPLICATIONEXISTS = 0x8011040B;
  3028. //public const uint COMADMIN_E_ROLEEXISTS = 0x8011040C;
  3029. //public const uint COMADMIN_E_CANTCOPYFILE = 0x8011040D;
  3030. //public const uint COMADMIN_E_NOUSER = 0x8011040F;
  3031. //public const uint COMADMIN_E_INVALIDUSERIDS = 0x80110410;
  3032. //public const uint COMADMIN_E_NOREGISTRYCLSID = 0x80110411;
  3033. //public const uint COMADMIN_E_BADREGISTRYPROGID = 0x80110412;
  3034. //public const uint COMADMIN_E_AUTHENTICATIONLEVEL = 0x80110413;
  3035. //public const uint COMADMIN_E_USERPASSWDNOTVALID = 0x80110414;
  3036. //public const uint COMADMIN_E_CLSIDORIIDMISMATCH = 0x80110418;
  3037. //public const uint COMADMIN_E_REMOTEINTERFACE = 0x80110419;
  3038. //public const uint COMADMIN_E_DLLREGISTERSERVER = 0x8011041A;
  3039. //public const uint COMADMIN_E_NOSERVERSHARE = 0x8011041B;
  3040. //public const uint COMADMIN_E_DLLLOADFAILED = 0x8011041D;
  3041. //public const uint COMADMIN_E_BADREGISTRYLIBID = 0x8011041E;
  3042. //public const uint COMADMIN_E_APPDIRNOTFOUND = 0x8011041F;
  3043. //public const uint COMADMIN_E_REGISTRARFAILED = 0x80110423;
  3044. //public const uint COMADMIN_E_COMPFILE_DOESNOTEXIST = 0x80110424;
  3045. //public const uint COMADMIN_E_COMPFILE_LOADDLLFAIL = 0x80110425;
  3046. //public const uint COMADMIN_E_COMPFILE_GETCLASSOBJ = 0x80110426;
  3047. //public const uint COMADMIN_E_COMPFILE_CLASSNOTAVAIL = 0x80110427;
  3048. //public const uint COMADMIN_E_COMPFILE_BADTLB = 0x80110428;
  3049. //public const uint COMADMIN_E_COMPFILE_NOTINSTALLABLE = 0x80110429;
  3050. //public const uint COMADMIN_E_NOTCHANGEABLE = 0x8011042A;
  3051. //public const uint COMADMIN_E_NOTDELETEABLE = 0x8011042B;
  3052. //public const uint COMADMIN_E_SESSION = 0x8011042C;
  3053. //public const uint COMADMIN_E_COMP_MOVE_LOCKED = 0x8011042D;
  3054. //public const uint COMADMIN_E_COMP_MOVE_BAD_DEST = 0x8011042E;
  3055. //public const uint COMADMIN_E_REGISTERTLB = 0x80110430;
  3056. //public const uint COMADMIN_E_SYSTEMAPP = 0x80110433;
  3057. //public const uint COMADMIN_E_COMPFILE_NOREGISTRAR = 0x80110434;
  3058. //public const uint COMADMIN_E_COREQCOMPINSTALLED = 0x80110435;
  3059. //public const uint COMADMIN_E_SERVICENOTINSTALLED = 0x80110436;
  3060. //public const uint COMADMIN_E_PROPERTYSAVEFAILED = 0x80110437;
  3061. //public const uint COMADMIN_E_OBJECTEXISTS = 0x80110438;
  3062. //public const uint COMADMIN_E_COMPONENTEXISTS = 0x80110439;
  3063. //public const uint COMADMIN_E_REGFILE_CORRUPT = 0x8011043B;
  3064. //public const uint COMADMIN_E_PROPERTY_OVERFLOW = 0x8011043C;
  3065. //public const uint COMADMIN_E_NOTINREGISTRY = 0x8011043E;
  3066. //public const uint COMADMIN_E_OBJECTNOTPOOLABLE = 0x8011043F;
  3067. //public const uint COMADMIN_E_APPLID_MATCHES_CLSID = 0x80110446;
  3068. //public const uint COMADMIN_E_ROLE_DOES_NOT_EXIST = 0x80110447;
  3069. //public const uint COMADMIN_E_START_APP_NEEDS_COMPONENTS = 0x80110448;
  3070. //public const uint COMADMIN_E_REQUIRES_DIFFERENT_PLATFORM = 0x80110449;
  3071. //public const uint COMADMIN_E_CAN_NOT_EXPORT_APP_PROXY = 0x8011044A;
  3072. //public const uint COMADMIN_E_CAN_NOT_START_APP = 0x8011044B;
  3073. //public const uint COMADMIN_E_CAN_NOT_EXPORT_SYS_APP = 0x8011044C;
  3074. //public const uint COMADMIN_E_CANT_SUBSCRIBE_TO_COMPONENT = 0x8011044D;
  3075. //public const uint COMADMIN_E_EVENTCLASS_CANT_BE_SUBSCRIBER = 0x8011044E;
  3076. //public const uint COMADMIN_E_LIB_APP_PROXY_INCOMPATIBLE = 0x8011044F;
  3077. //public const uint COMADMIN_E_BASE_PARTITION_ONLY = 0x80110450;
  3078. //public const uint COMADMIN_E_START_APP_DISABLED = 0x80110451;
  3079. //public const uint COMADMIN_E_CAT_DUPLICATE_PARTITION_NAME = 0x80110457;
  3080. //public const uint COMADMIN_E_CAT_INVALID_PARTITION_NAME = 0x80110458;
  3081. //public const uint COMADMIN_E_CAT_PARTITION_IN_USE = 0x80110459;
  3082. //public const uint COMADMIN_E_FILE_PARTITION_DUPLICATE_FILES = 0x8011045A;
  3083. //public const uint COMADMIN_E_CAT_IMPORTED_COMPONENTS_NOT_ALLOWED = 0x8011045B;
  3084. //public const uint COMADMIN_E_AMBIGUOUS_APPLICATION_NAME = 0x8011045C;
  3085. //public const uint COMADMIN_E_AMBIGUOUS_PARTITION_NAME = 0x8011045D;
  3086. //public const uint COMADMIN_E_REGDB_NOTINITIALIZED = 0x80110472;
  3087. //public const uint COMADMIN_E_REGDB_NOTOPEN = 0x80110473;
  3088. //public const uint COMADMIN_E_REGDB_SYSTEMERR = 0x80110474;
  3089. //public const uint COMADMIN_E_REGDB_ALREADYRUNNING = 0x80110475;
  3090. //public const uint COMADMIN_E_MIG_VERSIONNOTSUPPORTED = 0x80110480;
  3091. //public const uint COMADMIN_E_MIG_SCHEMANOTFOUND = 0x80110481;
  3092. //public const uint COMADMIN_E_CAT_BITNESSMISMATCH = 0x80110482;
  3093. //public const uint COMADMIN_E_CAT_UNACCEPTABLEBITNESS = 0x80110483;
  3094. //public const uint COMADMIN_E_CAT_WRONGAPPBITNESS = 0x80110484;
  3095. //public const uint COMADMIN_E_CAT_PAUSE_RESUME_NOT_SUPPORTED = 0x80110485;
  3096. //public const uint COMADMIN_E_CAT_SERVERFAULT = 0x80110486;
  3097. //public const uint COMQC_E_APPLICATION_NOT_QUEUED = 0x80110600;
  3098. //public const uint COMQC_E_NO_QUEUEABLE_INTERFACES = 0x80110601;
  3099. //public const uint COMQC_E_QUEUING_SERVICE_NOT_AVAILABLE = 0x80110602;
  3100. //public const uint COMQC_E_NO_IPERSISTSTREAM = 0x80110603;
  3101. //public const uint COMQC_E_BAD_MESSAGE = 0x80110604;
  3102. //public const uint COMQC_E_UNAUTHENTICATED = 0x80110605;
  3103. //public const uint COMQC_E_UNTRUSTED_ENQUEUER = 0x80110606;
  3104. //public const uint MSDTC_E_DUPLICATE_RESOURCE = 0x80110701;
  3105. //public const uint COMADMIN_E_OBJECT_PARENT_MISSING = 0x80110808;
  3106. //public const uint COMADMIN_E_OBJECT_DOES_NOT_EXIST = 0x80110809;
  3107. //public const uint COMADMIN_E_APP_NOT_RUNNING = 0x8011080A;
  3108. //public const uint COMADMIN_E_INVALID_PARTITION = 0x8011080B;
  3109. //public const uint COMADMIN_E_SVCAPP_NOT_POOLABLE_OR_RECYCLABLE = 0x8011080D;
  3110. //public const uint COMADMIN_E_USER_IN_SET = 0x8011080E;
  3111. //public const uint COMADMIN_E_CANTRECYCLELIBRARYAPPS = 0x8011080F;
  3112. //public const uint COMADMIN_E_CANTRECYCLESERVICEAPPS = 0x80110811;
  3113. //public const uint COMADMIN_E_PROCESSALREADYRECYCLED = 0x80110812;
  3114. //public const uint COMADMIN_E_PAUSEDPROCESSMAYNOTBERECYCLED = 0x80110813;
  3115. //public const uint COMADMIN_E_CANTMAKEINPROCSERVICE = 0x80110814;
  3116. //public const uint COMADMIN_E_PROGIDINUSEBYCLSID = 0x80110815;
  3117. //public const uint COMADMIN_E_DEFAULT_PARTITION_NOT_IN_SET = 0x80110816;
  3118. //public const uint COMADMIN_E_RECYCLEDPROCESSMAYNOTBEPAUSED = 0x80110817;
  3119. //public const uint COMADMIN_E_PARTITION_ACCESSDENIED = 0x80110818;
  3120. //public const uint COMADMIN_E_PARTITION_MSI_ONLY = 0x80110819;
  3121. //public const uint COMADMIN_E_LEGACYCOMPS_NOT_ALLOWED_IN_1_0_FORMAT = 0x8011081A;
  3122. //public const uint COMADMIN_E_LEGACYCOMPS_NOT_ALLOWED_IN_NONBASE_PARTITIONS = 0x8011081B;
  3123. //public const uint COMADMIN_E_COMP_MOVE_SOURCE = 0x8011081C;
  3124. //public const uint COMADMIN_E_COMP_MOVE_DEST = 0x8011081D;
  3125. //public const uint COMADMIN_E_COMP_MOVE_PRIVATE = 0x8011081E;
  3126. //public const uint COMADMIN_E_BASEPARTITION_REQUIRED_IN_SET = 0x8011081F;
  3127. //public const uint COMADMIN_E_CANNOT_ALIAS_EVENTCLASS = 0x80110820;
  3128. //public const uint COMADMIN_E_PRIVATE_ACCESSDENIED = 0x80110821;
  3129. //public const uint COMADMIN_E_SAFERINVALID = 0x80110822;
  3130. //public const uint COMADMIN_E_REGISTRY_ACCESSDENIED = 0x80110823;
  3131. //public const uint COMADMIN_E_PARTITIONS_DISABLED = 0x80110824;
  3132. #region Network Management Error Codes
  3133. // http://msdn.microsoft.com/en-us/library/windows/desktop/aa370674%28v=vs.85%29.aspx
  3134. /// <summary>(0) The operation completed successfully.</summary>
  3135. public const uint NERR_Success = 0;
  3136. ///// <summary>The workstation driver is not installed.</summary>
  3137. //public const uint NERR_NetNotStarted = 2102;
  3138. ///// <summary>The server could not be located.</summary>
  3139. //public const uint NERR_UnknownServer = 2103;
  3140. ///// <summary>An internal error occurred. The network cannot access a shared memory segment.</summary>
  3141. //public const uint NERR_ShareMem = 2104;
  3142. ///// <summary>A network resource shortage occurred.</summary>
  3143. //public const uint NERR_NoNetworkResource = 2105;
  3144. ///// <summary>This operation is not supported on workstations.</summary>
  3145. //public const uint NERR_RemoteOnly = 2106;
  3146. ///// <summary>The device is not connected.</summary>
  3147. //public const uint NERR_DevNotRedirected = 2107;
  3148. ///// <summary>The Server service is not started.</summary>
  3149. //public const uint NERR_ServerNotStarted = 2114;
  3150. ///// <summary>The queue is empty.</summary>
  3151. //public const uint NERR_ItemNotFound = 2115;
  3152. ///// <summary>The device or directory does not exist.</summary>
  3153. //public const uint NERR_UnknownDevDir = 2116;
  3154. ///// <summary>The operation is invalid on a redirected resource.</summary>
  3155. //public const uint NERR_RedirectedPath = 2117;
  3156. ///// <summary>The name has already been shared.</summary>
  3157. //public const uint NERR_DuplicateShare = 2118;
  3158. ///// <summary>The server is currently out of the requested resource.</summary>
  3159. //public const uint NERR_NoRoom = 2119;
  3160. ///// <summary>Requested addition of items exceeds the maximum allowed.</summary>
  3161. //public const uint NERR_TooManyItems = 2121;
  3162. ///// <summary>The Peer service supports only two simultaneous users.</summary>
  3163. //public const uint NERR_InvalidMaxUsers = 2122;
  3164. ///// <summary>The API return buffer is too small.</summary>
  3165. //public const uint NERR_BufTooSmall = 2123;
  3166. ///// <summary>A remote API error occurred.</summary>
  3167. //public const uint NERR_RemoteErr = 2127;
  3168. ///// <summary>An error occurred when opening or reading the configuration file.</summary>
  3169. //public const uint NERR_LanmanIniError = 2131;
  3170. ///// <summary>A general network error occurred.</summary>
  3171. //public const uint NERR_NetworkError = 2136;
  3172. ///// <summary>The Workstation service is in an inconsistent state. Restart the computer before restarting the Workstation service.</summary>
  3173. //public const uint NERR_WkstaInconsistentState = 2137;
  3174. ///// <summary>The Workstation service has not been started.</summary>
  3175. //public const uint NERR_WkstaNotStarted = 2138;
  3176. ///// <summary>The requested information is not available.</summary>
  3177. //public const uint NERR_BrowserNotStarted = 2139;
  3178. ///// <summary>An internal error occurred.</summary>
  3179. //public const uint NERR_InternalError = 2140;
  3180. ///// <summary>The server is not configured for transactions.</summary>
  3181. //public const uint NERR_BadTransactConfig = 2141;
  3182. ///// <summary>The requested API is not supported on the remote server.</summary>
  3183. //public const uint NERR_InvalidAPI = 2142;
  3184. ///// <summary>The event name is invalid.</summary>
  3185. //public const uint NERR_BadEventName = 2143;
  3186. ///// <summary>The computer name already exists on the network. Change it and restart the computer.</summary>
  3187. //public const uint NERR_DupNameReboot = 2144;
  3188. ///// <summary>The specified component could not be found in the configuration information.</summary>
  3189. //public const uint NERR_CfgCompNotFound = 2146;
  3190. ///// <summary>The specified parameter could not be found in the configuration information.</summary>
  3191. //public const uint NERR_CfgParamNotFound = 2147;
  3192. ///// <summary>A line in the configuration file is too long.</summary>
  3193. //public const uint NERR_LineTooLong = 2149;
  3194. ///// <summary>The printer does not exist.</summary>
  3195. //public const uint NERR_QNotFound = 2150;
  3196. ///// <summary>The print job does not exist.</summary>
  3197. //public const uint NERR_JobNotFound = 2151;
  3198. ///// <summary>The printer destination cannot be found.</summary>
  3199. //public const uint NERR_DestNotFound = 2152;
  3200. ///// <summary>The printer destination already exists.</summary>
  3201. //public const uint NERR_DestExists = 2153;
  3202. ///// <summary>The printer queue already exists.</summary>
  3203. //public const uint NERR_QExists = 2154;
  3204. ///// <summary>No more printers can be added.</summary>
  3205. //public const uint NERR_QNoRoom = 2155;
  3206. ///// <summary>No more print jobs can be added.</summary>
  3207. //public const uint NERR_JobNoRoom = 2156;
  3208. ///// <summary>No more printer destinations can be added.</summary>
  3209. //public const uint NERR_DestNoRoom = 2157;
  3210. ///// <summary>This printer destination is idle and cannot accept control operations.</summary>
  3211. //public const uint NERR_DestIdle = 2158;
  3212. ///// <summary>This printer destination request contains an invalid control function.</summary>
  3213. //public const uint NERR_DestInvalidOp = 2159;
  3214. ///// <summary>The print processor is not responding.</summary>
  3215. //public const uint NERR_ProcNoRespond = 2160;
  3216. ///// <summary>The spooler is not running.</summary>
  3217. //public const uint NERR_SpoolerNotLoaded = 2161;
  3218. ///// <summary>This operation cannot be performed on the print destination in its current state.</summary>
  3219. //public const uint NERR_DestInvalidState = 2162;
  3220. ///// <summary>This operation cannot be performed on the printer queue in its current state.</summary>
  3221. //public const uint NERR_QinvalidState = 2163;
  3222. ///// <summary>This operation cannot be performed on the print job in its current state.</summary>
  3223. //public const uint NERR_JobInvalidState = 2164;
  3224. ///// <summary>A spooler memory allocation failure occurred.</summary>
  3225. //public const uint NERR_SpoolNoMemory = 2165;
  3226. ///// <summary>The device driver does not exist.</summary>
  3227. //public const uint NERR_DriverNotFound = 2166;
  3228. ///// <summary>The data type is not supported by the print processor.</summary>
  3229. //public const uint NERR_DataTypeInvalid = 2167;
  3230. ///// <summary>The print processor is not installed.</summary>
  3231. //public const uint NERR_ProcNotFound = 2168;
  3232. ///// <summary>The service database is locked.</summary>
  3233. //public const uint NERR_ServiceTableLocked = 2180;
  3234. ///// <summary>The service table is full.</summary>
  3235. //public const uint NERR_ServiceTableFull = 2181;
  3236. ///// <summary>The requested service has already been started.</summary>
  3237. //public const uint NERR_ServiceInstalled = 2182;
  3238. ///// <summary>The service does not respond to control actions.</summary>
  3239. //public const uint NERR_ServiceEntryLocked = 2183;
  3240. ///// <summary>The service has not been started.</summary>
  3241. //public const uint NERR_ServiceNotInstalled = 2184;
  3242. ///// <summary>The service name is invalid.</summary>
  3243. //public const uint NERR_BadServiceName = 2185;
  3244. ///// <summary>The service is not responding to the control function.</summary>
  3245. //public const uint NERR_ServiceCtlTimeout = 2186;
  3246. ///// <summary>The service control is busy.</summary>
  3247. //public const uint NERR_ServiceCtlBusy = 2187;
  3248. ///// <summary>The configuration file contains an invalid service program name.</summary>
  3249. //public const uint NERR_BadServiceProgName = 2188;
  3250. ///// <summary>The service could not be controlled in its present state.</summary>
  3251. //public const uint NERR_ServiceNotCtrl = 2189;
  3252. ///// <summary>The service ended abnormally.</summary>
  3253. //public const uint NERR_ServiceKillProc = 2190;
  3254. ///// <summary>The requested pause or stop is not valid for this service.</summary>
  3255. //public const uint NERR_ServiceCtlNotValid = 2191;
  3256. ///// <summary>The service control dispatcher could not find the service name in the dispatch table.</summary>
  3257. //public const uint NERR_NotInDispatchTbl = 2192;
  3258. ///// <summary>The service control dispatcher pipe read failed.</summary>
  3259. //public const uint NERR_BadControlRecv = 2193;
  3260. ///// <summary>A thread for the new service could not be created.</summary>
  3261. //public const uint NERR_ServiceNotStarting = 2194;
  3262. ///// <summary>This workstation is already logged on to the local-area network.</summary>
  3263. //public const uint NERR_AlreadyLoggedOn = 2200;
  3264. ///// <summary>The workstation is not logged on to the local-area network.</summary>
  3265. //public const uint NERR_NotLoggedOn = 2201;
  3266. ///// <summary>The user name or group name parameter is invalid.</summary>
  3267. //public const uint NERR_BadUsername = 2202;
  3268. ///// <summary>The password parameter is invalid.</summary>
  3269. //public const uint NERR_BadPassword = 2203;
  3270. ///// <summary>@W The logon processor did not add the message alias.</summary>
  3271. //public const uint NERR_UnableToAddName_W = 2204;
  3272. ///// <summary>The logon processor did not add the message alias.</summary>
  3273. //public const uint NERR_UnableToAddName_F = 2205;
  3274. ///// <summary>@W The logoff processor did not delete the message alias.</summary>
  3275. //public const uint NERR_UnableToDelName_W = 2206;
  3276. ///// <summary>The logoff processor did not delete the message alias.</summary>
  3277. //public const uint NERR_UnableToDelName_F = 2207;
  3278. ///// <summary>Network logons are paused.</summary>
  3279. //public const uint NERR_LogonsPaused = 2209;
  3280. ///// <summary>A centralized logon-server conflict occurred.</summary>
  3281. //public const uint NERR_LogonServerConflict = 2210;
  3282. ///// <summary>The server is configured without a valid user path.</summary>
  3283. //public const uint NERR_LogonNoUserPath = 2211;
  3284. ///// <summary>An error occurred while loading or running the logon script.</summary>
  3285. //public const uint NERR_LogonScriptError = 2212;
  3286. ///// <summary>The logon server was not specified. Your computer will be logged on as STANDALONE.</summary>
  3287. //public const uint NERR_StandaloneLogon = 2214;
  3288. ///// <summary>The logon server could not be found.</summary>
  3289. //public const uint NERR_LogonServerNotFound = 2215;
  3290. ///// <summary>There is already a logon domain for this computer.</summary>
  3291. //public const uint NERR_LogonDomainExists = 2216;
  3292. ///// <summary>The logon server could not validate the logon.</summary>
  3293. //public const uint NERR_NonValidatedLogon = 2217;
  3294. ///// <summary>The security database could not be found.</summary>
  3295. //public const uint NERR_ACFNotFound = 2219;
  3296. ///// <summary>The group name could not be found.</summary>
  3297. //public const uint NERR_GroupNotFound = 2220;
  3298. ///// <summary>The user name could not be found.</summary>
  3299. //public const uint NERR_UserNotFound = 2221;
  3300. ///// <summary>The resource name could not be found.</summary>
  3301. //public const uint NERR_ResourceNotFound = 2222;
  3302. ///// <summary>The group already exists.</summary>
  3303. //public const uint NERR_GroupExists = 2223;
  3304. ///// <summary>The user account already exists.</summary>
  3305. //public const uint NERR_UserExists = 2224;
  3306. ///// <summary>The resource permission list already exists.</summary>
  3307. //public const uint NERR_ResourceExists = 2225;
  3308. ///// <summary>This operation is only allowed on the primary domain controller of the domain.</summary>
  3309. //public const uint NERR_NotPrimary = 2226;
  3310. ///// <summary>The security database has not been started.</summary>
  3311. //public const uint NERR_ACFNotLoaded = 2227;
  3312. ///// <summary>There are too many names in the user accounts database.</summary>
  3313. //public const uint NERR_ACFNoRoom = 2228;
  3314. ///// <summary>A disk I/O failure occurred.</summary>
  3315. //public const uint NERR_ACFFileIOFail = 2229;
  3316. ///// <summary>The limit of 64 entries per resource was exceeded.</summary>
  3317. //public const uint NERR_ACFTooManyLists = 2230;
  3318. ///// <summary>Deleting a user with a session is not allowed.</summary>
  3319. //public const uint NERR_UserLogon = 2231;
  3320. ///// <summary>The parent directory could not be located.</summary>
  3321. //public const uint NERR_ACFNoParent = 2232;
  3322. ///// <summary>Unable to add to the security database session cache segment.</summary>
  3323. //public const uint NERR_CanNotGrowSegment = 2233;
  3324. ///// <summary>This operation is not allowed on this special group.</summary>
  3325. //public const uint NERR_SpeGroupOp = 2234;
  3326. ///// <summary>This user is not cached in user accounts database session cache.</summary>
  3327. //public const uint NERR_NotInCache = 2235;
  3328. ///// <summary>The user already belongs to this group.</summary>
  3329. //public const uint NERR_UserInGroup = 2236;
  3330. ///// <summary>The user does not belong to this group.</summary>
  3331. //public const uint NERR_UserNotInGroup = 2237;
  3332. ///// <summary>This user account is undefined.</summary>
  3333. //public const uint NERR_AccountUndefined = 2238;
  3334. ///// <summary>This user account has expired.</summary>
  3335. //public const uint NERR_AccountExpired = 2239;
  3336. ///// <summary>The user is not allowed to log on from this workstation.</summary>
  3337. //public const uint NERR_InvalidWorkstation = 2240;
  3338. ///// <summary>The user is not allowed to log on at this time.</summary>
  3339. //public const uint NERR_InvalidLogonHours = 2241;
  3340. ///// <summary>The password of this user has expired.</summary>
  3341. //public const uint NERR_PasswordExpired = 2242;
  3342. ///// <summary>The password of this user cannot change.</summary>
  3343. //public const uint NERR_PasswordCantChange = 2243;
  3344. ///// <summary>This password cannot be used now.</summary>
  3345. //public const uint NERR_PasswordHistConflict = 2244;
  3346. ///// <summary>The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements.</summary>
  3347. //public const uint NERR_PasswordTooShort = 2245;
  3348. ///// <summary>The password of this user is too recent to change.</summary>
  3349. //public const uint NERR_PasswordTooRecent = 2246;
  3350. ///// <summary>The security database is corrupted.</summary>
  3351. //public const uint NERR_InvalidDatabase = 2247;
  3352. ///// <summary>No updates are necessary to this replicant network/local security database.</summary>
  3353. //public const uint NERR_DatabaseUpToDate = 2248;
  3354. ///// <summary>This replicant database is outdated; synchronization is required.</summary>
  3355. //public const uint NERR_SyncRequired = 2249;
  3356. /// <summary>(2250) The network connection could not be found.</summary>
  3357. public const uint NERR_UseNotFound = 2250;
  3358. ///// <summary>This asg_type is invalid.</summary>
  3359. //public const uint NERR_BadAsgType = 2251;
  3360. ///// <summary>This device is currently being shared.</summary>
  3361. //public const uint NERR_DeviceIsShared = 2252;
  3362. ///// <summary>The computer name could not be added as a message alias. The name may already exist on the network.</summary>
  3363. //public const uint NERR_NoComputerName = 2270;
  3364. ///// <summary>The Messenger service is already started.</summary>
  3365. //public const uint NERR_MsgAlreadyStarted = 2271;
  3366. ///// <summary>The Messenger service failed to start.</summary>
  3367. //public const uint NERR_MsgInitFailed = 2272;
  3368. ///// <summary>The message alias could not be found on the network.</summary>
  3369. //public const uint NERR_NameNotFound = 2273;
  3370. ///// <summary>This message alias has already been forwarded.</summary>
  3371. //public const uint NERR_AlreadyForwarded = 2274;
  3372. ///// <summary>This message alias has been added but is still forwarded.</summary>
  3373. //public const uint NERR_AddForwarded = 2275;
  3374. ///// <summary>This message alias already exists locally.</summary>
  3375. //public const uint NERR_AlreadyExists = 2276;
  3376. ///// <summary>The maximum number of added message aliases has been exceeded.</summary>
  3377. //public const uint NERR_TooManyNames = 2277;
  3378. ///// <summary>The computer name could not be deleted.</summary>
  3379. //public const uint NERR_DelComputerName = 2278;
  3380. ///// <summary>Messages cannot be forwarded back to the same workstation.</summary>
  3381. //public const uint NERR_LocalForward = 2279;
  3382. ///// <summary>An error occurred in the domain message processor.</summary>
  3383. //public const uint NERR_GrpMsgProcessor = 2280;
  3384. ///// <summary>The message was sent, but the recipient has paused the Messenger service.</summary>
  3385. //public const uint NERR_PausedRemote = 2281;
  3386. ///// <summary>The message was sent but not received.</summary>
  3387. //public const uint NERR_BadReceive = 2282;
  3388. ///// <summary>The message alias is currently in use. Try again later.</summary>
  3389. //public const uint NERR_NameInUse = 2283;
  3390. ///// <summary>The Messenger service has not been started.</summary>
  3391. //public const uint NERR_MsgNotStarted = 2284;
  3392. ///// <summary>The name is not on the local computer.</summary>
  3393. //public const uint NERR_NotLocalName = 2285;
  3394. ///// <summary>The forwarded message alias could not be found on the network.</summary>
  3395. //public const uint NERR_NoForwardName = 2286;
  3396. ///// <summary>The message alias table on the remote station is full.</summary>
  3397. //public const uint NERR_RemoteFull = 2287;
  3398. ///// <summary>Messages for this alias are not currently being forwarded.</summary>
  3399. //public const uint NERR_NameNotForwarded = 2288;
  3400. ///// <summary>The broadcast message was truncated.</summary>
  3401. //public const uint NERR_TruncatedBroadcast = 2289;
  3402. ///// <summary>This is an invalid device name.</summary>
  3403. //public const uint NERR_InvalidDevice = 2294;
  3404. ///// <summary>A write fault occurred.</summary>
  3405. //public const uint NERR_WriteFault = 2295;
  3406. ///// <summary>A duplicate message alias exists on the network.</summary>
  3407. //public const uint NERR_DuplicateName = 2297;
  3408. ///// <summary>@W This message alias will be deleted later.</summary>
  3409. //public const uint NERR_DeleteLater = 2298;
  3410. ///// <summary>The message alias was not successfully deleted from all networks.</summary>
  3411. //public const uint NERR_IncompleteDel = 2299;
  3412. ///// <summary>This operation is not supported on computers with multiple networks.</summary>
  3413. //public const uint NERR_MultipleNets = 2300;
  3414. /// <summary>(2310) This shared resource does not exist.</summary>
  3415. public const uint NERR_NetNameNotFound = 2310;
  3416. ///// <summary>This device is not shared.</summary>
  3417. //public const uint NERR_DeviceNotShared = 2311;
  3418. ///// <summary>A session does not exist with that computer name.</summary>
  3419. //public const uint NERR_ClientNameNotFound = 2312;
  3420. /// <summary>(2314) There is not an open file with that identification number.</summary>
  3421. public const uint NERR_FileIdNotFound = 2314;
  3422. ///// <summary>A failure occurred when executing a remote administration command.</summary>
  3423. //public const uint NERR_ExecFailure = 2315;
  3424. ///// <summary>A failure occurred when opening a remote temporary file.</summary>
  3425. //public const uint NERR_TmpFile = 2316;
  3426. ///// <summary>The data returned from a remote administration command has been truncated to 64K.</summary>
  3427. //public const uint NERR_TooMuchData = 2317;
  3428. ///// <summary>This device cannot be shared as both a spooled and a non-spooled resource.</summary>
  3429. //public const uint NERR_DeviceShareConflict = 2318;
  3430. ///// <summary>The information in the list of servers may be incorrect.</summary>
  3431. //public const uint NERR_BrowserTableIncomplete = 2319;
  3432. ///// <summary>The computer is not active in this domain.</summary>
  3433. //public const uint NERR_NotLocalDomain = 2320;
  3434. ///// <summary>The share must be removed from the Distributed File System before it can be deleted.</summary>
  3435. //public const uint NERR_IsDfsShare = 2321;
  3436. ///// <summary>The operation is invalid for this device.</summary>
  3437. //public const uint NERR_DevInvalidOpCode = 2331;
  3438. ///// <summary>This device cannot be shared.</summary>
  3439. //public const uint NERR_DevNotFound = 2332;
  3440. ///// <summary>This device was not open.</summary>
  3441. //public const uint NERR_DevNotOpen = 2333;
  3442. ///// <summary>This device name list is invalid.</summary>
  3443. //public const uint NERR_BadQueueDevString = 2334;
  3444. ///// <summary>The queue priority is invalid.</summary>
  3445. //public const uint NERR_BadQueuePriority = 2335;
  3446. ///// <summary>There are no shared communication devices.</summary>
  3447. //public const uint NERR_NoCommDevs = 2337;
  3448. ///// <summary>The queue you specified does not exist.</summary>
  3449. //public const uint NERR_QueueNotFound = 2338;
  3450. ///// <summary>This list of devices is invalid.</summary>
  3451. //public const uint NERR_BadDevString = 2340;
  3452. ///// <summary>The requested device is invalid.</summary>
  3453. //public const uint NERR_BadDev = 2341;
  3454. ///// <summary>This device is already in use by the spooler.</summary>
  3455. //public const uint NERR_InUseBySpooler = 2342;
  3456. ///// <summary>This device is already in use as a communication device.</summary>
  3457. //public const uint NERR_CommDevInUse = 2343;
  3458. ///// <summary>This computer name is invalid.</summary>
  3459. //public const uint NERR_InvalidComputer = 2351;
  3460. ///// <summary>The string and prefix specified are too long.</summary>
  3461. //public const uint NERR_MaxLenExceeded = 2354;
  3462. ///// <summary>This path component is invalid.</summary>
  3463. //public const uint NERR_BadComponent = 2356;
  3464. ///// <summary>Could not determine the type of input.</summary>
  3465. //public const uint NERR_CantType = 2357;
  3466. ///// <summary>The buffer for types is not big enough.</summary>
  3467. //public const uint NERR_TooManyEntries = 2362;
  3468. ///// <summary>Profile files cannot exceed 64K.</summary>
  3469. //public const uint NERR_ProfileFileTooBig = 2370;
  3470. ///// <summary>The start offset is out of range.</summary>
  3471. //public const uint NERR_ProfileOffset = 2371;
  3472. ///// <summary>The system cannot delete current connections to network resources.</summary>
  3473. //public const uint NERR_ProfileCleanup = 2372;
  3474. ///// <summary>The system was unable to parse the command line in this file.</summary>
  3475. //public const uint NERR_ProfileUnknownCmd = 2373;
  3476. ///// <summary>An error occurred while loading the profile file.</summary>
  3477. //public const uint NERR_ProfileLoadErr = 2374;
  3478. ///// <summary>@W Errors occurred while saving the profile file. The profile was partially saved.</summary>
  3479. //public const uint NERR_ProfileSaveErr = 2375;
  3480. ///// <summary>Log file %1 is full.</summary>
  3481. //public const uint NERR_LogOverflow = 2377;
  3482. ///// <summary>This log file has changed between reads.</summary>
  3483. //public const uint NERR_LogFileChanged = 2378;
  3484. ///// <summary>Log file %1 is corrupt.</summary>
  3485. //public const uint NERR_LogFileCorrupt = 2379;
  3486. ///// <summary>The source path cannot be a directory.</summary>
  3487. //public const uint NERR_SourceIsDir = 2380;
  3488. ///// <summary>The source path is illegal.</summary>
  3489. //public const uint NERR_BadSource = 2381;
  3490. ///// <summary>The destination path is illegal.</summary>
  3491. //public const uint NERR_BadDest = 2382;
  3492. ///// <summary>The source and destination paths are on different servers.</summary>
  3493. //public const uint NERR_DifferentServers = 2383;
  3494. ///// <summary>The Run server you requested is paused.</summary>
  3495. //public const uint NERR_RunSrvPaused = 2385;
  3496. ///// <summary>An error occurred when communicating with a Run server.</summary>
  3497. //public const uint NERR_ErrCommRunSrv = 2389;
  3498. ///// <summary>An error occurred when starting a background process.</summary>
  3499. //public const uint NERR_ErrorExecingGhost = 2391;
  3500. ///// <summary>The shared resource you are connected to could not be found.</summary>
  3501. //public const uint NERR_ShareNotFound = 2392;
  3502. ///// <summary>The LAN adapter number is invalid.</summary>
  3503. //public const uint NERR_InvalidLana = 2400;
  3504. ///// <summary>There are open files on the connection.</summary>
  3505. //public const uint NERR_OpenFiles = 2401;
  3506. ///// <summary>Active connections still exist.</summary>
  3507. //public const uint NERR_ActiveConns = 2402;
  3508. ///// <summary>This share name or password is invalid.</summary>
  3509. //public const uint NERR_BadPasswordCore = 2403;
  3510. ///// <summary>The device is being accessed by an active process.</summary>
  3511. //public const uint NERR_DevInUse = 2404;
  3512. ///// <summary>The drive letter is in use locally.</summary>
  3513. //public const uint NERR_LocalDrive = 2405;
  3514. ///// <summary>The specified client is already registered for the specified event.</summary>
  3515. //public const uint NERR_AlertExists = 2430;
  3516. ///// <summary>The alert table is full.</summary>
  3517. //public const uint NERR_TooManyAlerts = 2431;
  3518. ///// <summary>An invalid or nonexistent alert name was raised.</summary>
  3519. //public const uint NERR_NoSuchAlert = 2432;
  3520. ///// <summary>The alert recipient is invalid.</summary>
  3521. //public const uint NERR_BadRecipient = 2433;
  3522. ///// <summary>A user's session with this server has been deleted</summary>
  3523. //public const uint NERR_AcctLimitExceeded = 2434;
  3524. ///// <summary>The log file does not contain the requested record number.</summary>
  3525. //public const uint NERR_InvalidLogSeek = 2440;
  3526. ///// <summary>The user accounts database is not configured correctly.</summary>
  3527. //public const uint NERR_BadUasConfig = 2450;
  3528. ///// <summary>This operation is not permitted when the Netlogon service is running.</summary>
  3529. //public const uint NERR_InvalidUASOp = 2451;
  3530. ///// <summary>This operation is not allowed on the last administrative account.</summary>
  3531. //public const uint NERR_LastAdmin = 2452;
  3532. ///// <summary>Could not find domain controller for this domain.</summary>
  3533. //public const uint NERR_DCNotFound = 2453;
  3534. ///// <summary>Could not set logon information for this user.</summary>
  3535. //public const uint NERR_LogonTrackingError = 2454;
  3536. ///// <summary>The Netlogon service has not been started.</summary>
  3537. //public const uint NERR_NetlogonNotStarted = 2455;
  3538. ///// <summary>Unable to add to the user accounts database.</summary>
  3539. //public const uint NERR_CanNotGrowUASFile = 2456;
  3540. ///// <summary>This server's clock is not synchronized with the primary domain controller's clock.</summary>
  3541. //public const uint NERR_TimeDiffAtDC = 2457;
  3542. ///// <summary>A password mismatch has been detected.</summary>
  3543. //public const uint NERR_PasswordMismatch = 2458;
  3544. ///// <summary>The server identification does not specify a valid server.</summary>
  3545. //public const uint NERR_NoSuchServer = 2460;
  3546. ///// <summary>The session identification does not specify a valid session.</summary>
  3547. //public const uint NERR_NoSuchSession = 2461;
  3548. ///// <summary>The connection identification does not specify a valid connection.</summary>
  3549. //public const uint NERR_NoSuchConnection = 2462;
  3550. ///// <summary>There is no space for another entry in the table of available servers.</summary>
  3551. //public const uint NERR_TooManyServers = 2463;
  3552. ///// <summary>The server has reached the maximum number of sessions it supports.</summary>
  3553. //public const uint NERR_TooManySessions = 2464;
  3554. ///// <summary>The server has reached the maximum number of connections it supports.</summary>
  3555. //public const uint NERR_TooManyConnections = 2465;
  3556. ///// <summary>The server cannot open more files because it has reached its maximum number.</summary>
  3557. //public const uint NERR_TooManyFiles = 2466;
  3558. ///// <summary>There are no alternate servers registered on this server.</summary>
  3559. //public const uint NERR_NoAlternateServers = 2467;
  3560. ///// <summary>Try down-level (remote admin protocol) version of API instead.</summary>
  3561. //public const uint NERR_TryDownLevel = 2470;
  3562. ///// <summary>The UPS driver could not be accessed by the UPS service.</summary>
  3563. //public const uint NERR_UPSDriverNotStarted = 2480;
  3564. ///// <summary>The UPS service is not configured correctly.</summary>
  3565. //public const uint NERR_UPSInvalidConfig = 2481;
  3566. ///// <summary>The UPS service could not access the specified Comm Port.</summary>
  3567. //public const uint NERR_UPSInvalidCommPort = 2482;
  3568. ///// <summary>The UPS indicated a line fail or low battery situation. Service not started.</summary>
  3569. //public const uint NERR_UPSSignalAsserted = 2483;
  3570. ///// <summary>The UPS service failed to perform a system shut down.</summary>
  3571. //public const uint NERR_UPSShutdownFailed = 2484;
  3572. ///// <summary>The program below returned an MS-DOS error code:</summary>
  3573. //public const uint NERR_BadDosRetCode = 2500;
  3574. ///// <summary>The program below needs more memory:</summary>
  3575. //public const uint NERR_ProgNeedsExtraMem = 2501;
  3576. ///// <summary>The program below called an unsupported MS-DOS function:</summary>
  3577. //public const uint NERR_BadDosFunction = 2502;
  3578. ///// <summary>The workstation failed to boot.</summary>
  3579. //public const uint NERR_RemoteBootFailed = 2503;
  3580. ///// <summary>The file below is corrupt.</summary>
  3581. //public const uint NERR_BadFileCheckSum = 2504;
  3582. ///// <summary>No loader is specified in the boot-block definition file.</summary>
  3583. //public const uint NERR_NoRplBootSystem = 2505;
  3584. ///// <summary>NetBIOS returned an error: The NCB and SMB are dumped above.</summary>
  3585. //public const uint NERR_RplLoadrNetBiosErr = 2506;
  3586. ///// <summary>A disk I/O error occurred.</summary>
  3587. //public const uint NERR_RplLoadrDiskErr = 2507;
  3588. ///// <summary>Image parameter substitution failed.</summary>
  3589. //public const uint NERR_ImageParamErr = 2508;
  3590. ///// <summary>Too many image parameters cross disk sector boundaries.</summary>
  3591. //public const uint NERR_TooManyImageParams = 2509;
  3592. ///// <summary>The image was not generated from an MS-DOS diskette formatted with /S.</summary>
  3593. //public const uint NERR_NonDosFloppyUsed = 2510;
  3594. ///// <summary>Remote boot will be restarted later.</summary>
  3595. //public const uint NERR_RplBootRestart = 2511;
  3596. ///// <summary>The call to the Remoteboot server failed.</summary>
  3597. //public const uint NERR_RplSrvrCallFailed = 2512;
  3598. ///// <summary>Cannot connect to the Remoteboot server.</summary>
  3599. //public const uint NERR_CantConnectRplSrvr = 2513;
  3600. ///// <summary>Cannot open image file on the Remoteboot server.</summary>
  3601. //public const uint NERR_CantOpenImageFile = 2514;
  3602. ///// <summary>Connecting to the Remoteboot server...</summary>
  3603. //public const uint NERR_CallingRplSrvr = 2515;
  3604. ///// <summary>Connecting to the Remoteboot server...</summary>
  3605. //public const uint NERR_StartingRplBoot = 2516;
  3606. ///// <summary>Remote boot service was stopped; check the error log for the cause of the problem.</summary>
  3607. //public const uint NERR_RplBootServiceTerm = 2517;
  3608. ///// <summary>Remote boot startup failed; check the error log for the cause of the problem.</summary>
  3609. //public const uint NERR_RplBootStartFailed = 2518;
  3610. ////// <summary>A second connection to a Remoteboot resource is not allowed.</summary>
  3611. //public const uint NERR_RplConnected = 2519;
  3612. ///// <summary>The browser service was configured with MaintainServerList=No.</summary>
  3613. //public const uint NERR_BrowserConfiguredToNotRun = 2550;
  3614. ///// <summary>Service failed to start since none of the network adapters started with this service.</summary>
  3615. //public const uint NERR_RplNoAdaptersStarted = 2610;
  3616. ///// <summary>Service failed to start due to bad startup information in the registry.</summary>
  3617. //public const uint NERR_RplBadRegistry = 2611;
  3618. ///// <summary>Service failed to start because its database is absent or corrupt.</summary>
  3619. //public const uint NERR_RplBadDatabase = 2612;
  3620. ///// <summary>Service failed to start because RPLFILES share is absent.</summary>
  3621. //public const uint NERR_RplRplfilesShare = 2613;
  3622. ///// <summary>Service failed to start because RPLUSER group is absent.</summary>
  3623. //public const uint NERR_RplNotRplServer = 2614;
  3624. ///// <summary>Cannot enumerate service records.</summary>
  3625. //public const uint NERR_RplCannotEnum = 2615;
  3626. ///// <summary>Workstation record information has been corrupted.</summary>
  3627. //public const uint NERR_RplWkstaInfoCorrupted = 2616;
  3628. ///// <summary>Workstation record was not found.</summary>
  3629. //public const uint NERR_RplWkstaNotFound = 2617;
  3630. ///// <summary>Workstation name is in use by some other workstation.</summary>
  3631. //public const uint NERR_RplWkstaNameUnavailable = 2618;
  3632. ///// <summary>Profile record information has been corrupted.</summary>
  3633. //public const uint NERR_RplProfileInfoCorrupted = 2619;
  3634. ///// <summary>Profile record was not found.</summary>
  3635. //public const uint NERR_RplProfileNotFound = 2620;
  3636. ///// <summary>Profile name is in use by some other profile.</summary>
  3637. //public const uint NERR_RplProfileNameUnavailable = 2621;
  3638. ///// <summary>There are workstations using this profile.</summary>
  3639. //public const uint NERR_RplProfileNotEmpty = 2622;
  3640. ///// <summary>Configuration record information has been corrupted.</summary>
  3641. //public const uint NERR_RplConfigInfoCorrupted = 2623;
  3642. ///// <summary>Configuration record was not found.</summary>
  3643. //public const uint NERR_RplConfigNotFound = 2624;
  3644. ///// <summary>Adapter ID record information has been corrupted.</summary>
  3645. //public const uint NERR_RplAdapterInfoCorrupted = 2625;
  3646. ///// <summary>An internal service error has occurred.</summary>
  3647. //public const uint NERR_RplInternal = 2626;
  3648. ///// <summary>Vendor ID record information has been corrupted.</summary>
  3649. //public const uint NERR_RplVendorInfoCorrupted = 2627;
  3650. ///// <summary>Boot block record information has been corrupted.</summary>
  3651. //public const uint NERR_RplBootInfoCorrupted = 2628;
  3652. ///// <summary>The user account for this workstation record is missing.</summary>
  3653. //public const uint NERR_RplWkstaNeedsUserAcct = 2629;
  3654. ///// <summary>The RPLUSER local group could not be found.</summary>
  3655. //public const uint NERR_RplNeedsRPLUSERAcct = 2630;
  3656. ///// <summary>Boot block record was not found.</summary>
  3657. //public const uint NERR_RplBootNotFound = 2631;
  3658. ///// <summary>Chosen profile is incompatible with this workstation.</summary>
  3659. //public const uint NERR_RplIncompatibleProfile = 2632;
  3660. ///// <summary>Chosen network adapter ID is in use by some other workstation.</summary>
  3661. //public const uint NERR_RplAdapterNameUnavailable = 2633;
  3662. ///// <summary>There are profiles using this configuration.</summary>
  3663. //public const uint NERR_RplConfigNotEmpty = 2634;
  3664. ///// <summary>There are workstations, profiles, or configurations using this boot block.</summary>
  3665. //public const uint NERR_RplBootInUse = 2635;
  3666. ///// <summary>Service failed to backup Remoteboot database.</summary>
  3667. //public const uint NERR_RplBackupDatabase = 2636;
  3668. ///// <summary>Adapter record was not found.</summary>
  3669. //public const uint NERR_RplAdapterNotFound = 2637;
  3670. ///// <summary>Vendor record was not found.</summary>
  3671. //public const uint NERR_RplVendorNotFound = 2638;
  3672. ///// <summary>Vendor name is in use by some other vendor record.</summary>
  3673. //public const uint NERR_RplVendorNameUnavailable = 2639;
  3674. ///// <summary>(boot name, vendor ID) is in use by some other boot block record.</summary>
  3675. //public const uint NERR_RplBootNameUnavailable = 2640;
  3676. ///// <summary>Configuration name is in use by some other configuration.</summary>
  3677. //public const uint NERR_RplConfigNameUnavailable = 2641;
  3678. ///// <summary>The internal database maintained by the Dfs service is corrupt.</summary>
  3679. //public const uint NERR_DfsInternalCorruption = 2660;
  3680. ///// <summary>One of the records in the internal Dfs database is corrupt.</summary>
  3681. //public const uint NERR_DfsVolumeDataCorrupt = 2661;
  3682. ///// <summary>There is no DFS name whose entry path matches the input Entry Path.</summary>
  3683. //public const uint NERR_DfsNoSuchVolume = 2662;
  3684. ///// <summary>A root or link with the given name already exists.</summary>
  3685. //public const uint NERR_DfsVolumeAlreadyExists = 2663;
  3686. ///// <summary>The server share specified is already shared in the Dfs.</summary>
  3687. //public const uint NERR_DfsAlreadyShared = 2664;
  3688. ///// <summary>The indicated server share does not support the indicated DFS namespace.</summary>
  3689. //public const uint NERR_DfsNoSuchShare = 2665;
  3690. ///// <summary>The operation is not valid on this portion of the namespace.</summary>
  3691. //public const uint NERR_DfsNotALeafVolume = 2666;
  3692. ///// <summary>The operation is not valid on this portion of the namespace.</summary>
  3693. //public const uint NERR_DfsLeafVolume = 2667;
  3694. ///// <summary>The operation is ambiguous because the link has multiple servers.</summary>
  3695. //public const uint NERR_DfsVolumeHasMultipleServers = 2668;
  3696. ///// <summary>Unable to create a link.</summary>
  3697. //public const uint NERR_DfsCantCreateJunctionPoint = 2669;
  3698. ///// <summary>The server is not Dfs Aware.</summary>
  3699. //public const uint NERR_DfsServerNotDfsAware = 2670;
  3700. ///// <summary>The specified rename target path is invalid.</summary>
  3701. //public const uint NERR_DfsBadRenamePath = 2671;
  3702. ///// <summary>The specified DFS link is offline.</summary>
  3703. //public const uint NERR_DfsVolumeIsOffline = 2672;
  3704. ///// <summary>The specified server is not a server for this link.</summary>
  3705. //public const uint NERR_DfsNoSuchServer = 2673;
  3706. ///// <summary>A cycle in the Dfs name was detected.</summary>
  3707. //public const uint NERR_DfsCyclicalName = 2674;
  3708. ///// <summary>The operation is not supported on a server-based Dfs.</summary>
  3709. //public const uint NERR_DfsNotSupportedInServerDfs = 2675;
  3710. ///// <summary>This link is already supported by the specified server-share.</summary>
  3711. //public const uint NERR_DfsDuplicateService = 2676;
  3712. ///// <summary>Can't remove the last server-share supporting this root or link.</summary>
  3713. //public const uint NERR_DfsCantRemoveLastServerShare = 2677;
  3714. ///// <summary>The operation is not supported for an Inter-DFS link.</summary>
  3715. //public const uint NERR_DfsVolumeIsInterDfs = 2678;
  3716. ///// <summary>The internal state of the Dfs Service has become inconsistent.</summary>
  3717. //public const uint NERR_DfsInconsistent = 2679;
  3718. ///// <summary>The Dfs Service has been installed on the specified server.</summary>
  3719. //public const uint NERR_DfsServerUpgraded = 2680;
  3720. ///// <summary>The Dfs data being reconciled is identical.</summary>
  3721. //public const uint NERR_DfsDataIsIdentical = 2681;
  3722. ///// <summary>The DFS root cannot be deleted. Uninstall DFS if required.</summary>
  3723. //public const uint NERR_DfsCantRemoveDfsRoot = 2682;
  3724. ///// <summary>A child or parent directory of the share is already in a Dfs.</summary>
  3725. //public const uint NERR_DfsChildOrParentInDfs = 2683;
  3726. ///// <summary>Dfs internal error.</summary>
  3727. //public const uint NERR_DfsInternalError = 2690;
  3728. ///// <summary>This computer is already joined to a domain.</summary>
  3729. //public const uint NERR_SetupAlreadyJoined = 2691;
  3730. ///// <summary>This computer is not currently joined to a domain.</summary>
  3731. //public const uint NERR_SetupNotJoined = 2692;
  3732. ///// <summary>This computer is a domain controller and cannot be unjoined from a domain.</summary>
  3733. //public const uint NERR_SetupDomainController = 2693;
  3734. ///// <summary>The destination domain controller does not support creating machine accounts in OUs.</summary>
  3735. //public const uint NERR_DefaultJoinRequired = 2694;
  3736. ///// <summary>The specified workgroup name is invalid.</summary>
  3737. //public const uint NERR_InvalidWorkgroupName = 2695;
  3738. ///// <summary>The specified computer name is incompatible with the default language used on the domain controller.</summary>
  3739. //public const uint NERR_NameUsesIncompatibleCodePage = 2696;
  3740. ///// <summary>The specified computer account could not be found.</summary>
  3741. //public const uint NERR_ComputerAccountNotFound = 2697;
  3742. ///// <summary>This version of Windows cannot be joined to a domain.</summary>
  3743. //public const uint NERR_PersonalSku = 2698;
  3744. ///// <summary>The password must change at the next logon.</summary>
  3745. //public const uint NERR_PasswordMustChange = 2701;
  3746. ///// <summary>The account is locked out.</summary>
  3747. //public const uint NERR_AccountLockedOut = 2702;
  3748. ///// <summary>The password is too long.</summary>
  3749. //public const uint NERR_PasswordTooLong = 2703;
  3750. ///// <summary>The password does not meet the complexity policy.</summary>
  3751. //public const uint NERR_PasswordNotComplexEnough = 2704;
  3752. ///// <summary>The password does not meet the requirements of the password filter DLLs.</summary>
  3753. //public const uint NERR_PasswordFilterError = 2705;
  3754. ///// <summary>The offline join completion information was not found.</summary>
  3755. //public const uint NERR_NoOfflineJoinInfo = 2709;
  3756. ///// <summary>The offline join completion information was bad.</summary>
  3757. //public const uint NERR_BadOfflineJoinInfo = 2710;
  3758. ///// <summary>Unable to create offline join information. Please ensure you have access to the specified path location and permissions to modify its contents. Running as an elevated administrator may be required.</summary>
  3759. //public const uint NERR_CantCreateJoinInfo = 2711;
  3760. ///// <summary>The domain join info being saved was incomplete or bad.</summary>
  3761. //public const uint NERR_BadDomainJoinInfo = 2712;
  3762. ///// <summary>Offline join operation successfully completed but a restart is needed.</summary>
  3763. //public const uint NERR_JoinPerformedMustRestart = 2713;
  3764. ///// <summary>There was no offline join operation pending.</summary>
  3765. //public const uint NERR_NoJoinPending = 2714;
  3766. ///// <summary>Unable to set one or more requested machine or domain name values on the local computer.</summary>
  3767. //public const uint NERR_ValuesNotSet = 2715;
  3768. ///// <summary>Could not verify the current machine's hostname against the saved value in the join completion information.</summary>
  3769. //public const uint NERR_CantVerifyHostname = 2716;
  3770. ///// <summary>Unable to load the specified offline registry hive. Please ensure you have access to the specified path location and permissions to modify its contents. Running as an elevated administrator may be required.</summary>
  3771. //public const uint NERR_CantLoadOfflineHive = 2717;
  3772. ///// <summary>The minimum session security requirements for this operation were not met.</summary>
  3773. //public const uint NERR_ConnectionInsecure = 2718;
  3774. ///// <summary>Computer account provisioning blob version is not supported.</summary>
  3775. //public const uint NERR_RplBootInUse = 2719;
  3776. #endregion // Network Management Error Codes
  3777. #region Configuration Manager Error Codes
  3778. /// <summary>(0) The operation completed successfully.</summary>
  3779. public const uint CR_SUCCESS = 0;
  3780. //public const uint CR_DEFAULT = 1;
  3781. //public const uint CR_OUT_OF_MEMORY = 2;
  3782. //public const uint CR_INVALID_POINTER = 3;
  3783. //public const uint CR_INVALID_FLAG = 4;
  3784. //public const uint CR_INVALID_DEVNODE = 5;
  3785. //public const uint CR_INVALID_DEVINST = CR_INVALID_DEVNODE;
  3786. //public const uint CR_INVALID_RES_DES = 6;
  3787. //public const uint CR_INVALID_LOG_CONF = 7;
  3788. //public const uint CR_INVALID_ARBITRATOR = 8;
  3789. //public const uint CR_INVALID_NODELIST = 9;
  3790. //public const uint CR_DEVNODE_HAS_REQS = 10;
  3791. //public const uint CR_DEVINST_HAS_REQS = CR_DEVNODE_HAS_REQS;
  3792. //public const uint CR_INVALID_RESOURCEID = 11;
  3793. //public const uint CR_DLVXD_NOT_FOUND = 12; // WIN 95 ONLY
  3794. //public const uint CR_NO_SUCH_DEVNODE = 13;
  3795. //public const uint CR_NO_SUCH_DEVINST = CR_NO_SUCH_DEVNODE;
  3796. //public const uint CR_NO_MORE_LOG_CONF = 14;
  3797. //public const uint CR_NO_MORE_RES_DES = 15;
  3798. //public const uint CR_ALREADY_SUCH_DEVNODE = 16;
  3799. //public const uint CR_ALREADY_SUCH_DEVINST = CR_ALREADY_SUCH_DEVNODE;
  3800. //public const uint CR_INVALID_RANGE_LIST = 17;
  3801. //public const uint CR_INVALID_RANGE = 18;
  3802. //public const uint CR_FAILURE = 19;
  3803. //public const uint CR_NO_SUCH_LOGICAL_DEV = 20;
  3804. //public const uint CR_CREATE_BLOCKED = 21;
  3805. //public const uint CR_NOT_SYSTEM_VM = 22; // WIN 95 ONLY
  3806. //public const uint CR_REMOVE_VETOED = 23;
  3807. //public const uint CR_APM_VETOED = 24;
  3808. //public const uint CR_INVALID_LOAD_TYPE = 25;
  3809. //public const uint CR_BUFFER_SMALL = 26;
  3810. //public const uint CR_NO_ARBITRATOR = 27;
  3811. //public const uint CR_NO_REGISTRY_HANDLE = 28;
  3812. //public const uint CR_REGISTRY_ERROR = 29;
  3813. //public const uint CR_INVALID_DEVICE_ID = 30;
  3814. //public const uint CR_INVALID_DATA = 31;
  3815. //public const uint CR_INVALID_API = 32;
  3816. //public const uint CR_DEVLOADER_NOT_READY = 33;
  3817. //public const uint CR_NEED_RESTART = 34;
  3818. //public const uint CR_NO_MORE_HW_PROFILES = 35;
  3819. //public const uint CR_DEVICE_NOT_THERE = 36;
  3820. //public const uint CR_NO_SUCH_VALUE = 37;
  3821. //public const uint CR_WRONG_TYPE = 38;
  3822. //public const uint CR_INVALID_PRIORITY = 39;
  3823. //public const uint CR_NOT_DISABLEABLE = 40;
  3824. //public const uint CR_FREE_RESOURCES = 41;
  3825. //public const uint CR_QUERY_VETOED = 42;
  3826. //public const uint CR_CANT_SHARE_IRQ = 43;
  3827. //public const uint CR_NO_DEPENDENT = 44;
  3828. //public const uint CR_SAME_RESOURCES = 45;
  3829. //public const uint CR_NO_SUCH_REGISTRY_KEY = 46;
  3830. //public const uint CR_INVALID_MACHINENAME = 47; // NT ONLY
  3831. //public const uint CR_REMOTE_COMM_FAILURE = 48; // NT ONLY
  3832. //public const uint CR_MACHINE_UNAVAILABLE = 49; // NT ONLY
  3833. //public const uint CR_NO_CM_SERVICES = 50; // NT ONLY
  3834. //public const uint CR_ACCESS_DENIED = 51; // NT ONLY
  3835. //public const uint CR_CALL_NOT_IMPLEMENTED = 52;
  3836. //public const uint CR_INVALID_PROPERTY = 53;
  3837. //public const uint CR_DEVICE_INTERFACE_ACTIVE = 54;
  3838. //public const uint CR_NO_SUCH_DEVICE_INTERFACE = 55;
  3839. //public const uint CR_INVALID_REFERENCE_STRING = 56;
  3840. //public const uint NUM_CR_RESULTS = 57;
  3841. #endregion // Configuration Manager Error Codes
  3842. }
  3843. }