3 Star 0 Fork 0

mirrors_ReneNyffenegger/NtTrace

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
NtTrace.cfg 101.01 KB
一键复制 编辑 原始数据 按行查看 历史
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238
// NTDLL Native Interface entry points
// @author Roger Orr <rogero@howzatt.co.uk>
// Copyright &copy; 2002,2019.
// This software is distributed in the hope that it will be useful, but
// without WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// Permission is granted to anyone to make or distribute verbatim
// copies of this software provided that the copyright notice and
// this permission notice are preserved, and that the distributor
// grants the recipient permission for further distribution as permitted
// by this notice.
// Comments and suggestions are always welcome.
// Please report bugs to rogero@howzatt.co.uk.
// $Id: NtTrace.cfg 1947 2020-12-16 23:48:55Z roger $
// Alternate name for LPC_MESSAGE
typedef PLPC_MESSAGE PPORT_MESSAGE;
typedef PULONG PACCESS_MASK;
typedef PULONG PCWNF_STATE_NAME;
typedef PULONG PDEVICE_POWER_STATE;
typedef PULONG PNTSTATUS;
typedef PULONG PPROCESSOR_NUMBER;
typedef PULONG PWNF_STATE_NAME;
typedef PUSHORT PRTL_ATOM;
typedef PVOID PALPC_CONTEXT_ATTR;
typedef PVOID PALPC_INFO;
typedef PVOID PALPC_MESSAGE_ATTRIBUTES;
typedef PVOID PALPC_MESSAGE_VIEW;
typedef PVOID PALPC_PORT_ATTRIBUTES;
typedef PVOID PALPC_SECURITY_ATTR;
typedef PVOID PBOOT_ENTRY;
typedef PVOID PCONTEXT;
typedef PVOID PDRIVER_ENTRY;
typedef PVOID PEXCEPTION_RECORD;
typedef PVOID PGENERIC_MAPPING;
typedef PVOID PGROUP_AFFINITY;
typedef PVOID PGUID;
typedef PVOID PIO_APC_ROUTINE;
typedef PVOID PKTMOBJECT_CURSOR;
typedef PVOID PLUID;
typedef PVOID POBJECT_TYPE_LIST;
typedef PVOID PPLUGPLAY_EVENT_BLOCK;
typedef PVOID PPORT_VIEW;
typedef PVOID PPRIVILEGE_SET;
typedef PVOID PREMOTE_PORT_VIEW;
typedef PVOID PRTL_USER_PROCESS_PARAMETERS;
typedef PVOID PSECURITY_ATTRIBUTES;
typedef PVOID PSECURITY_DESCRIPTOR;
typedef PVOID PSID;
typedef PVOID PSID_AND_ATTRIBUTES;
typedef PVOID PTIMER_APC_ROUTINE;
typedef PVOID PTOKEN_DEFAULT_DACL;
typedef PVOID PTOKEN_GROUPS;
typedef PVOID PTOKEN_MANDATORY_POLICY;
typedef PVOID PTOKEN_OWNER;
typedef PVOID PTOKEN_PRIMARY_GROUP;
typedef PVOID PTOKEN_PRIVILEGES;
typedef PVOID PTOKEN_SECURITY_ATTRIBUTES_INFORMATION;
typedef PVOID PTOKEN_SOURCE;
typedef PVOID PTOKEN_USER;
typedef PVOID PTRANSACTION_NOTIFICATION;
typedef ULONG_PTR KAFFINITY;
typedef USHORT RTL_ATOM;
//[Atom]
NTSTATUS
NTAPI
NtAddAtom(
IN PWSTR AtomName,
IN ULONG AtomNameLength,
OUT PRTL_ATOM Atom
);
//[Atom]
NTSTATUS
NTAPI
NtAddAtomEx(
IN PWSTR AtomName,
IN ULONG AtomNameLength,
OUT PRTL_ATOM Atom,
ULONG Scope
);
//[Atom]
NTSTATUS
NTAPI
NtDeleteAtom(
IN RTL_ATOM Atom
);
//[Atom]
NTSTATUS
NTAPI
NtFindAtom(
IN PWSTR AtomName,
IN ULONG AtomNameLength,
OUT PRTL_ATOM Atom OPTIONAL
);
//[Atom]
NTSTATUS
NTAPI
NtQueryInformationAtom(
IN RTL_ATOM Atom,
IN ATOM_INFORMATION_CLASS AtomInformationClass,
OUT PVOID AtomInformation,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[Debug]
NTSTATUS
NTAPI
NtCreateProfile(
OUT PHANDLE ProfileHandle,
IN HANDLE Process,
IN PVOID ProfileBase,
IN ULONG ProfileSize,
IN ULONG BucketSize,
IN PULONG Buffer,
IN ULONG BufferSize,
IN KPROFILE_SOURCE ProfileSource,
IN KAFFINITY Affinity
);
//[Debug]
NTSTATUS
NTAPI
NtCreateProfileEx(
__out PHANDLE ProfileHandle,
__in_opt HANDLE Process,
__in PVOID ProfileBase,
__in ULONG ProfileSize,
__in ULONG BucketSize,
__in PULONG Buffer,
__in ULONG BufferSize,
__in ULONG ProfileSource,
__in ULONG GroupAffinityCount,
__in_opt PGROUP_AFFINITY GroupAffinity
);
//[Debug]
NTSTATUS
NTAPI
NtDebugActiveProcess(
IN HANDLE Process,
IN HANDLE DebugHandle
);
//[Debug]
NTSTATUS
NTAPI
NtDebugContinue(
IN HANDLE DebugHandle,
IN PCLIENT_ID ClientId,
IN NTSTATUS Status
);
//[Debug]
NTSTATUS
NTAPI
NtQueryDebugFilterState(
IN ULONG Component,
IN ULONG Level
);
//[Debug]
NTSTATUS
NTAPI
NtQueryIntervalProfile(
IN KPROFILE_SOURCE Source,
OUT PULONG Interval
);
//[Debug]
NTSTATUS
NTAPI
NtQueryPerformanceCounter(
OUT PLARGE_INTEGER Counter,
OUT PLARGE_INTEGER Freq OPTIONAL
);
//[Debug]
NTSTATUS
NTAPI
NtRegisterThreadTerminatePort(
IN HANDLE PortHandle
);
//[Debug]
NTSTATUS
NTAPI
NtRemoveProcessDebug(
IN HANDLE ProcessHandle,
IN HANDLE DebugHandle
);
//[Debug]
NTSTATUS
NTAPI
NtSetDebugFilterState(
IN ULONG Component,
IN ULONG Level,
IN BOOLEAN State
);
//[Debug]
NTSTATUS
NTAPI
NtSetInformationDebugObject(
IN HANDLE DebugHandle,
IN DEBUGOBJECTINFOCLASS Class,
IN PVOID Buffer,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[Debug]
NTSTATUS
NTAPI
NtSetIntervalProfile(
IN ULONG Interval,
IN KPROFILE_SOURCE Source
);
//[Debug]
NTSTATUS
NTAPI
NtStartProfile(
IN HANDLE ProfileHandle
);
//[Debug]
NTSTATUS
NTAPI
NtStopProfile(
IN HANDLE ProfileHandle
);
//[Debug]
NTSTATUS
NTAPI
NtSystemDebugControl(
IN SYSDBG_COMMAND Command,
IN PVOID InputBuffer,
IN ULONG InputBufferLength,
OUT PVOID OutputBuffer,
IN ULONG OutputBufferLength,
OUT PULONG ReturnLength
);
//[Debug]
NTSTATUS
NTAPI
NtTraceControl(
IN ULONG CtrlCode,
IN PVOID InputBuffer,
IN ULONG InputBufferLength,
OUT PVOID OutputBuffer,
IN ULONG OutputBufferLength,
OUT PULONG ReturnLength
);
//[Debug]
NTSTATUS
NTAPI
NtWaitForDebugEvent(
IN HANDLE DebugHandle,
IN BOOLEAN Alertable,
IN PLARGE_INTEGER Timeout OPTIONAL,
OUT PULONG Result
);
//[Device]
NTSTATUS
NTAPI
NtAddBootEntry(
IN PUNICODE_STRING Name,
IN PUNICODE_STRING Value
);
//[Device]
NTSTATUS
NTAPI
NtAddDriverEntry(
IN PUNICODE_STRING Name,
IN PUNICODE_STRING Path
);
//[Device]
NTSTATUS
NTAPI
NtCancelDeviceWakeupRequest(
IN HANDLE DeviceHandle
);
//[Device]
NTSTATUS
NTAPI
NtDeleteBootEntry(
IN PUNICODE_STRING Name
);
//[Device]
NTSTATUS
NTAPI
NtDeleteDriverEntry(
IN PUNICODE_STRING Name
);
//[Device]
NTSTATUS
NTAPI
NtDisableLastKnownGood(
);
//[Device]
NTSTATUS
NTAPI
NtEnableLastKnownGood(
);
//[Device]
NTSTATUS
NTAPI
NtEnumerateBootEntries(
IN PVOID Buffer,
IN PULONG BufferLength
);
//[Device]
NTSTATUS
NTAPI
NtEnumerateDriverEntries(
IN PVOID Buffer,
IN PULONG BufferLength
);
//[Device]
NTSTATUS
NTAPI
NtGetDevicePowerState(
IN HANDLE DeviceHandle,
OUT PDEVICE_POWER_STATE State
);
//[Device]
NTSTATUS
NTAPI
NtGetPlugPlayEvent(
__in HANDLE EventHandle,
__in_opt PVOID Context,
__out PPLUGPLAY_EVENT_BLOCK EventBlock,
__in ULONG EventBufferSize
);
//[Device]
NTSTATUS
NTAPI
NtInitiatePowerAction(
IN POWER_ACTION Action,
IN SYSTEM_POWER_STATE State,
IN ULONG Flags,
IN BOOLEAN Asynch
);
//[Device]
NTSTATUS
NTAPI
NtLoadDriver(
IN PUNICODE_STRING DriverName
);
//[Device]
NTSTATUS
NTAPI
NtModifyBootEntry(
IN PBOOT_ENTRY BootEntry
);
//[Device]
NTSTATUS
NTAPI
NtModifyDriverEntry(
IN PDRIVER_ENTRY DriverEntry
);
//[Device]
NTSTATUS
NTAPI
NtPlugPlayControl(
IN ULONG Class,
IN OUT PVOID Buffer,
IN ULONG BufferSize
);
//[Device]
NTSTATUS
NTAPI
NtPowerInformation(
IN POWER_INFORMATION_LEVEL InformationLevel,
IN PVOID InputBuffer OPTIONAL,
IN ULONG InputLength,
OUT PVOID OutputBuffer,
IN ULONG OutputLength
);
//[Device]
NTSTATUS
NTAPI
NtQueryBootEntryOrder(
IN PULONG OrderArray OPTIONAL,
IN OUT PULONG OrderCount
);
//[Device]
NTSTATUS
NTAPI
NtQueryBootOptions(
OUT PVOID Buffer OPTIONAL,
IN OUT PULONG BufferLength
);
//[Device]
NTSTATUS
NTAPI
NtQueryDriverEntryOrder(
OUT PULONG OrderArray OPTIONAL,
IN OUT PULONG OrderCount
);
//[Device]
NTSTATUS
NTAPI
NtReplacePartitionUnit(
__in PUNICODE_STRING TargetInstancePath,
__in PUNICODE_STRING SpareInstancePath,
__in ULONG Flags
);
//[Device]
NTSTATUS
NTAPI
NtRequestDeviceWakeup(
IN HANDLE DeviceHandle
);
//[Device]
NTSTATUS
NTAPI
NtRequestWakeupLatency(
IN ULONG LatencyTime
);
//[Device]
NTSTATUS
NTAPI
NtSerializeBoot(
);
//[Device]
NTSTATUS
NTAPI
NtSetBootEntryOrder(
IN PULONG OrderArray,
IN ULONG OrderCount
);
//[Device]
NTSTATUS
NTAPI
NtSetBootOptions(
IN PVOID Buffer,
IN ULONG BufferLength
);
//[Device]
NTSTATUS
NTAPI
NtSetDriverEntryOrder(
IN PULONG OrderArray,
IN ULONG OrderCount
);
//[Device]
NTSTATUS
NTAPI
NtSetSystemPowerState(
IN POWER_ACTION Action,
IN SYSTEM_POWER_STATE State,
IN ULONG Flags
);
//[Device]
NTSTATUS
NTAPI
NtSetThreadExecutionState(
IN ULONG State,
OUT PULONG PreviousState
);
//[Device]
NTSTATUS
NTAPI
NtUnloadDriver(
IN PUNICODE_STRING DriverName
);
//[Device]
NTSTATUS
NTAPI
NtVdmControl(
IN ULONG ControlCode,
IN PVOID ControlData
);
//[Environment]
NTSTATUS
NTAPI
NtEnumerateSystemEnvironmentValuesEx(
IN ULONG Class,
OUT PVOID Buffer,
IN ULONG BufferLength
);
//[Environment]
ULONG
NTAPI
NtGetCurrentProcessorNumber(
);
//[Environment]
NTSTATUS
NTAPI
NtGetCurrentProcessorNumberEx(
__out_opt PULONG ProcNumber
);
//[Environment]
NTSTATUS
NTAPI
NtIsSystemResumeAutomatic(
);
//[Environment]
NTSTATUS
NTAPI
NtQueryDefaultLocale(
IN BOOLEAN UserProfile,
OUT PLCID DefaultLocaleId
);
//[Environment]
NTSTATUS
NTAPI
NtQueryDefaultUILanguage(
OUT PULONG LanguageId
);
//[Environment]
NTSTATUS
NTAPI
NtQueryInstallUILanguage(
OUT PULONG LanguageId
);
//[Environment]
NTSTATUS
NTAPI
NtQuerySystemEnvironmentValue(
IN PUNICODE_STRING Name,
OUT PWSTR Value,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[Environment]
NTSTATUS
NTAPI
NtQuerySystemEnvironmentValueEx(
IN PUNICODE_STRING VariableName,
IN PVOID Guid,
OUT PVOID Buffer,
IN OUT PULONG BufferLength,
IN OUT PULONG Attributes
);
//[Environment]
NTSTATUS
NTAPI
NtQuerySystemInformation(
IN SYSTEM_INFORMATION_CLASS SystemInformationClass,
OUT PVOID SystemInformation,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[Environment]
NTSTATUS
NTAPI
NtQuerySystemInformationEx(
IN SYSTEM_INFORMATION_CLASS SystemInformationClass,
IN PULONG QueryType,
IN ULONG Alignment,
OUT PVOID SystemInformation,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[Environment]
NTSTATUS
NTAPI
NtSetDefaultLocale(
IN BOOLEAN UserProfile,
IN LCID LocaleId
);
//[Environment]
NTSTATUS
NTAPI
NtSetDefaultUILanguage(
IN ULONG LanguageId
);
//[Environment]
NTSTATUS
NTAPI
NtSetSystemEnvironmentValue(
IN PUNICODE_STRING Name,
IN PUNICODE_STRING Value
);
//[Environment]
NTSTATUS
NTAPI
NtSetSystemEnvironmentValueEx(
IN PUNICODE_STRING Name,
IN PVOID Guid,
IN PVOID Buffer,
IN ULONG BufferLength,
IN ULONG Attributes
);
//[Environment]
NTSTATUS
NTAPI
NtSetSystemInformation(
IN SYSTEM_INFORMATION_CLASS SystemInformationClass,
IN PVOID SystemInformation,
IN ULONG Length
);
//[Environment]
ULONG
NTAPI
NtWow64GetCurrentProcessorNumberEx(
__out PPROCESSOR_NUMBER ProcNumber
);
//[File]
NTSTATUS
NTAPI
NtAreMappedFilesTheSame(
IN PVOID Address1,
IN PVOID Address2
);
//[File]
NTSTATUS
NTAPI
NtAssociateWaitCompletionPacket(
__in HANDLE WaitCompletionPacketHandle,
__in HANDLE IoCompletionHandle,
__in HANDLE TargetObjectHandle,
__in_opt PVOID KeyContext,
__in_opt PVOID ApcContext,
__in NTSTATUS IoStatus,
__in ULONG_PTR IoStatusInformation,
__out_opt PBOOLEAN AlreadySignaled
);
//[File]
NTSTATUS
NTAPI
NtCancelIoFile(
IN HANDLE FileHandle,
OUT PIO_STATUS_BLOCK IoStatusBlock
);
//[File]
NTSTATUS
NTAPI
NtCancelIoFileEx(
IN HANDLE hFile,
IN PIO_STATUS_BLOCK IoStatusBlockIn,
OUT PIO_STATUS_BLOCK IoStatusBlock
);
//[File]
NTSTATUS
NTAPI
NtCancelSynchronousIoFile(
IN HANDLE ThreadHandle,
IN PIO_STATUS_BLOCK IoStatusBlockIn OPTIONAL,
OUT PIO_STATUS_BLOCK IoStatusBlock
);
//[File]
NTSTATUS
NTAPI
NtCancelWaitCompletionPacket(
__in HANDLE CompletionHandle,
__in BOOLEAN Flag
);
//[File]
NTSTATUS
NTAPI
NtClose(
IN HANDLE Handle
);
//[File]
NTSTATUS
NTAPI
NtCreateFile(
OUT PHANDLE FileHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN PLARGE_INTEGER AllocationSize OPTIONAL,
IN ULONG FileAttributes,
IN ULONG ShareAccess,
IN ULONG CreateDisposition,
IN ULONG CreateOptions,
IN PVOID EaBuffer OPTIONAL,
IN ULONG EaLength
);
//[File]
NTSTATUS
NTAPI
NtCreateIoCompletion(
OUT PHANDLE IoHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN ULONG NumberOfConcurrentThreads
);
//[File]
NTSTATUS
NTAPI
NtCreateMailslotFile(
OUT PHANDLE Handle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN ULONG CreateOptions,
IN ULONG InBufferSize,
IN ULONG MaxMessageSize,
IN PLARGE_INTEGER ReadTimeout OPTIONAL
);
//[File]
NTSTATUS
NTAPI
NtCreateNamedPipeFile(
OUT PHANDLE NamedPipeHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN ULONG ShareAccess,
IN ULONG CreateDisposition,
IN ULONG CreateOptions,
IN BOOLEAN MessageType,
IN BOOLEAN MessageRead,
IN BOOLEAN NonBlocking,
IN ULONG MaxInstances,
IN ULONG InBufferSize,
IN ULONG OutBufferSize,
IN PLARGE_INTEGER Timeout OPTIONAL
);
//[File]
NTSTATUS
NTAPI
NtCreatePagingFile(
IN PUNICODE_STRING PageFileName,
IN PLARGE_INTEGER MinSize,
IN PLARGE_INTEGER MaxSize,
OUT PLARGE_INTEGER ActualSize OPTIONAL
);
//[File]
NTSTATUS
NTAPI
NtCreateWaitCompletionPacket(
__out PHANDLE WaitCompletionPacketHandle,
__in ACCESS_MASK DesiredAccess,
__in_opt POBJECT_ATTRIBUTES ObjectAttributes
);
//[File]
NTSTATUS
NTAPI
NtDeleteFile(
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[File]
NTSTATUS
NTAPI
NtDeviceIoControlFile(
IN HANDLE FileHandle,
IN HANDLE Event,
IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
IN PVOID ApcContext OPTIONAL,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN ULONG IoControlCode,
IN PVOID InputBuffer,
IN ULONG InputBufferLength,
OUT PVOID OutputBuffer,
IN ULONG OutputBufferLength
);
//[File]
NTSTATUS
NTAPI
NtFlushBuffersFile(
IN HANDLE FileHandle,
OUT PIO_STATUS_BLOCK IoStatusBlock
);
//[File]
NTSTATUS
NTAPI
NtFlushBuffersFileEx(
IN HANDLE FileHandle,
IN ULONG Flags,
IN PVOID Parameters,
IN ULONG ParametersSize,
OUT PIO_STATUS_BLOCK IoStatusBlock
);
//[File]
NTSTATUS
NTAPI
NtFsControlFile(
IN HANDLE FileHandle,
IN HANDLE Event,
IN PIO_APC_ROUTINE UserApcRoutine OPTIONAL,
IN PVOID UserApcContext OPTIONAL,
OUT PIO_STATUS_BLOCK UserIoStatus,
IN ULONG FsControlCode,
IN PVOID InputBuffer OPTIONAL,
IN ULONG InputBufferLength OPTIONAL,
OUT PVOID OutputBuffer OPTIONAL,
IN ULONG OutputBufferLength OPTIONAL
);
//[File]
NTSTATUS
NTAPI
NtLockFile(
IN HANDLE FileHandle,
IN HANDLE Event,
IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
IN PVOID ApcContext OPTIONAL,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN PLARGE_INTEGER Offset,
IN PLARGE_INTEGER Length,
IN ULONG Key,
IN BOOLEAN FailImmediately,
IN BOOLEAN ExclusiveLock
);
//[File]
NTSTATUS
NTAPI
NtNotifyChangeDirectoryFile(
IN HANDLE DirectoryHandle,
IN HANDLE EventHandle,
IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
IN PVOID ApcContext OPTIONAL,
OUT PIO_STATUS_BLOCK IoStatusBlock,
OUT PVOID Buffer,
IN ULONG BufferLength,
IN ULONG CompletionFilter,
IN BOOLEAN Recursive
);
//[File]
NTSTATUS
NTAPI
NtNotifyChangeDirectoryFileEx(
_In_ HANDLE FileHandle,
_In_opt_ HANDLE Event,
_In_opt_ PIO_APC_ROUTINE ApcRoutine,
_In_opt_ PVOID ApcContext,
_Out_ PIO_STATUS_BLOCK IoStatusBlock,
_Out_ PVOID Buffer,
_In_ ULONG Length,
_In_ ULONG CompletionFilter,
_In_ BOOLEAN WatchTree,
_In_opt_ DIRECTORY_NOTIFY_INFORMATION_CLASS DirectoryNotifyInformationClass
);
//[File]
NTSTATUS
NTAPI
NtOpenFile(
OUT PHANDLE FileHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN ULONG ShareAccess,
IN ULONG OpenOptions
);
//[File]
NTSTATUS
NTAPI
NtOpenIoCompletion(
OUT PHANDLE Handle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[File]
NTSTATUS
NTAPI
NtQueryAttributesFile(
IN POBJECT_ATTRIBUTES ObjectAttributes,
OUT PFILE_BASIC_INFORMATION Attributes
);
//[File]
NTSTATUS
NTAPI
NtQueryDirectoryFile(
IN HANDLE FileHandle,
IN HANDLE Event OPTIONAL,
IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
IN PVOID ApcContext OPTIONAL,
OUT PIO_STATUS_BLOCK IoStatusBlock,
OUT PVOID FileInformation,
IN ULONG Length,
IN FILE_INFORMATION_CLASS FileInformationClass,
IN BOOLEAN ReturnSingleEntry,
IN PUNICODE_STRING FileName OPTIONAL,
IN BOOLEAN RestartScan
);
//[File]
NTSTATUS
NTAPI
NtQueryDirectoryFileEx(
_In_ HANDLE FileHandle,
_In_opt_ HANDLE Event,
_In_opt_ PIO_APC_ROUTINE ApcRoutine,
_In_opt_ PVOID ApcContext,
_Out_ PIO_STATUS_BLOCK IoStatusBlock,
_Out_ PVOID FileInformation,
_In_ ULONG Length,
_In_ FILE_INFORMATION_CLASS FileInformationClass,
_In_ ULONG QueryFlags,
_In_opt_ PUNICODE_STRING FileName
);
//[File]
NTSTATUS
NTAPI
NtQueryEaFile(
IN HANDLE FileHandle,
OUT PIO_STATUS_BLOCK IoStatusBlock,
OUT PVOID Buffer,
IN ULONG Length,
IN BOOLEAN SingleEntry,
IN PVOID Eas OPTIONAL,
IN ULONG EasLength,
IN PULONG Index OPTIONAL,
IN BOOLEAN Restart
);
//[File]
NTSTATUS
NTAPI
NtQueryFullAttributesFile(
IN POBJECT_ATTRIBUTES ObjectAttributes,
OUT PFILE_NETWORK_OPEN_INFORMATION Attributes
);
//[File]
NTSTATUS
NTAPI
NtQueryInformationByName(
__in POBJECT_ATTRIBUTES ObjectAttributes,
__out PIO_STATUS_BLOCK IoStatusBlock,
__out PVOID FileInformation,
__in ULONG Length,
__in FILE_INFORMATION_CLASS FileInformationClass
);
//[File]
NTSTATUS
NTAPI
NtQueryInformationFile(
IN HANDLE FileHandle,
OUT PIO_STATUS_BLOCK IoStatusBlock,
OUT PVOID FileInformation,
IN ULONG Length,
IN FILE_INFORMATION_CLASS FileInformationClass
);
//[File]
NTSTATUS
NTAPI
NtQueryIoCompletion(
IN HANDLE IoHandle,
IN ULONG Class,
OUT PVOID IoInformation,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[File]
NTSTATUS
NTAPI
NtQueryOleDirectoryFile(
);
//[File]
NTSTATUS
NTAPI
NtQueryQuotaInformationFile(
__in HANDLE FileHandle,
__out PIO_STATUS_BLOCK IoStatusBlock,
__out PVOID Buffer,
__in ULONG Length,
__in BOOLEAN ReturnSingleEntry,
__in_opt PVOID SidList,
__in ULONG SidListLength,
__in_opt PSID StartSid,
__in BOOLEAN RestartScan
);
//[File]
NTSTATUS
NTAPI
NtQueryVolumeInformationFile(
IN HANDLE FileHandle,
OUT PIO_STATUS_BLOCK IoStatusBlock,
OUT PVOID FsInformation,
IN ULONG Length,
IN FS_INFORMATION_CLASS FsInformationClass
);
//[File]
NTSTATUS
NTAPI
NtReadFile(
IN HANDLE FileHandle,
IN HANDLE Event OPTIONAL,
IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
IN PVOID ApcContext OPTIONAL,
OUT PIO_STATUS_BLOCK IoStatusBlock,
OUT PVOID Buffer,
IN ULONG Length,
IN PLARGE_INTEGER ByteOffset OPTIONAL,
IN PULONG Key OPTIONAL
);
//[File]
NTSTATUS
NTAPI
NtReadFileScatter(
IN HANDLE FileHandle,
IN HANDLE Event OPTIONAL,
IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
IN PVOID ApcContext OPTIONAL,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN PVOID Buffer,
IN ULONG BufferLength,
IN PLARGE_INTEGER Offset,
IN PULONG Key OPTIONAL
);
//[File]
NTSTATUS
NTAPI
NtRemoveIoCompletion(
IN HANDLE IoHandle,
OUT PULONG Key,
OUT PVOID Overlapped,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN PLARGE_INTEGER Timeout
);
//[File]
NTSTATUS
NTAPI
NtRemoveIoCompletionEx(
__in HANDLE IoCompletionHandle,
__out PVOID IoCompletionInformation,
__in ULONG Count,
__out PULONG NumEntriesRemoved,
__in_opt PLARGE_INTEGER Timeout,
__in BOOLEAN Alertable
);
//[File]
NTSTATUS
NTAPI
NtSetEaFile(
IN HANDLE FileHandle,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN PVOID Buffer,
IN ULONG BufferLength
);
//[File]
NTSTATUS
NTAPI
NtSetInformationFile(
IN HANDLE FileHandle,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN PVOID FileInformation,
IN ULONG Length,
IN FILE_INFORMATION_CLASS FileInformationClass
);
//[File]
NTSTATUS
NTAPI
NtSetIoCompletion(
IN HANDLE IoHandle,
IN ULONG Key,
IN OUT PVOID Overlapped,
IN NTSTATUS Status,
IN ULONG DataLength
);
//[File]
NTSTATUS
NTAPI
NtSetIoCompletionEx(
__in HANDLE IoCompletionHandle,
__in HANDLE IoCompletionReserveHandle,
__in PVOID KeyContext,
__in_opt PVOID ApcContext,
__in NTSTATUS IoStatus,
__in ULONG IoStatusInformation
);
//[File]
NTSTATUS
NTAPI
NtSetQuotaInformationFile(
__in HANDLE FileHandle,
__out PIO_STATUS_BLOCK IoStatusBlock,
__in PVOID Buffer,
__in ULONG Length
);
//[File]
NTSTATUS
NTAPI
NtSetVolumeInformationFile(
__in HANDLE FileHandle,
__out PIO_STATUS_BLOCK IoStatusBlock,
__in PVOID FsInformation,
__in ULONG Length,
__in FS_INFORMATION_CLASS FsInformationClass
);
//[File]
NTSTATUS
NTAPI
NtTranslateFilePath(
IN PVOID InputPath,
IN ULONG OutputType,
OUT PVOID OutputFilePath,
IN ULONG OutputFilePathLength
);
//[File]
NTSTATUS
NTAPI
NtUnlockFile(
IN HANDLE FileHandle,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN PLARGE_INTEGER Offset,
IN PLARGE_INTEGER Length,
IN ULONG Key
);
//[File]
NTSTATUS
NTAPI
NtWriteFile(
IN HANDLE FileHandle,
IN HANDLE Event OPTIONAL,
IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
IN PVOID ApcContext OPTIONAL,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN PVOID Buffer,
IN ULONG Length,
IN PLARGE_INTEGER ByteOffset OPTIONAL,
IN PULONG Key OPTIONAL
);
//[File]
NTSTATUS
NTAPI
NtWriteFileGather(
IN HANDLE FileHandle,
IN HANDLE Event OPTIONAL,
IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
IN PVOID ApcContext OPTIONAL,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN PVOID Segments,
IN ULONG Length,
IN PLARGE_INTEGER ByteOffset,
IN PULONG Key OPTIONAL
);
//[Job]
NTSTATUS
NTAPI
NtAssignProcessToJobObject(
IN HANDLE JobHandle,
IN HANDLE ProcessHandle
);
//[Job]
NTSTATUS
NTAPI
NtCreateJobObject(
OUT PHANDLE JobHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[Job]
NTSTATUS
NTAPI
NtCreateJobSet(
IN ULONG JobNumber,
IN PVOID UserJobSet,
IN ULONG Flags
);
//[Job]
NTSTATUS
NTAPI
NtIsProcessInJob(
IN HANDLE hProcess,
IN HANDLE hJob OPTIONAL
);
//[Job]
NTSTATUS
NTAPI
NtOpenJobObject(
OUT PHANDLE JobHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[Job]
NTSTATUS
NTAPI
NtQueryInformationJobObject(
IN HANDLE JobHandle,
IN JOB_INFORMATION_CLASS JobInformationClass,
OUT PVOID JobInformation,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[Job]
NTSTATUS
NTAPI
NtSetInformationJobObject(
IN HANDLE Handle,
IN JOB_INFORMATION_CLASS Class,
IN PVOID Buffer,
IN ULONG BufferLength
);
//[Job]
NTSTATUS
NTAPI
NtTerminateJobObject(
IN HANDLE JobHandle,
IN NTSTATUS ExitStatus
);
//[LPC]
NTSTATUS
NTAPI
NtAcceptConnectPort(
OUT PHANDLE PortHandle,
IN PVOID PortContext OPTIONAL,
IN PPORT_MESSAGE ConnectionRequest,
IN BOOLEAN AcceptConnection,
IN OUT PPORT_VIEW ServerView OPTIONAL,
OUT PREMOTE_PORT_VIEW ClientView OPTIONAL
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcAcceptConnectPort(
OUT PHANDLE PortHandle,
IN HANDLE ConnectionPortHandle,
IN ULONG Flags,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN PALPC_PORT_ATTRIBUTES PortAttributes,
IN PVOID PortContext OPTIONAL,
IN PPORT_MESSAGE ConnectionRequest,
IN OUT PALPC_MESSAGE_ATTRIBUTES ConnectionMessageAttributes OPTIONAL,
IN BOOLEAN AcceptConnection
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcCancelMessage(
IN HANDLE PortHandle,
IN ULONG Flags,
IN PALPC_CONTEXT_ATTR MessageContext
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcConnectPort(
__out PHANDLE PortHandle,
__in PUNICODE_STRING PortName,
__in POBJECT_ATTRIBUTES ObjectAttributes,
__in_opt PALPC_PORT_ATTRIBUTES PortAttributes,
__in ULONG Flags,
__in_opt PSID RequiredServerSid,
__inout PPORT_MESSAGE ConnectionMessage,
__inout_opt PULONG BufferLength,
__inout_opt PALPC_MESSAGE_ATTRIBUTES OutMessageAttributes,
__inout_opt PALPC_MESSAGE_ATTRIBUTES InMessageAttributes,
__in_opt PLARGE_INTEGER Timeout
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcConnectPortEx(
__out PHANDLE PortHandle,
__in PUNICODE_STRING PortName,
__in POBJECT_ATTRIBUTES ObjectAttributes,
__in PALPC_INFO PortInformation,
__in ULONG ConnectionFlags,
__in PSECURITY_DESCRIPTOR pSelfRelativeSD,
__inout PPORT_MESSAGE ConnectionMessage,
__inout_opt PULONG BufferLength,
__inout_opt PALPC_MESSAGE_ATTRIBUTES OutMessageAttributes,
__inout_opt PALPC_MESSAGE_ATTRIBUTES InMessageAttributes,
__in_opt PLARGE_INTEGER Timeout
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcCreatePort(
OUT PHANDLE PortHandle,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN OUT PALPC_INFO PortInformation OPTIONAL
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcCreatePortSection(
HANDLE PortHandle,
ULONG AlpcSectionFlag,
HANDLE SectionHandle OPTIONAL,
ULONG SectionSize,
PHANDLE AlpcSectionHandle,
PULONG ResSize
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcCreateResourceReserve(
__in HANDLE PortHandle,
__in ULONG Flags,
__in ULONG MessageSize,
__out PHANDLE ResourceId
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcCreateSectionView(
HANDLE PortHandle,
ULONG FlagUnusedMustbeZero,
PALPC_MESSAGE_VIEW pMessageBuffer
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcCreateSecurityContext(
__in HANDLE PortHandle,
__in ULONG Flags,
__inout PALPC_SECURITY_ATTR SecurityAttribute
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcDeletePortSection(
__in HANDLE PortHandle,
__in ULONG Flags,
__in HANDLE SectionHandle
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcDeleteResourceReserve(
__in HANDLE PortHandle,
__in ULONG Flags,
__in HANDLE ResourceHandle
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcDeleteSectionView(
__in HANDLE PortHandle,
__in ULONG Flags,
__in PVOID ViewBase
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcDeleteSecurityContext(
__in HANDLE PortHandle,
__in ULONG Flags,
__in HANDLE ContextHandle
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcDisconnectPort(
__in HANDLE PortHandle,
__in ULONG Flags
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcImpersonateClientContainerOfPort(
__in HANDLE PortHandle,
__in PPORT_MESSAGE Message,
__in ULONG Flags
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcImpersonateClientOfPort(
__in HANDLE PortHandle,
__in PPORT_MESSAGE PortMessage,
__in PVOID Reserved
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcOpenSenderProcess(
__out PHANDLE ProcessHandle,
__in HANDLE PortHandle,
__in PPORT_MESSAGE PortMessage,
__in ULONG Flags,
__in ACCESS_MASK DesiredAccess,
__in POBJECT_ATTRIBUTES ObjectAttributes
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcOpenSenderThread(
__out PHANDLE ThreadHandle,
__in HANDLE PortHandle,
__in PPORT_MESSAGE PortMessage,
__in ULONG Flags,
__in ACCESS_MASK DesiredAccess,
__in POBJECT_ATTRIBUTES ObjectAttributes
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcQueryInformation(
__in HANDLE PortHandle,
__in ALPC_PORT_INFORMATION_CLASS PortInformationClass,
__out PVOID PortInformation,
__in ULONG Length,
__out_opt PULONG ReturnLength
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcQueryInformationMessage(
__in HANDLE PortHandle,
__in PPORT_MESSAGE PortMessage,
__in ALPC_MESSAGE_INFORMATION_CLASS MessageInformationClass,
__out PVOID MessageInformation,
__in ULONG Length,
__out_opt PULONG ReturnLength
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcRevokeSecurityContext(
__in HANDLE PortHandle,
__in ULONG Flags,
__in HANDLE ContextHandle
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcSendWaitReceivePort(
HANDLE PortHandle,
ULONG SendFlags,
PLPC_MESSAGE SendMessage OPTIONAL,
PVOID InMessageBuffer OPTIONAL,
PLPC_MESSAGE ReceiveBuffer OPTIONAL,
PULONG ReceiveBufferSize OPTIONAL,
PVOID OutMessageBuffer OPTIONAL,
PLARGE_INTEGER Timeout OPTIONAL
);
//[LPC]
NTSTATUS
NTAPI
NtAlpcSetInformation(
__in HANDLE PortHandle,
__in ALPC_PORT_INFORMATION_CLASS PortInformationClass,
__in PVOID PortInformation,
__in ULONG Length
);
//[LPC]
NTSTATUS
NTAPI
NtCompleteConnectPort(
IN HANDLE PortHandle
);
//[LPC]
NTSTATUS
NTAPI
NtConnectPort(
OUT PHANDLE PortHandle,
IN PUNICODE_STRING PortName,
IN PVOID SecurityQos,
IN OUT PPORT_VIEW ClientView OPTIONAL,
OUT PREMOTE_PORT_VIEW ServerView OPTIONAL,
OUT PULONG MaxMsgLength OPTIONAL,
IN OUT PVOID ConnectionInfo OPTIONAL,
IN OUT PULONG ConnectionInfoLength OPTIONAL
);
//[LPC]
NTSTATUS
NTAPI
NtCreateChannel(
OUT PHANDLE ChannelHandle,
IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL
);
//[LPC]
NTSTATUS
NTAPI
NtCreatePort(
OUT PHANDLE PortHandle,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN ULONG MaxConnectionInfoLength,
IN ULONG MaxMsgLength,
IN ULONG MaxPoolUsage
);
//[LPC]
NTSTATUS
NTAPI
NtCreateWaitablePort(
OUT PHANDLE PortHandle,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN ULONG MaxConnectionInfoLength,
IN ULONG MaxMsgLength,
IN ULONG MaxPoolUsage
);
//[LPC]
NTSTATUS
NTAPI
NtImpersonateClientOfPort(
IN HANDLE PortHandle,
IN PLPC_MESSAGE Message
);
//[LPC]
NTSTATUS
NTAPI
NtListenChannel(
IN HANDLE Handle,
OUT PVOID Message
);
//[LPC]
NTSTATUS
NTAPI
NtListenPort(
IN HANDLE Handle,
OUT PLPC_MESSAGE ConnectionData
);
//[LPC]
NTSTATUS
NTAPI
NtOpenChannel(
OUT PHANDLE ChannelHandle,
IN PUNICODE_STRING ChannelName
);
//[LPC]
NTSTATUS
NTAPI
NtQueryInformationPort(
IN HANDLE JobHandle,
IN PORT_INFORMATION_CLASS PortInformationClass,
OUT PVOID PortInformation,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[LPC]
NTSTATUS
NTAPI
NtQueryPortInformationProcess(
);
//[LPC]
NTSTATUS
NTAPI
NtReadRequestData(
IN HANDLE Handle,
IN PLPC_MESSAGE Request,
IN ULONG Index,
OUT PVOID Buffer,
IN ULONG BufferLength,
OUT PULONG ReturnLength OPTIONAL
);
//[LPC]
NTSTATUS
NTAPI
NtReplyPort(
IN HANDLE PortHandle,
IN PLPC_MESSAGE pMessage
);
//[LPC]
NTSTATUS
NTAPI
NtReplyWaitReceivePort(
IN HANDLE PortHandle,
OUT PHANDLE ReceiveHandle,
IN PLPC_MESSAGE pMessage,
OUT PLPC_MESSAGE pMessage2
);
//[LPC]
NTSTATUS
NTAPI
NtReplyWaitReceivePortEx(
IN HANDLE PortHandle,
OUT PHANDLE ReceiveHandle,
IN PLPC_MESSAGE pMessage,
OUT PLPC_MESSAGE pMessage2,
IN PLARGE_INTEGER Timeout
);
//[LPC]
NTSTATUS
NTAPI
NtReplyWaitReplyPort(
IN HANDLE PortHandle,
IN OUT PLPC_MESSAGE pMessage
);
//[LPC]
NTSTATUS
NTAPI
NtReplyWaitSendChannel(
IN HANDLE ChannelHandle,
IN PVOID ReplyMessage OPTIONAL,
OUT PVOID Message
);
//[LPC]
NTSTATUS
NTAPI
NtRequestPort(
IN HANDLE PortHandle,
IN PLPC_MESSAGE RequestMessage
);
//[LPC]
NTSTATUS
NTAPI
NtRequestWaitReplyPort(
IN HANDLE PortHandle,
IN PLPC_MESSAGE pRequestMessage,
OUT PLPC_MESSAGE pReplyMessage
);
//[LPC]
NTSTATUS
NTAPI
NtSecureConnectPort(
OUT PHANDLE PortHandle,
IN PUNICODE_STRING Name,
IN ULONG QOS,
IN OUT PPORT_VIEW pSectionInfo,
IN PSID SecurityInfo,
IN OUT PREMOTE_PORT_VIEW pSectionMapInfo,
OUT PULONG MaxMsgLength,
IN OUT PVOID ConnectData OPTIONAL,
IN OUT PULONG ConnectDataLength OPTIONAL
);
//[LPC]
NTSTATUS
NTAPI
NtSendWaitReplyChannel(
IN HANDLE ChannelHandle,
IN PVOID RequestMessage,
OUT PVOID ReplyMessage,
IN PLARGE_INTEGER Timeout
);
//[LPC]
NTSTATUS
NTAPI
NtSetContextChannel(
IN HANDLE ChannelHandle
);
//[LPC]
NTSTATUS
NTAPI
NtWriteRequestData(
IN HANDLE PortHandle,
IN PLPC_MESSAGE Message,
IN ULONG Index,
IN PVOID Buffer,
IN ULONG BufferLength,
OUT PULONG ReturnLength OPTIONAL
);
//[Memory]
NTSTATUS
NTAPI
NtAllocateUserPhysicalPages(
__in HANDLE hProcess,
__inout PULONG NumberOfPages,
__out PULONG UserPfnArray
);
//[Memory]
NTSTATUS
NTAPI
NtAllocateUserPhysicalPagesEx(
__in HANDLE hProcess,
__inout PULONG NumberOfPages,
__out PULONG UserPfnArray,
__inout PVOID DataBuffer OPTIONAL,
__in ULONG DataCount
);
//[Memory]
NTSTATUS
NTAPI
NtAllocateVirtualMemory(
IN HANDLE ProcessHandle,
IN OUT PPVOID lpAddress,
IN ULONG_PTR ZeroBits,
IN OUT PSIZE_T pSize,
IN ULONG flAllocationType,
IN ULONG flProtect
);
//[Memory]
NTSTATUS
NTAPI
NtAllocateVirtualMemoryEx(
IN HANDLE ProcessHandle,
IN OUT PPVOID lpAddress,
IN ULONG_PTR ZeroBits,
IN OUT PSIZE_T pSize,
IN ULONG flAllocationType,
IN OUT PVOID DataBuffer OPTIONAL,
IN ULONG DataCount
);
//[Memory]
NTSTATUS
NTAPI
NtCreateEnclave(
_In_ HANDLE ProcessHandle,
_Inout_ PVOID *BaseAddress,
_In_ ULONG_PTR ZeroBits,
_In_ SIZE_T Size,
_In_ SIZE_T InitialCommitment,
_In_ ULONG EnclaveType,
_In_ PVOID EnclaveInformation,
_In_ ULONG EnclaveInformationLength,
_Out_opt_ PULONG EnclaveError
);
//[Memory]
NTSTATUS
NTAPI
NtCreatePartition(
__in HANDLE ParentHandle,
__out PHANDLE PartitionHandle,
__in ACCESS_MASK DesiredAccess,
__in POBJECT_ATTRIBUTES ObjectAttributes
);
//[Memory]
NTSTATUS
NTAPI
NtCreateSection(
OUT PHANDLE SectionHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN PLARGE_INTEGER SectionSize OPTIONAL,
IN ULONG Protect,
IN ULONG Attributes,
IN HANDLE FileHandle
);
//[Memory]
NTSTATUS
NTAPI
NtCreateSectionEx(
OUT PHANDLE SectionHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN PLARGE_INTEGER SectionSize OPTIONAL,
IN ULONG Protect,
IN ULONG Attributes,
IN HANDLE FileHandle,
IN OUT PVOID DataBuffer OPTIONAL,
IN ULONG DataCount
);
//[Memory]
NTSTATUS
NTAPI
NtExtendSection(
IN HANDLE SectionHandle,
IN PLARGE_INTEGER SectionSize
);
//[Memory]
NTSTATUS
NTAPI
NtFlushInstructionCache(
IN HANDLE Process,
IN PVOID BaseAddress,
IN ULONG Size
);
//[Memory]
NTSTATUS
NTAPI
NtFlushProcessWriteBuffers(
);
//[Memory]
NTSTATUS
NTAPI
NtFlushVirtualMemory(
__in HANDLE ProcessHandle,
__inout PPVOID BaseAddress,
__inout PSIZE_T RegionSize,
__out PIO_STATUS_BLOCK IoStatus
);
//[Memory]
NTSTATUS
NTAPI
NtFlushWriteBuffer(
);
//[Memory]
NTSTATUS
NTAPI
NtFreeUserPhysicalPages(
__in HANDLE hProcess,
__inout PULONG NumberOfPages,
__in PULONG UserPfnArray
);
//[Memory]
NTSTATUS
NTAPI
NtFreeVirtualMemory(
IN HANDLE ProcessHandle,
IN OUT PPVOID lpAddress,
IN OUT PSIZE_T pSize,
IN ULONG flFreeType
);
//[Memory]
NTSTATUS
NTAPI
NtGetWriteWatch(
IN HANDLE ProcessHandle,
IN ULONG Flags,
IN PVOID BaseAddress,
IN ULONG RegionSize,
OUT PULONG Buffer,
IN OUT PULONG BufferEntries,
OUT PULONG Granularity
);
//[Memory]
NTSTATUS
NTAPI
NtInitializeEnclave(
_In_ HANDLE ProcessHandle,
_In_ PVOID BaseAddress,
_In_ PVOID EnclaveInformation,
_In_ ULONG EnclaveInformationLength,
_Out_opt_ PULONG EnclaveError
);
//[Memory]
NTSTATUS
NTAPI
NtLoadEnclaveData(
_In_ HANDLE ProcessHandle,
_In_ PVOID BaseAddress,
_In_ PVOID Buffer,
_In_ SIZE_T BufferSize,
_In_ ULONG Protect,
_In_ PVOID PageInformation,
_In_ ULONG PageInformationLength,
_Out_opt_ PSIZE_T NumberOfBytesWritten,
_Out_opt_ PULONG EnclaveError
);
//[Memory]
NTSTATUS
NTAPI
NtLockVirtualMemory(
IN HANDLE ProcessHandle,
IN OUT PPVOID lpAddress,
IN OUT PSIZE_T pSize,
IN ULONG LockOption
);
//[Memory]
NTSTATUS
NTAPI
NtManagePartition(
IN HANDLE TargetHandle,
IN HANDLE SourceHandle,
IN MEMORY_PARTITION_INFORMATION_CLASS PartitionInformationClass,
IN PVOID PartitionInformation,
IN ULONG PartitionInformationLength
);
//[Memory]
NTSTATUS
NTAPI
NtMapUserPhysicalPages(
__in PVOID lpAddress,
__in ULONG NumberOfPages,
__in PULONG UserPfnArray
);
//[Memory]
NTSTATUS
NTAPI
NtMapUserPhysicalPagesScatter(
__in PPVOID VirtualAddresses,
__in ULONG NumberOfPages,
__in PULONG PageArray
);
//[Memory]
NTSTATUS
NTAPI
NtMapViewOfSection(
IN HANDLE SectionHandle,
IN HANDLE ProcessHandle,
IN OUT PPVOID BaseAddress,
IN ULONG ZeroBits,
IN ULONG CommitSize,
IN OUT PLARGE_INTEGER SectionOffset OPTIONAL,
IN OUT PSIZE_T ViewSize,
IN SECTION_INHERIT InheritDisposition,
IN ULONG AllocationType,
IN ULONG Protect
);
//[Memory]
NTSTATUS
NTAPI
NtMapViewOfSectionEx(
IN HANDLE SectionHandle,
IN HANDLE ProcessHandle,
IN OUT PLARGE_INTEGER SectionOffset,
IN OUT PPVOID BaseAddress,
IN OUT PSIZE_T ViewSize,
IN ULONG AllocationType,
IN ULONG Protect,
IN OUT PVOID DataBuffer OPTIONAL,
IN ULONG DataCount
);
//[Memory]
NTSTATUS
NTAPI
NtOpenPartition(
OUT PHANDLE PartitionHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[Memory]
NTSTATUS
NTAPI
NtOpenSection(
OUT PHANDLE SectionHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[Memory]
NTSTATUS
NTAPI
NtProtectVirtualMemory(
IN HANDLE ProcessHandle,
IN OUT PPVOID BaseAddress,
IN OUT PULONG Size,
IN ULONG NewProtect,
OUT PULONG OldProtect
);
//[Memory]
NTSTATUS
NTAPI
NtQuerySection(
IN HANDLE SectionHandle,
IN SECTION_INFORMATION_CLASS SectionInformationClass,
OUT PVOID SectionInformation,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[Memory]
NTSTATUS
NTAPI
NtQueryVirtualMemory(
IN HANDLE ProcessHandle,
IN PVOID BaseAddress,
IN MEMORY_INFORMATION_CLASS MemoryInformationClass,
OUT PVOID MemoryInformation,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[Memory]
NTSTATUS
NTAPI
NtReadVirtualMemory(
IN HANDLE ProcessHandle,
IN PVOID BaseAddress,
OUT PVOID Buffer,
IN ULONG BufferSize,
OUT PULONG BytesRead
);
//[Memory]
NTSTATUS
NTAPI
NtResetWriteWatch(
IN HANDLE ProcessHandle,
IN PVOID BaseAddress,
IN ULONG RegionSize
);
//[Memory]
NTSTATUS
NTAPI
NtSetInformationVirtualMemory(
__in HANDLE ProcessHandle,
__in ULONG VmInformationClass,
__in ULONG_PTR NumberOfEntries,
__in PVOID VirtualAddresses,
__in PVOID VmInformation,
__in ULONG VmInformationLength
);
//[Memory]
NTSTATUS
NTAPI
NtUnlockVirtualMemory(
IN HANDLE ProcessHandle,
IN OUT PPVOID lpAddress,
IN OUT PSIZE_T pSize,
IN ULONG LockOption
);
//[Memory]
NTSTATUS
NTAPI
NtUnmapViewOfSection(
IN HANDLE ProcessHandle,
IN PVOID BaseAddress OPTIONAL
);
//[Memory]
NTSTATUS
NTAPI
NtUnmapViewOfSectionEx(
__in HANDLE ProcessHandle,
__in_opt PVOID BaseAddress,
__in ULONG Flags
);
//[Memory]
NTSTATUS
NTAPI
NtWriteVirtualMemory(
IN HANDLE ProcessHandle,
IN PVOID BaseAddress,
IN PVOID Buffer,
IN ULONG BufferLength,
OUT PULONG ReturnedLength OPTIONAL
);
//[Object]
NTSTATUS
NTAPI
NtAllocateReserveObject(
__out PHANDLE MemoryReserveHandle,
__in_opt POBJECT_ATTRIBUTES ObjectAttributes,
__in ULONG Type
);
//[Object]
NTSTATUS
NTAPI
NtCompareObjects(
IN HANDLE Object1,
IN HANDLE Object2
);
//[Object]
NTSTATUS
NTAPI
NtCreateDebugObject(
OUT PHANDLE DebugHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN ULONG Flags
);
//[Object]
NTSTATUS
NTAPI
NtCreateDirectoryObject(
OUT PHANDLE DirectoryHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[Object]
NTSTATUS
NTAPI
NtCreateDirectoryObjectEx(
OUT PHANDLE DirectoryHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN HANDLE ShadowDirectoryHandle,
IN ULONG Flags
);
//[Object]
NTSTATUS
NTAPI
NtCreatePrivateNamespace(
OUT PHANDLE NamespaceHandle,
IN PSECURITY_ATTRIBUTES Attributes OPTIONAL,
IN PVOID BoundaryDescriptor,
IN PUNICODE_STRING AliasPrefix
);
//[Object]
NTSTATUS
NTAPI
NtCreateSymbolicLinkObject(
OUT PHANDLE LinkHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN PUNICODE_STRING SymbolicLink
);
//[Object]
NTSTATUS
NTAPI
NtDeletePrivateNamespace(
IN HANDLE NamespaceHandle
);
//[Object]
NTSTATUS
NTAPI
NtDuplicateObject(
IN HANDLE SourceProcess,
IN HANDLE SourceHandle,
IN HANDLE TargetProcess,
OUT PHANDLE TargetHandle,
IN ACCESS_MASK DesiredAccess,
IN BOOL InheritMode,
IN ULONG Options
);
//[Object]
NTSTATUS
NTAPI
NtMakePermanentObject(
IN HANDLE Object
);
//[Object]
NTSTATUS
NTAPI
NtMakeTemporaryObject(
IN HANDLE Handle
);
//[Object]
NTSTATUS
NTAPI
NtOpenDirectoryObject(
OUT PHANDLE DirectoryHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[Object]
NTSTATUS
NTAPI
NtOpenObjectAuditAlarm(
IN PUNICODE_STRING SubsystemName,
IN PHANDLE HandleId,
IN PUNICODE_STRING ObjectTypeName,
IN PUNICODE_STRING ObjectName,
IN PSECURITY_DESCRIPTOR SecurityDescriptor,
IN HANDLE ClientToken,
IN ACCESS_MASK DesiredAccess,
IN ACCESS_MASK GrantedAccess,
IN PPRIVILEGE_SET PrivilegeSet,
IN BOOLEAN ObjectCreation,
IN BOOLEAN AccessGranted,
OUT PBOOLEAN OnClose
);
//[Object]
NTSTATUS
NTAPI
NtOpenPrivateNamespace(
OUT PHANDLE NamespaceHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
IN PVOID Buffer
);
//[Object]
NTSTATUS
NTAPI
NtOpenSymbolicLinkObject(
OUT PHANDLE LinkHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[Object]
NTSTATUS
NTAPI
NtQueryDirectoryObject(
IN HANDLE DirectoryHandle,
OUT PVOID DirectoryBuffer,
IN ULONG BufferLength,
IN ULONG OnlyFirstEntry,
IN ULONG FirstEntry,
IN OUT PULONG Index,
OUT PULONG ReturnedLength OPTIONAL
);
//[Object]
NTSTATUS
NTAPI
NtQueryObject(
IN HANDLE ObjectHandle,
IN OBJECT_INFORMATION_CLASS ObjectInformationClass,
OUT PVOID ObjectInformation,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[Object]
NTSTATUS
NTAPI
NtQuerySymbolicLinkObject(
IN HANDLE LinkHandle,
IN OUT PUNICODE_STRING LinkTarget,
OUT PULONG ReturnedLength OPTIONAL
);
//[Object]
NTSTATUS
NTAPI
NtSetInformationObject(
IN HANDLE Handle,
IN OBJECT_INFORMATION_CLASS Class,
IN PVOID Buffer,
IN ULONG BufferLength
);
//[Object]
NTSTATUS
NTAPI
NtSetInformationSymbolicLink(
IN HANDLE Handle,
IN ULONG Class,
IN PVOID Buffer,
IN ULONG BufferLength
);
//[Other]
NTSTATUS
NTAPI
NtAcquireCMFViewOwnership(
__out PLARGE_INTEGER TimeStamp,
__out PBOOLEAN TokenTaken,
__in BOOLEAN ReplaceExisting
);
//[Other]
NTSTATUS
NTAPI
NtAllocateLocallyUniqueId(
OUT PLUID Luid
);
//[Other]
NTSTATUS
NTAPI
NtAllocateUuids(
OUT PLARGE_INTEGER UuidLastTimeAllocated,
OUT PULONG UuidDeltaTime,
OUT PULONG UuidSequenceNumber,
OUT PUCHAR UuidSeed
);
//[Other]
NTSTATUS
NTAPI
NtCallbackReturn(
IN PVOID Result OPTIONAL,
IN ULONG ResultLength,
IN NTSTATUS Status
);
//[Other]
NTSTATUS
NTAPI
NtCallEnclave(
_In_ PVOID Function,
_In_ PVOID Parameter,
_In_ BOOLEAN WaitForThread,
_Out_opt_ PVOID *Result
);
// This one is odd.
//[-Other]
struct _TEB *
NtCurrentTeb(
);
//[Other]
NTSTATUS
NTAPI
NtDisplayString(
IN PUNICODE_STRING Message
);
//[Other]
NTSTATUS
NTAPI
NtDrawText(
__in PUNICODE_STRING Text
);
//[Other]
NTSTATUS
NTAPI
NtFlushInstallUILanguage(
__in ULONG InstallUILanguage,
__in ULONG SetComittedFlag
);
//[Other]
NTSTATUS
NTAPI
NtGetMUIRegistryInfo(
__in ULONG Flags,
__inout PULONG BufferLength,
__out PVOID Buffer
);
//[Other]
NTSTATUS
NTAPI
NtGetNlsSectionPtr(
__in ULONG SectionType,
__in ULONG SectionData,
__in PVOID ContextData,
__out PPVOID SectionPointer,
__out PULONG SectionSize
);
//[-Other]
NTSTATUS
NTAPI
NtGetTickCount(
);
//[Other]
NTSTATUS
NTAPI
NtInitializeNlsFiles(
__out PPVOID BaseAddress,
__out PLCID DefaultLocaleId,
__out PLARGE_INTEGER DefaultCasingTableSize
);
//[Other]
NTSTATUS
NTAPI
NtIsUILanguageComitted(
);
//[Other]
NTSTATUS
NTAPI
NtLoadHotPatch(
_In_ PUNICODE_STRING HotPatchName,
_Reserved_ ULONG LoadFlag
);
//[Other]
NTSTATUS
NTAPI
NtLockProductActivationKeys(
IN PULONG ProductBuild,
IN PULONG SafeMode
);
//[Other]
NTSTATUS
NTAPI
NtManageHotPatch(
ULONG Unknown,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown
);
//[Other]
NTSTATUS
NTAPI
NtMapCMFModule(
__in ULONG What,
__in ULONG Index,
__out_opt PULONG CacheIndexOut,
__out_opt PULONG CacheFlagsOut,
__out_opt PULONG ViewSizeOut,
__out_opt PPVOID BaseAddress
);
//[Other]
NTSTATUS
NTAPI
NtNotifyChangeSession(
__in HANDLE Session,
__in ULONG IoStateSequence,
__in PVOID Reserved,
__in ULONG Action,
__in IO_SESSION_STATE IoState,
__in IO_SESSION_STATE IoState2,
__in PVOID Buffer,
__in ULONG BufferSize
);
//[Other]
NTSTATUS
NTAPI
NtOpenSession(
__out PHANDLE SessionHandle,
__in ACCESS_MASK DesiredAccess,
__in POBJECT_ATTRIBUTES ObjectAttributes
);
//[Other]
NTSTATUS
NTAPI
NtQueryLicenseValue(
IN PUNICODE_STRING Name,
OUT PULONG Type OPTIONAL,
OUT PVOID Buffer,
IN ULONG Length,
OUT PULONG ReturnedLength
);
//[Other]
NTSTATUS
NTAPI
NtReleaseCMFViewOwnership(
);
//[Other]
NTSTATUS
NTAPI
NtRevertContainerImpersonation(
);
//[Other]
NTSTATUS
NTAPI
NtSetLdtEntries(
IN ULONG Selector1,
IN ULONG LdtEntry1L,
IN ULONG LdtEntry1H,
IN ULONG Selector2,
IN ULONG LdtEntry2L,
IN ULONG LdtEntry2H
);
//[Other]
NTSTATUS
NTAPI
NtSetUuidSeed(
IN PUCHAR UuidSeed
);
//[Other]
NTSTATUS
NTAPI
NtShutdownSystem(
IN SHUTDOWN_ACTION Action
);
//[Other]
NTSTATUS
NTAPI
NtTerminateEnclave(
_In_ PVOID BaseAddress,
_In_ BOOLEAN WaitForThread
);
//[Process]
NTSTATUS
NTAPI
NtAcquireProcessActivityReference(
ULONG Unknown,
ULONG Unknown,
ULONG Unknown
);
//[Process]
NTSTATUS
NTAPI
NtAlertResumeThread(
HANDLE ThreadHandle,
OUT PULONG pSuspendCount
);
//[Process]
NTSTATUS
NTAPI
NtAlertThread(
IN HANDLE ThreadHandle
);
//[Process]
NTSTATUS
NTAPI
NtAlertThreadByThreadId(
IN ULONG ThreadId
);
//[Process]
NTSTATUS
NTAPI
NtApphelpCacheControl(
IN ULONG ServiceClass,
IN PUNICODE_STRING ServiceData
);
//[Process]
NTSTATUS
NTAPI
NtContinue(
IN PCONTEXT Context,
IN BOOLEAN bTest
);
//[Process]
NTSTATUS
NTAPI
NtContinueEx(
IN PCONTEXT Context,
IN BOOLEAN bTest
);
//[Process]
NTSTATUS
NTAPI
NtCreateProcess(
OUT PHANDLE ProcessHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
IN HANDLE ParentProcessHandle,
IN BOOL Inherit,
IN HANDLE SectionHandle OPTIONAL,
IN HANDLE DebugPort OPTIONAL,
IN HANDLE ExceptionPort OPTIONAL
);
//[Process]
NTSTATUS
NTAPI
NtCreateProcessEx(
OUT PHANDLE ProcessHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
IN HANDLE ParentProcessHandle,
IN BOOL Inherit,
IN HANDLE SectionHandle OPTIONAL,
IN HANDLE DebugPort OPTIONAL,
IN HANDLE ExceptionPort OPTIONAL,
IN BOOLEAN InJob
);
//[Process]
NTSTATUS
NTAPI
NtCreateThread(
OUT PHANDLE ThreadHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
IN HANDLE ProcessHandle,
OUT PCLIENT_ID ClientId,
IN PCONTEXT ThreadContext,
IN PVOID UserStack,
IN BOOLEAN CreateSuspended
);
//[Process]
NTSTATUS
NTAPI
NtCreateThreadEx(
__out PHANDLE ThreadHandle,
__in ACCESS_MASK DesiredAccess,
__in_opt POBJECT_ATTRIBUTES ObjectAttributes,
__in HANDLE ProcessHandle,
__in PVOID StartRoutine,
__in_opt PVOID Argument,
__in ULONG CreateFlags,
__in_opt ULONG ZeroBits,
__in_opt ULONG StackSize,
__in_opt ULONG MaximumStackSize,
__in_opt PVOID AttributeList
);
//[Process]
NTSTATUS
NTAPI
NtCreateUserProcess(
__out PHANDLE ProcessHandle,
__out PHANDLE ThreadHandle,
__in ACCESS_MASK ProcessDesiredAccess,
__in ACCESS_MASK ThreadDesiredAccess,
__in_opt POBJECT_ATTRIBUTES ProcessObjectAttributes,
__in_opt POBJECT_ATTRIBUTES ThreadObjectAttributes,
__in ULONG ProcessFlags,
__in ULONG ThreadFlags,
__in_opt PRTL_USER_PROCESS_PARAMETERS ProcessParameters,
__inout PVOID CreateInfo,
__in_opt PVOID AttributeList
);
//[Process]
NTSTATUS
NTAPI
NtCreateWorkerFactory(
__out PHANDLE WorkerFactoryHandleReturn,
__in ACCESS_MASK DesiredAccess,
__in_opt POBJECT_ATTRIBUTES ObjectAttributes,
__in HANDLE CompletionPortHandle,
__in HANDLE WorkerProcessHandle,
__in PVOID StartRoutine,
__in_opt PVOID StartParameter,
__in_opt ULONG MaxThreadCount,
__in_opt ULONG StackReserve,
__in_opt ULONG StackCommit
);
//[Process]
NTSTATUS
NTAPI
NtDelayExecution(
IN BOOLEAN Alertable,
IN PLARGE_INTEGER DelayInterval
);
//[Process]
NTSTATUS
NTAPI
NtGetContextThread(
IN HANDLE ThreadHandle,
OUT PCONTEXT pContext
);
//[Process]
NTSTATUS
NTAPI
NtGetNextProcess(
HANDLE ProcessHandle,
ACCESS_MASK DesiredAccess,
ULONG HandleAttributes,
ULONG Flags,
PHANDLE NewProcessHandle
);
//[Process]
NTSTATUS
NTAPI
NtGetNextThread(
HANDLE ProcessHandle,
HANDLE ThreadHandle,
ACCESS_MASK DesiredAccess,
ULONG HandleAttributes,
ULONG Flags,
PHANDLE NewThreadHandle
);
//[Process]
NTSTATUS
NTAPI
NtOpenProcess(
OUT PHANDLE ProcessHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN PCLIENT_ID ClientId OPTIONAL
);
//[Process]
NTSTATUS
NTAPI
NtOpenThread(
OUT PHANDLE ThreadHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN PCLIENT_ID ClientId OPTIONAL
);
//[Process]
NTSTATUS
NTAPI
NtQueryInformationProcess(
IN HANDLE ProcessHandle,
IN PROCESSINFOCLASS ProcessInformationClass,
OUT PVOID ProcessInformation,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[Process]
NTSTATUS
NTAPI
NtQueryInformationThread(
IN HANDLE ThreadHandle,
IN THREADINFOCLASS ThreadInformationClass,
OUT PVOID ThreadInformation,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[Process]
NTSTATUS
NTAPI
NtQueryInformationWorkerFactory(
__in HANDLE WorkerFactoryHandle,
__in WORKERFACTORYINFOCLASS WorkerFactoryInformationClass,
__out PVOID Buffer,
__in ULONG BufferLength,
__out_opt PULONG ReturnLength
);
//[Process]
NTSTATUS
NTAPI
NtQueueApcThread(
IN HANDLE ThreadHandle,
IN PVOID ApcRoutine,
IN PVOID Context,
IN PVOID Argument1,
IN PVOID Argument2
);
//[Process]
NTSTATUS
NTAPI
NtQueueApcThreadEx(
IN HANDLE ThreadHandle,
IN HANDLE ApcReserve,
IN PVOID ApcRoutine,
IN PVOID Context,
IN PVOID Argument1,
IN PVOID Argument2
);
//[Process]
NTSTATUS
NTAPI
NtRaiseException(
IN PEXCEPTION_RECORD Record,
IN PCONTEXT Context,
IN BOOL SearchFrames
);
//[Process]
NTSTATUS
NTAPI
NtRaiseHardError(
IN NTSTATUS ErrorStatus,
IN ULONG NumberOfParameters,
IN ULONG ParameterMask,
IN PULONG_PTR Parameters,
IN HARDERROR_RESPONSE_OPTION ResponseOptions,
OUT PULONG Response
);
//[Process]
NTSTATUS
NTAPI
NtReleaseWorkerFactoryWorker(
IN HANDLE WorkerFactoryHandle
);
//[Process]
NTSTATUS
NTAPI
NtResumeProcess(
IN HANDLE hProcess
);
//[Process]
NTSTATUS
NTAPI
NtResumeThread(
IN HANDLE ThreadHandle,
OUT PULONG SuspendCount
);
//[Process]
NTSTATUS
NTAPI
NtSetContextThread(
IN HANDLE ThreadHandle,
IN PCONTEXT pContext
);
//[Process]
NTSTATUS
NTAPI
NtSetDefaultHardErrorPort(
IN HANDLE Port
);
//[Process]
NTSTATUS
NTAPI
NtSetInformationProcess(
IN HANDLE ProcessHandle,
IN PROCESSINFOCLASS ProcessInformationClass,
IN PVOID ProcessInformation,
IN ULONG Length
);
//[Process]
NTSTATUS
NTAPI
NtSetInformationThread(
IN HANDLE ThreadHandle,
IN THREADINFOCLASS ThreadInformationClass,
IN PVOID ThreadInformation,
IN ULONG Length
);
//[Process]
NTSTATUS
NTAPI
NtSetInformationWorkerFactory(
__in HANDLE WorkerFactoryHandle,
__in WORKERFACTORYINFOCLASS InformationClass,
__in PVOID Buffer,
__in ULONG BufferLength
);
//[Process]
NTSTATUS
NTAPI
NtShutdownWorkerFactory(
__in HANDLE WorkerFactoryHandle,
__inout PULONG PendingWorkerCount
);
//[Process]
NTSTATUS
NTAPI
NtSuspendProcess(
IN HANDLE ProcessHandle
);
//[Process]
NTSTATUS
NTAPI
NtSuspendThread(
IN HANDLE ThreadHandle,
OUT PULONG PreviousSuspendCount OPTIONAL
);
//[Process]
NTSTATUS
NTAPI
NtTerminateProcess(
IN HANDLE ProcessHandle,
IN NTSTATUS ExitStatus
);
//[Process]
NTSTATUS
NTAPI
NtTerminateThread(
IN HANDLE ThreadHandle,
IN NTSTATUS ExitStatus
);
//[Process]
NTSTATUS
NTAPI
NtTestAlert(
);
//[Process]
NTSTATUS
NTAPI
NtUmsThreadYield(
__in PVOID SchedulerParam
);
//[Process]
NTSTATUS
NTAPI
NtWaitForAlertByThreadId(
__in HANDLE Handle,
__in_opt PLARGE_INTEGER Timeout
);
//[Process]
NTSTATUS
NTAPI
NtWaitForWorkViaWorkerFactory(
__in HANDLE WorkerFactoryHandle,
__out PVOID MiniPacket
);
//[Process]
NTSTATUS
NTAPI
NtWorkerFactoryWorkerReady(
IN HANDLE WorkerFactoryHandle
);
//[Process]
NTSTATUS
NTAPI
NtYieldExecution(
);
//[Registry]
NTSTATUS
NTAPI
NtCommitRegistryTransaction(
HANDLE RegistryHandle,
BOOL Wait
);
//[Registry]
NTSTATUS
NTAPI
NtCompactKeys(
IN ULONG NumberOfKeys,
IN PVOID KeyHandles
);
//[Registry]
NTSTATUS
NTAPI
NtCompressKey(
IN HANDLE KeyHandle
);
//[Registry]
NTSTATUS
NTAPI
NtCreateKey(
OUT PHANDLE KeyHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN ULONG TitleIndex,
IN PUNICODE_STRING Class OPTIONAL,
IN ULONG CreateOptions,
OUT PULONG Disposition OPTIONAL
);
//[Registry]
NTSTATUS
NTAPI
NtCreateKeyTransacted(
__out PHANDLE KeyHandle,
__in ACCESS_MASK DesiredAccess,
__in POBJECT_ATTRIBUTES ObjectAttributes,
__reserved ULONG TitleIndex,
__in_opt PUNICODE_STRING Class,
__in ULONG CreateOptions,
__in HANDLE TransactionHandle,
__out_opt PULONG Disposition
);
//[Registry]
NTSTATUS
NTAPI
NtCreateRegistryTransaction(
__out PHANDLE RegistryHandle,
__in ACCESS_MASK DesiredAccess,
__in POBJECT_ATTRIBUTES ObjectAttributes,
__in ULONG Flags
);
//[Registry]
NTSTATUS
NTAPI
NtDeleteKey(
IN HANDLE KeyHandle
);
//[Registry]
NTSTATUS
NTAPI
NtDeleteValueKey(
IN HANDLE KeyHandle,
IN PUNICODE_STRING ValueName
);
//[Registry]
NTSTATUS
NTAPI
NtEnumerateKey(
IN HANDLE KeyHandle,
IN ULONG Index,
IN KEY_INFORMATION_CLASS KeyInformationClass,
OUT PVOID KeyInformation,
IN ULONG Length,
OUT PULONG ResultLength
);
//[Registry]
NTSTATUS
NTAPI
NtEnumerateValueKey(
IN HANDLE KeyHandle,
IN ULONG Index,
IN KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass,
OUT PVOID KeyValueInformation,
IN ULONG Length,
OUT PULONG ResultLength
);
//[Registry]
NTSTATUS
NTAPI
NtFlushKey(
IN HANDLE KeyHandle
);
//[Registry]
NTSTATUS
NTAPI
NtFreezeRegistry(
__in ULONG TimeOutInSeconds
);
//[Registry]
NTSTATUS
NTAPI
NtInitializeRegistry(
IN ULONG Options
);
//[Registry]
NTSTATUS
NTAPI
NtLoadKey(
IN POBJECT_ATTRIBUTES KeyObjectAttributes,
IN POBJECT_ATTRIBUTES FileObjectAttributes
);
//[Registry]
NTSTATUS
NTAPI
NtLoadKey2(
IN POBJECT_ATTRIBUTES KeyObjectAttributes,
IN POBJECT_ATTRIBUTES FileObjectAttributes,
IN ULONG Flags
);
//[Registry]
NTSTATUS
NTAPI
NtLoadKey3(
IN POBJECT_ATTRIBUTES KeyObjectAttributes,
IN POBJECT_ATTRIBUTES FileObjectAttributes,
IN ULONG Flags,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown
);
//[Registry]
NTSTATUS
NTAPI
NtLoadKeyEx(
__in POBJECT_ATTRIBUTES TargetKey,
__in POBJECT_ATTRIBUTES SourceFile,
__in ULONG Flags,
__in_opt HANDLE TrustClassKey,
__in PVOID Reserved,
__in PVOID ObjectContext,
__in PVOID CallbackReserved,
__out PIO_STATUS_BLOCK IoStatusBlock
);
//[Registry]
NTSTATUS
NTAPI
NtLockRegistryKey(
IN HANDLE KeyHandle
);
//[Registry]
NTSTATUS
NTAPI
NtNotifyChangeKey(
IN HANDLE KeyHandle,
IN HANDLE Event,
IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
IN PVOID ApcContext OPTIONAL,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN ULONG CompletionFilter,
IN BOOLEAN WatchTree,
OUT PVOID Buffer,
IN ULONG BufferSize,
IN BOOLEAN Asynchronous
);
//[Registry]
NTSTATUS
NTAPI
NtNotifyChangeMultipleKeys(
__in HANDLE MasterKeyHandle,
__in_opt ULONG Count,
__in_opt POBJECT_ATTRIBUTES SubordinateObjects,
__in_opt HANDLE Event,
__in_opt PIO_APC_ROUTINE ApcRoutine,
__in_opt PVOID ApcContext,
__out PIO_STATUS_BLOCK IoStatusBlock,
__in ULONG CompletionFilter,
__in BOOLEAN WatchTree,
__out_opt PVOID Buffer,
__in ULONG BufferSize,
__in BOOLEAN Asynchronous
);
//[Registry]
NTSTATUS
NTAPI
NtOpenKey(
OUT PHANDLE KeyHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[Registry]
NTSTATUS
NTAPI
NtOpenKeyEx(
__out PHANDLE KeyHandle,
__in ACCESS_MASK DesiredAccess,
__in POBJECT_ATTRIBUTES ObjectAttributes,
__in ULONG OpenOptions
);
//[Registry]
NTSTATUS
NTAPI
NtOpenKeyTransacted(
__out PHANDLE KeyHandle,
__in ACCESS_MASK DesiredAccess,
__in POBJECT_ATTRIBUTES ObjectAttributes,
__in HANDLE TransactionHandle
);
//[Registry]
NTSTATUS
NTAPI
NtOpenKeyTransactedEx(
__out PHANDLE KeyHandle,
__in ACCESS_MASK DesiredAccess,
__in POBJECT_ATTRIBUTES ObjectAttributes,
__in ULONG OpenOptions,
__in HANDLE TransactionHandle
);
//[Registry]
NTSTATUS
NTAPI
NtOpenRegistryTransaction(
__out PHANDLE RegistryHandle,
__in ACCESS_MASK DesiredAccess,
__in POBJECT_ATTRIBUTES ObjectAttributes
);
//[Registry]
NTSTATUS
NTAPI
NtQueryKey(
IN HANDLE KeyHandle,
IN KEY_INFORMATION_CLASS KeyInformationClass,
OUT PVOID KeyInformation,
IN ULONG Length,
OUT PULONG ResultLength
);
//[Registry]
NTSTATUS
NTAPI
NtQueryMultipleValueKey(
IN HANDLE KeyHandle,
IN PVOID ListOfValuesToQuery,
IN ULONG NumberOfItems,
OUT PVOID ValueInformation,
IN OUT PULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[Registry]
NTSTATUS
NTAPI
NtQueryOpenSubKeys(
IN POBJECT_ATTRIBUTES TargetKey,
OUT PULONG HandleCount
);
//[Registry]
NTSTATUS
NTAPI
NtQueryOpenSubKeysEx(
IN POBJECT_ATTRIBUTES TargetKey,
IN ULONG BufferLength,
OUT PVOID Buffer,
OUT PULONG ResultLength
);
//[Registry]
NTSTATUS
NTAPI
NtQueryValueKey(
IN HANDLE KeyHandle,
IN PUNICODE_STRING ValueName,
IN KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass,
OUT PVOID KeyValueInformation,
IN ULONG Length,
OUT PULONG ResultLength
);
//[Registry]
NTSTATUS
NTAPI
NtRenameKey(
IN HANDLE KeyHandle,
IN PUNICODE_STRING ReplacementName
);
//[Registry]
NTSTATUS
NTAPI
NtReplaceKey(
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN HANDLE Key,
IN POBJECT_ATTRIBUTES ReplacedObjectAttributes
);
//[Registry]
NTSTATUS
NTAPI
NtRestoreKey(
IN HANDLE KeyHandle,
IN HANDLE FileHandle,
IN ULONG RestoreFlags
);
//[Registry]
NTSTATUS
NTAPI
NtRollbackRegistryTransaction(
HANDLE RegistryHandle,
BOOL Wait
);
//[Registry]
NTSTATUS
NTAPI
NtSaveKey(
IN HANDLE KeyHandle,
IN HANDLE FileHandle
);
//[Registry]
NTSTATUS
NTAPI
NtSaveKeyEx(
IN HANDLE KeyHandle,
IN HANDLE FileHandle,
IN ULONG Flags
);
//[Registry]
NTSTATUS
NTAPI
NtSaveMergedKeys(
IN HANDLE HighPrecedenceKeyHandle,
IN HANDLE LowPrecedenceKeyHandle,
IN HANDLE FileHandle
);
//[Registry]
NTSTATUS
NTAPI
NtSetInformationKey(
IN HANDLE KeyHandle,
IN KEY_SET_INFORMATION_CLASS KeySetInformationClass,
IN PVOID KeyInformation,
IN ULONG Length
);
//[Registry]
NTSTATUS
NTAPI
NtSetValueKey(
IN HANDLE KeyHandle,
IN PUNICODE_STRING ValueName,
IN ULONG TitleIndex OPTIONAL,
IN ULONG Type,
IN PVOID Data,
IN ULONG DataSize
);
//[Registry]
NTSTATUS
NTAPI
NtThawRegistry(
);
//[Registry]
NTSTATUS
NTAPI
NtUnloadKey(
IN POBJECT_ATTRIBUTES TargetKey
);
//[Registry]
NTSTATUS
NTAPI
NtUnloadKey2(
IN POBJECT_ATTRIBUTES TargetKey,
IN ULONG Flags
);
//[Registry]
NTSTATUS
NTAPI
NtUnloadKeyEx(
IN POBJECT_ATTRIBUTES TargetKey,
IN HANDLE Event
);
//[Security]
NTSTATUS
NTAPI
NtAccessCheck(
IN PSECURITY_DESCRIPTOR SecurityDescriptor,
IN HANDLE ClientToken,
IN ACCESS_MASK DesiredAccess,
IN PGENERIC_MAPPING GenericMapping,
OUT PPRIVILEGE_SET PrivilegeSet,
OUT PULONG ReturnLength,
OUT PACCESS_MASK GrantedAccess,
OUT PNTSTATUS AccessStatus
);
//[Security]
NTSTATUS
NTAPI
NtAccessCheckAndAuditAlarm(
IN PUNICODE_STRING SubsystemName OPTIONAL,
IN HANDLE ObjectHandle OPTIONAL,
IN PUNICODE_STRING ObjectTypeName OPTIONAL,
IN PUNICODE_STRING ObjectName OPTIONAL,
IN PSECURITY_DESCRIPTOR SecurityDescriptor,
IN ACCESS_MASK DesiredAccess,
IN PGENERIC_MAPPING GenericMapping,
IN BOOLEAN ObjectCreation,
OUT PACCESS_MASK GrantedAccess,
OUT PNTSTATUS AccessStatus,
OUT PBOOLEAN GenerateOnClose
);
//[Security]
NTSTATUS
NTAPI
NtAccessCheckByType(
IN PSECURITY_DESCRIPTOR SecurityDescriptor,
IN PSID PrincipalSelfSid,
IN HANDLE ClientToken,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_TYPE_LIST ObjectTypeList,
IN ULONG ObjectTypeListLength,
IN PGENERIC_MAPPING GenericMapping,
OUT PPRIVILEGE_SET PrivilegeSet,
OUT PULONG ReturnedLength,
OUT PACCESS_MASK GrantedAccess,
OUT PNTSTATUS AccessStatus
);
//[Security]
NTSTATUS
NTAPI
NtAccessCheckByTypeAndAuditAlarm(
IN PUNICODE_STRING SubsystemName,
IN PVOID HandleId,
IN PUNICODE_STRING ObjectTypeName,
IN PUNICODE_STRING ObjectName,
IN PSECURITY_DESCRIPTOR SecurityDescriptor,
IN PSID PrincipalSelfSid,
IN ACCESS_MASK DesiredAccess,
IN ULONG AuditType,
IN ULONG Flags,
IN POBJECT_TYPE_LIST ObjectTypeList,
IN ULONG ObjectTypeListLength,
IN PGENERIC_MAPPING GenericMapping,
IN BOOLEAN ObjectCreation,
OUT PACCESS_MASK GrantedAccess,
OUT PULONG AccessStatus,
OUT PBOOLEAN GenerateOnClose
);
//[Security]
NTSTATUS
NTAPI
NtAccessCheckByTypeResultList(
IN PSECURITY_DESCRIPTOR SecurityDescriptor,
IN PSID PrincipalSelfSid,
IN HANDLE TokenHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_TYPE_LIST ObjectTypeList,
IN ULONG ObjectTypeListLength,
IN PGENERIC_MAPPING GenericMapping,
IN PPRIVILEGE_SET PrivilegeSet,
IN ULONG PrivilegeSetLength,
OUT PACCESS_MASK GrantedAccessList,
OUT PNTSTATUS AccessStatusList
);
//[Security]
NTSTATUS
NTAPI
NtAccessCheckByTypeResultListAndAuditAlarm(
IN PUNICODE_STRING SubsystemName,
IN PVOID HandleId,
IN PUNICODE_STRING ObjectTypeName,
IN PUNICODE_STRING ObjectName,
IN PSECURITY_DESCRIPTOR SecurityDescriptor,
IN PSID PrincipalSelfSid,
IN ACCESS_MASK DesiredAccess,
IN ULONG AuditType,
IN ULONG Flags,
IN POBJECT_TYPE_LIST ObjectTypeList,
IN ULONG ObjectTypeListLength,
IN PVOID GenericMapping,
IN BOOLEAN ObjectCreation,
OUT PACCESS_MASK GrantedAccessList,
OUT PNTSTATUS AccessStatusList,
OUT PULONG GenerateOnClose
);
//[Security]
NTSTATUS
NTAPI
NtAccessCheckByTypeResultListAndAuditAlarmByHandle(
IN PUNICODE_STRING SubsystemName,
IN PVOID HandleId,
IN HANDLE TokenHandle,
IN PUNICODE_STRING ObjectTypeName,
IN PUNICODE_STRING ObjectName,
IN PSECURITY_DESCRIPTOR SecurityDescriptor,
IN PSID PrincipalSelfSid,
IN ACCESS_MASK DesiredAccess,
IN AUDIT_EVENT_TYPE AuditType,
IN ULONG Flags,
IN POBJECT_TYPE_LIST ObjectTypeList,
IN ULONG ObjectTypeListLength,
IN PGENERIC_MAPPING GenericMapping,
IN BOOLEAN ObjectCreation,
OUT PACCESS_MASK GrantedAccessList,
OUT PNTSTATUS AccessStatusList,
OUT PULONG GenerateOnClose
);
//[Security]
NTSTATUS
NTAPI
NtAdjustGroupsToken(
IN HANDLE TokenHandle,
IN BOOLEAN ResetToDefault,
IN PTOKEN_GROUPS NewTokenGroups,
IN ULONG TokenGroupsLength,
OUT PTOKEN_GROUPS PrevTokenGroups,
OUT PULONG ReturnedLength OPTIONAL
);
//[Security]
NTSTATUS
NTAPI
NtAdjustPrivilegesToken(
IN HANDLE TokenHandle,
IN BOOLEAN DisableAllPrivileges,
IN PTOKEN_PRIVILEGES NewState,
IN ULONG BufferLength,
OUT PTOKEN_PRIVILEGES PreviousState OPTIONAL,
OUT PULONG ReturnLength
);
//[Security]
NTSTATUS
NTAPI
NtAdjustTokenClaimsAndDeviceGroups(
__in HANDLE TokenHandle,
__in BOOLEAN UserResetToDefault,
__in BOOLEAN DeviceResetToDefault,
__in BOOLEAN DeviceGroupsResetToDefault,
__in_opt PTOKEN_SECURITY_ATTRIBUTES_INFORMATION NewUserState,
__in_opt PTOKEN_SECURITY_ATTRIBUTES_INFORMATION NewDeviceState,
__in_opt PTOKEN_GROUPS NewDeviceGroupsState,
__in ULONG UserBufferLength,
__out PTOKEN_SECURITY_ATTRIBUTES_INFORMATION PreviousUserState,
__in ULONG DeviceBufferLength,
__out PTOKEN_SECURITY_ATTRIBUTES_INFORMATION PreviousDeviceState,
__in ULONG DeviceGroupsBufferLength,
__out PTOKEN_GROUPS PreviousDeviceGroups,
__out_opt PULONG UserReturnLength,
__out_opt PULONG DeviceReturnLength,
__out_opt PULONG DeviceGroupsReturnBufferLength
);
//[Security]
NTSTATUS
NTAPI
NtCloseObjectAuditAlarm(
IN PUNICODE_STRING SubsystemName,
IN HANDLE ObjectHandle OPTIONAL,
IN BOOLEAN OnClose
);
//[Security]
NTSTATUS
NTAPI
NtCompareSigningLevels(
BYTE SigningLevel,
BYTE RequiredLevel
);
//[Security]
NTSTATUS
NTAPI
NtCompareTokens(
__in HANDLE FirstTokenHandle,
__in HANDLE SecondTokenHandle,
__out PBOOLEAN Equal
);
//[Security]
NTSTATUS
NTAPI
NtCreateLowBoxToken(
__out PHANDLE LowBoxToken,
__in HANDLE hOrgToken,
__in ACCESS_MASK DesiredAccess,
__in POBJECT_ATTRIBUTES ObjectAttributes,
__in PSID AppContainerSid,
__in DWORD CapabilityCount,
__in PSID_AND_ATTRIBUTES Capabilities,
__in DWORD LowBoxCount,
__in PVOID LowBoxStruct
);
//[Security]
NTSTATUS
NTAPI
NtCreateToken(
OUT PHANDLE TokenHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN TOKEN_TYPE TokenType,
IN PLUID AuthenticationId,
IN PLARGE_INTEGER ExpirationTime,
IN PTOKEN_USER TokenUser,
IN PTOKEN_GROUPS TokenGroups,
IN PTOKEN_PRIVILEGES TokenPrivileges,
IN PTOKEN_OWNER TokenOwner,
IN PTOKEN_PRIMARY_GROUP TokenPrimaryGroup,
IN PTOKEN_DEFAULT_DACL TokenDefaultDacl,
IN PTOKEN_SOURCE TokenSource
);
//[Security]
NTSTATUS
NTAPI
NtCreateTokenEx(
__out PHANDLE TokenHandle,
__in ACCESS_MASK DesiredAccess,
__in_opt POBJECT_ATTRIBUTES ObjectAttributes,
__in TOKEN_TYPE TokenType,
__in PLUID AuthenticationId,
__in PLARGE_INTEGER ExpirationTime,
__in PTOKEN_USER User,
__in PTOKEN_GROUPS Groups,
__in PTOKEN_PRIVILEGES Privileges,
__in_opt PTOKEN_SECURITY_ATTRIBUTES_INFORMATION UserAttributes,
__in_opt PTOKEN_SECURITY_ATTRIBUTES_INFORMATION DeviceAttributes,
__in_opt PTOKEN_GROUPS DeviceGroups,
__in_opt PTOKEN_MANDATORY_POLICY TokenMandatoryPolicy,
__in_opt PTOKEN_OWNER Owner,
__in PTOKEN_PRIMARY_GROUP PrimaryGroup,
__in_opt PTOKEN_DEFAULT_DACL DefaultDacl,
__in PTOKEN_SOURCE TokenSource
);
//[Security]
NTSTATUS
NTAPI
NtDeleteObjectAuditAlarm(
IN PUNICODE_STRING SubsystemName,
IN HANDLE ObjectHandle OPTIONAL,
IN BOOLEAN OnClose
);
//[Security]
NTSTATUS
NTAPI
NtDuplicateToken(
IN HANDLE ExistingTokenHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN BOOLEAN EffectiveOnly,
IN TOKEN_TYPE TokenType,
OUT PHANDLE NewTokenHandle
);
//[Security]
NTSTATUS
NTAPI
NtFilterBootOption(
__in ULONG FilterOperation,
__in ULONG ObjectType,
__in ULONG ElementType,
__in PVOID Data,
__in ULONG DataSize
);
//[Security]
NTSTATUS
NTAPI
NtFilterToken(
IN HANDLE ExistingTokenHandle,
IN ULONG Flags,
IN PTOKEN_GROUPS SidsToDisable OPTIONAL,
IN PTOKEN_PRIVILEGES PrivilegesToDelete OPTIONAL,
IN PTOKEN_GROUPS RestrictedSids OPTIONAL,
OUT PHANDLE NewTokenHandle
);
//[Security]
NTSTATUS
NTAPI
NtFilterTokenEx(
__in HANDLE TokenHandle,
__in ULONG Flags,
__in_opt PTOKEN_GROUPS SidsToDisable,
__in_opt PTOKEN_PRIVILEGES PrivilegesToDelete,
__in_opt PTOKEN_GROUPS RestrictedSids,
__in ULONG DisableUserClaimsCount,
__in_opt PUNICODE_STRING UserClaimsToDisable,
__in ULONG DisableDeviceClaimsCount,
__in_opt PUNICODE_STRING DeviceClaimsToDisable,
__in_opt PTOKEN_GROUPS DeviceGroupsToDisable,
__in_opt PTOKEN_SECURITY_ATTRIBUTES_INFORMATION RestrictedUserAttributes,
__in_opt PTOKEN_SECURITY_ATTRIBUTES_INFORMATION RestrictedDeviceAttributes,
__in_opt PTOKEN_GROUPS RestrictedDeviceGroups,
__out PHANDLE NewTokenHandle
);
//[Security]
NTSTATUS
NTAPI
NtGetCachedSigningLevel(
__in HANDLE File,
__out PULONG Flags,
__out PBYTE SigningLevel,
__out PUCHAR Thumbprint,
__inout_opt PULONG ThumbprintSize,
__out_opt PULONG ThumbprintAlgorithm
);
//[Security]
NTSTATUS
NTAPI
NtImpersonateAnonymousToken(
IN HANDLE THreadHandle
);
//[Security]
NTSTATUS
NTAPI
NtImpersonateThread(
IN HANDLE ThreadHandle,
IN HANDLE ThreadToImpersonate,
IN PULONG SecurityQualityOfService
);
//[Security]
NTSTATUS
NTAPI
NtOpenProcessToken(
IN HANDLE ProcessHandle,
IN ACCESS_MASK DesiredAccess,
OUT PHANDLE TokenHandle
);
//[Security]
NTSTATUS
NTAPI
NtOpenProcessTokenEx(
IN HANDLE ProcessHandle,
IN ACCESS_MASK DesiredAccess,
IN ULONG HandleAttributes,
OUT PHANDLE TokenHandle
);
//[Security]
NTSTATUS
NTAPI
NtOpenThreadToken(
IN HANDLE ThreadHandle,
IN ACCESS_MASK DesiredAccess,
IN BOOL OpenAsSelf,
OUT PHANDLE TokenHandle
);
//[Security]
NTSTATUS
NTAPI
NtOpenThreadTokenEx(
IN HANDLE ThreadHandle,
IN ACCESS_MASK DesiredAccess,
IN BOOL OpenAsSelf,
IN ULONG HandleAttributes,
OUT PHANDLE TokenHandle
);
//[Security]
NTSTATUS
NTAPI
NtPrivilegeCheck(
IN HANDLE TokenHandle,
IN PPRIVILEGE_SET PrivilegeSet,
OUT PBOOLEAN HasPrivilege
);
//[Security]
NTSTATUS
NTAPI
NtPrivilegeObjectAuditAlarm(
IN PUNICODE_STRING SubsystemName,
IN PVOID HandleId,
IN HANDLE TokenHandle,
IN ACCESS_MASK DesiredAccess,
IN PPRIVILEGE_SET PrivilegeSet,
IN BOOLEAN AccessGranted
);
//[Security]
NTSTATUS
NTAPI
NtPrivilegedServiceAuditAlarm(
IN PUNICODE_STRING SubsystemName,
IN PUNICODE_STRING ServiceName,
IN HANDLE TokenHandle,
IN PPRIVILEGE_SET PrivilegeSet,
IN BOOLEAN AccessGranted
);
//[Security]
NTSTATUS
NTAPI
NtQueryInformationToken(
IN HANDLE TokenHandle,
IN TOKEN_INFORMATION_CLASS TokenInformationClass,
OUT PVOID TokenInformation,
IN ULONG Length,
OUT PULONG ReturnLength
);
//[Security]
NTSTATUS
NTAPI
NtQuerySecurityAttributesToken(
__in HANDLE TokenHandle,
__in PUNICODE_STRING Attributes,
__in ULONG NumberOfAttributes,
__out PVOID Buffer,
__in ULONG Length,
__out PULONG ReturnLength
);
//[Security]
NTSTATUS
NTAPI
NtQuerySecurityObject(
IN HANDLE Handle,
IN SECURITY_INFORMATION SecurityInformation,
OUT PSECURITY_DESCRIPTOR SecurityDescriptor,
IN ULONG SecurityDescriptorLength,
OUT PULONG ReturnLength
);
//[Security]
NTSTATUS
NTAPI
NtQuerySecurityPolicy(
ULONG Unknown,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown
);
//[Security]
NTSTATUS
NTAPI
NtSetCachedSigningLevel(
__in ULONG Flags,
__in BYTE InputSigningLevel,
__in PHANDLE SourceFiles,
__in ULONG SourceFileCount,
__in_opt HANDLE TargetFile
);
//[Security]
NTSTATUS
NTAPI
NtSetCachedSigningLevel2(
__in ULONG Flags,
__in BYTE InputSigningLevel,
__in PHANDLE SourceFiles,
__in ULONG SourceFileCount,
__in_opt HANDLE TargetFile,
__in_opt PVOID LevelInformation
);
//[Security]
NTSTATUS
NTAPI
NtSetInformationToken(
IN HANDLE TokenHandle,
IN TOKEN_INFORMATION_CLASS Class,
IN PVOID Buffer,
IN ULONG BufferLength
);
//[Security]
NTSTATUS
NTAPI
NtSetSecurityObject(
IN HANDLE Handle,
IN SECURITY_INFORMATION SecurityInformation,
IN PSECURITY_DESCRIPTOR SecurityDescriptor
);
//[Synchronization]
NTSTATUS
NTAPI
NtAcquireCrossVmMutant(
ULONG Unknown,
ULONG Unknown
);
//[Synchronization]
NTSTATUS
NTAPI
NtClearEvent(
IN HANDLE EventHandle
);
//[Synchronization]
NTSTATUS
NTAPI
NtCreateCrossVmEvent(
OUT PHANDLE EventHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
ULONG Unknown,
PVOID Unknown,
IN PGUID Guid
);
//[Synchronization]
NTSTATUS
NTAPI
NtCreateCrossVmMutant(
OUT PHANDLE EventHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
ULONG Unknown,
PVOID Unknown,
IN PGUID Guid
);
//[Synchronization]
NTSTATUS
NTAPI
NtCreateEvent(
OUT PHANDLE EventHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN EVENT_TYPE EventType,
IN BOOLEAN InitialState
);
//[Synchronization]
NTSTATUS
NTAPI
NtCreateEventPair(
OUT PHANDLE EventHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[Synchronization]
NTSTATUS
NTAPI
NtCreateKeyedEvent(
OUT PHANDLE KeyedEventHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
IN ULONG Reserved
);
//[Synchronization]
NTSTATUS
NTAPI
NtCreateMutant(
OUT PHANDLE MutantHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN BOOLEAN InitialOwner
);
//[Synchronization]
NTSTATUS
NTAPI
NtCreateSemaphore(
OUT PHANDLE SemaphoreHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN LONG InitialCount,
IN LONG MaxCount
);
//[Synchronization]
NTSTATUS
NTAPI
NtOpenEvent(
OUT PHANDLE EventHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[Synchronization]
NTSTATUS
NTAPI
NtOpenEventPair(
OUT PHANDLE EventHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[Synchronization]
NTSTATUS
NTAPI
NtOpenKeyedEvent(
OUT PHANDLE KeyedEventHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[Synchronization]
NTSTATUS
NTAPI
NtOpenMutant(
OUT PHANDLE MutantHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[Synchronization]
NTSTATUS
NTAPI
NtOpenSemaphore(
OUT PHANDLE SemaphoreHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[Synchronization]
NTSTATUS
NTAPI
NtPulseEvent(
IN HANDLE EventHandle,
OUT PULONG PrevState OPTIONAL
);
//[Synchronization]
NTSTATUS
NTAPI
NtQueryEvent(
IN HANDLE EventHandle,
IN EVENT_INFORMATION_CLASS EventInformationClass,
OUT PVOID EventInformation,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[Synchronization]
NTSTATUS
NTAPI
NtQueryMutant(
IN HANDLE MutantHandle,
IN MUTANT_INFORMATION_CLASS MutantInformationClass,
OUT PVOID MutantInformation,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[Synchronization]
NTSTATUS
NTAPI
NtQuerySemaphore(
IN HANDLE SemaphoreHandle,
IN SEMAPHORE_INFORMATION_CLASS SemaphoreInformationClass,
OUT PVOID SemaphoreInformation,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[Synchronization]
NTSTATUS
NTAPI
NtReleaseKeyedEvent(
IN HANDLE KeyedEventHandle,
IN PVOID Key,
IN BOOLEAN Alertable,
IN PLARGE_INTEGER Timeout OPTIONAL
);
//[Synchronization]
NTSTATUS
NTAPI
NtReleaseMutant(
IN HANDLE MutantHandle,
OUT PULONG PreviousCount OPTIONAL
);
//[Synchronization]
NTSTATUS
NTAPI
NtReleaseSemaphore(
IN HANDLE SemaphoreHandle,
IN ULONG Count,
OUT PULONG PreviousCount OPTIONAL
);
//[Synchronization]
NTSTATUS
NTAPI
NtResetEvent(
IN HANDLE EventHandle,
OUT PULONG PrevState OPTIONAL
);
//[Synchronization]
NTSTATUS
NTAPI
NtSetEvent(
IN HANDLE EventHandle,
OUT PULONG PrevState OPTIONAL
);
//[Synchronization]
NTSTATUS
NTAPI
NtSetEventBoostPriority(
IN HANDLE EventHandle
);
//[Synchronization]
NTSTATUS
NTAPI
NtSetHighEventPair(
IN HANDLE EventHandle
);
//[Synchronization]
NTSTATUS
NTAPI
NtSetHighWaitLowEventPair(
IN HANDLE EventHandle
);
//[Synchronization]
NTSTATUS
NTAPI
NtSetHighWaitLowThread(
);
//[Synchronization]
NTSTATUS
NTAPI
NtSetLowEventPair(
IN HANDLE EventHandle
);
//[Synchronization]
NTSTATUS
NTAPI
NtSetLowWaitHighEventPair(
IN HANDLE EventHandle
);
//[Synchronization]
NTSTATUS
NTAPI
NtSetLowWaitHighThread(
);
//[Synchronization]
NTSTATUS
NTAPI
NtSignalAndWaitForSingleObject(
IN HANDLE SignalHandle,
IN HANDLE ObjectHandle,
IN BOOLEAN Alertable,
IN PLARGE_INTEGER Timeout
);
//[Synchronization]
NTSTATUS
NTAPI
NtTraceEvent(
__in HANDLE TraceHandle,
__in ULONG Flags,
__in ULONG FieldSize,
__in PVOID Fields
);
//[Synchronization]
NTSTATUS
NTAPI
NtWaitForKeyedEvent(
IN HANDLE KeyedEventHandle,
IN PVOID Key,
IN BOOLEAN Alertable,
IN PLARGE_INTEGER Timeout OPTIONAL
);
//[Synchronization]
NTSTATUS
NTAPI
NtWaitForMultipleObjects(
IN ULONG Count,
IN PHANDLE Handles,
IN WAIT_TYPE WaitType,
IN BOOLEAN Alertable,
IN PLARGE_INTEGER Timeout OPTIONAL
);
//[Synchronization]
NTSTATUS
NTAPI
NtWaitForMultipleObjects32(
IN ULONG ObjectCount,
IN PHANDLE Handles,
IN WAIT_TYPE WaitType,
IN BOOLEAN Alertable,
IN PLARGE_INTEGER Timeout OPTIONAL
);
//[Synchronization]
NTSTATUS
NTAPI
NtWaitForSingleObject(
IN HANDLE Handle,
IN BOOLEAN Alertable,
IN PLARGE_INTEGER Timeout OPTIONAL
);
//[Synchronization]
NTSTATUS
NTAPI
NtWaitHighEventPair(
IN HANDLE EventHandle
);
//[Synchronization]
NTSTATUS
NTAPI
NtWaitLowEventPair(
IN HANDLE EventHandle
);
//[Time]
NTSTATUS
NTAPI
NtCancelTimer(
IN HANDLE TimerHandle,
OUT PBOOLEAN CurrentState OPTIONAL
);
//[Time]
NTSTATUS
NTAPI
NtCancelTimer2(
__in HANDLE TimerHandle,
__out_opt PBOOLEAN State
);
//[Time]
NTSTATUS
NTAPI
NtConvertBetweenAuxiliaryCounterAndPerformanceCounter(
BOOL InputIsAuxiliary,
PULONGLONG lpInputCounterValue,
PULONGLONG lpOutputCounterValue,
PULONGLONG lpConversionError
);
//[Time]
NTSTATUS
NTAPI
NtCreateIRTimer(
__out PHANDLE TimerHandle,
__in ACCESS_MASK DesiredAccess
);
//[Time]
NTSTATUS
NTAPI
NtCreateTimer(
OUT PHANDLE TimerHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
IN TIMER_TYPE TimerType
);
//[Time]
NTSTATUS
NTAPI
NtCreateTimer2(
__out PHANDLE TimerHandle,
__in_opt PVOID Unknown1,
__in_opt POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
__in ULONG Attributes,
__in ACCESS_MASK DesiredAccess
);
//[Time]
NTSTATUS
NTAPI
NtOpenTimer(
OUT PHANDLE TimerHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);
//[Time]
NTSTATUS
NTAPI
NtQueryAuxiliaryCounterFrequency(
__out PULONGLONG lpAuxiliaryCounterFrequency
);
//[-Time]
NTSTATUS
NTAPI
NtQuerySystemTime(
OUT PLARGE_INTEGER SystemTime
);
//[Time]
NTSTATUS
NTAPI
NtQueryTimer(
IN HANDLE TimerHandle,
IN TIMER_INFORMATION_CLASS TimerInformationClass,
OUT PVOID TimerInformation,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[Time]
NTSTATUS
NTAPI
NtQueryTimerResolution(
OUT PULONG MaxTime,
OUT PULONG MinTime,
OUT PULONG CurrTime
);
//[Time]
NTSTATUS
NTAPI
NtSetIRTimer(
__in HANDLE TimerHandle,
__in_opt PLARGE_INTEGER Time
);
//[Time]
NTSTATUS
NTAPI
NtSetSystemTime(
IN PLARGE_INTEGER SystemTime,
OUT PLARGE_INTEGER PrevSystemTime OPTIONAL
);
//[Time]
NTSTATUS
NTAPI
NtSetTimer(
IN HANDLE TimerHandle,
IN PLARGE_INTEGER DueTime,
IN PTIMER_APC_ROUTINE TimerApcRoutine OPTIONAL,
IN PVOID TimerContext OPTIONAL,
IN BOOLEAN WakeTimer,
IN LONG Period OPTIONAL,
OUT PBOOLEAN PreviousState OPTIONAL
);
//[Time]
NTSTATUS
NTAPI
NtSetTimer2(
__in HANDLE TimerHandle,
__in PLARGE_INTEGER DueTime,
__in_opt PLARGE_INTEGER Period,
__in PVOID Parameters
);
//[Time]
NTSTATUS
NTAPI
NtSetTimerEx(
__in HANDLE TimerHandle,
__in TIMER_INFORMATION_CLASS TimerSetInformationClass,
__inout PVOID TimerSetInformation,
__in ULONG Length
);
//[Time]
NTSTATUS
NTAPI
NtSetTimerResolution(
IN ULONG DesiredTime,
IN BOOLEAN SetResolution,
OUT PULONG ActualTime
);
//[Transaction]
NTSTATUS
NTAPI
NtClearAllSavepointsTransaction(
__in HANDLE TransactionHandle
);
//[Transaction]
NTSTATUS
NTAPI
NtClearSavepointTransaction(
__in HANDLE TransactionHandle,
__in ULONG SavePointId
);
//[Transaction]
NTSTATUS
NTAPI
NtCommitComplete(
__in HANDLE EnlistmentHandle,
__in_opt PLARGE_INTEGER TmVirtualClock
);
//[Transaction]
NTSTATUS
NTAPI
NtCommitEnlistment(
__in HANDLE EnlistmentHandle,
__in_opt PLARGE_INTEGER TmVirtualClock
);
//[Transaction]
NTSTATUS
NTAPI
NtCommitTransaction(
__in HANDLE TransactionHandle,
__in BOOLEAN Wait
);
//[Transaction]
NTSTATUS
NTAPI
NtCreateEnlistment(
__out PHANDLE EnlistmentHandle,
__in ACCESS_MASK DesiredAccess,
__in HANDLE ResourceManagerHandle,
__in HANDLE TransactionHandle,
__in_opt POBJECT_ATTRIBUTES ObjectAttributes,
__in_opt ULONG CreateOptions,
__in NOTIFICATION_MASK NotificationMask,
__in_opt PVOID EnlistmentKey
);
//[Transaction]
NTSTATUS
NTAPI
NtCreateResourceManager(
__out PHANDLE ResourceManagerHandle,
__in ACCESS_MASK DesiredAccess,
__in HANDLE TmHandle,
__in_opt PGUID ResourceManagerGuid,
__in_opt POBJECT_ATTRIBUTES ObjectAttributes,
__in_opt ULONG CreateOptions,
__in_opt PUNICODE_STRING Description
);
//[Transaction]
NTSTATUS
NTAPI
NtCreateTransaction(
__out PHANDLE TransactionHandle,
__in ACCESS_MASK DesiredAccess,
__in_opt POBJECT_ATTRIBUTES ObjectAttributes,
__in_opt PVOID Uow,
__in_opt HANDLE TmHandle,
__in_opt ULONG CreateOptions,
__in_opt ULONG IsolationLevel,
__in_opt ULONG IsolationFlags,
__in_opt PLARGE_INTEGER Timeout,
__in_opt PUNICODE_STRING Description
);
//[Transaction]
NTSTATUS
NTAPI
NtCreateTransactionManager(
__out PHANDLE TmHandle,
__in ACCESS_MASK DesiredAccess,
__in_opt POBJECT_ATTRIBUTES ObjectAttributes,
__in_opt PUNICODE_STRING LogFileName,
__in_opt ULONG CreateOptions,
__in_opt ULONG CommitStrength
);
//[Transaction]
NTSTATUS
NTAPI
NtEnumerateTransactionObject(
__in_opt HANDLE RootObjectHandle,
__in KTMOBJECT_TYPE QueryType,
__inout PKTMOBJECT_CURSOR ObjectCursor,
__in ULONG ObjectCursorLength,
__out PULONG ReturnLength
);
//[Transaction]
NTSTATUS
NTAPI
NtFreezeTransactions(
__in PLARGE_INTEGER FreezeTimeout,
__in PLARGE_INTEGER ThawTimeout
);
//[Transaction]
NTSTATUS
NTAPI
NtGetNotificationResourceManager(
__in HANDLE ResourceManagerHandle,
__out PTRANSACTION_NOTIFICATION TransactionNotification,
__in ULONG NotificationLength,
__in PLARGE_INTEGER Timeout,
__out_opt PULONG ReturnLength,
__in ULONG Asynchronous,
__in_opt ULONG_PTR AsynchronousContext
);
//[Transaction]
NTSTATUS
NTAPI
NtListTransactions(
);
//[Transaction]
NTSTATUS
NTAPI
NtMarshallTransaction(
);
//[Transaction]
NTSTATUS
NTAPI
NtOpenEnlistment(
__out PHANDLE EnlistmentHandle,
__in ACCESS_MASK DesiredAccess,
__in HANDLE RmHandle,
__in PVOID EnlistmentGuid,
__in_opt POBJECT_ATTRIBUTES ObjectAttributes
);
//[Transaction]
NTSTATUS
NTAPI
NtOpenResourceManager(
__out PHANDLE ResourceManagerHandle,
__in ACCESS_MASK DesiredAccess,
__in HANDLE TmHandle,
__in PGUID ResourceManagerGuid,
__in_opt POBJECT_ATTRIBUTES ObjectAttributes
);
//[Transaction]
NTSTATUS
NTAPI
NtOpenTransaction(
__out PHANDLE TransactionHandle,
__in ACCESS_MASK DesiredAccess,
__in_opt POBJECT_ATTRIBUTES ObjectAttributes,
__in PVOID Uow,
__in_opt HANDLE TmHandle
);
//[Transaction]
NTSTATUS
NTAPI
NtOpenTransactionManager(
__out PHANDLE TmHandle,
__in ACCESS_MASK DesiredAccess,
__in_opt POBJECT_ATTRIBUTES ObjectAttributes,
__in_opt PUNICODE_STRING LogFileName,
__in_opt PVOID TmIdentity,
__in_opt ULONG OpenOptions
);
//[Transaction]
NTSTATUS
NTAPI
NtPrePrepareComplete(
__in HANDLE EnlistmentHandle,
__in_opt PLARGE_INTEGER TmVirtualClock
);
//[Transaction]
NTSTATUS
NTAPI
NtPrePrepareEnlistment(
__in HANDLE EnlistmentHandle,
__in_opt PLARGE_INTEGER TmVirtualClock
);
//[Transaction]
NTSTATUS
NTAPI
NtPrepareComplete(
__in HANDLE EnlistmentHandle,
__in_opt PLARGE_INTEGER TmVirtualClock
);
//[Transaction]
NTSTATUS
NTAPI
NtPrepareEnlistment(
__in HANDLE EnlistmentHandle,
__in_opt PLARGE_INTEGER TmVirtualClock
);
//[Transaction]
NTSTATUS
NTAPI
NtPropagationComplete(
__in HANDLE ResourceManagerHandle,
__in ULONG RequestCookie,
__in ULONG BufferLength,
__in PVOID Buffer
);
//[Transaction]
NTSTATUS
NTAPI
NtPropagationFailed(
__in HANDLE ResourceManagerHandle,
__in ULONG RequestCookie,
__in NTSTATUS PropStatus
);
//[Transaction]
NTSTATUS
NTAPI
NtPullTransaction(
);
//[Transaction]
NTSTATUS
NTAPI
NtQueryInformationEnlistment(
__in HANDLE EnlistmentHandle,
__in ENLISTMENT_INFORMATION_CLASS EnlistmentInformationClass,
__out PVOID EnlistmentInformation,
__in ULONG Length,
__out_opt PULONG ReturnLength
);
//[Transaction]
NTSTATUS
NTAPI
NtQueryInformationResourceManager(
__in HANDLE ResourceManagerHandle,
__in RESOURCEMANAGER_INFORMATION_CLASS ResourceManagerInformationClass,
__out PVOID ResourceManagerInformation,
__in ULONG Length,
__out_opt PULONG ReturnLength
);
//[Transaction]
NTSTATUS
NTAPI
NtQueryInformationTransaction(
__in HANDLE TransactionHandle,
__in TRANSACTION_INFORMATION_CLASS TransactionInformationClass,
__out PVOID TransactionInformation,
__in ULONG Length,
__out_opt PULONG ReturnLength
);
//[Transaction]
NTSTATUS
NTAPI
NtQueryInformationTransactionManager(
__in HANDLE TransactionManagerHandle,
__in TRANSACTIONMANAGER_INFORMATION_CLASS TransactionManagerInformationClass,
__out PVOID TransactionManagerInformation,
__in ULONG Length,
__out_opt PULONG ReturnLength
);
//[Transaction]
NTSTATUS
NTAPI
NtReadOnlyEnlistment(
__in HANDLE EnlistmentHandle,
__in_opt PLARGE_INTEGER TmVirtualClock
);
//[Transaction]
NTSTATUS
NTAPI
NtRecoverEnlistment(
__in HANDLE EnlistmentHandle,
__in_opt PVOID EnlistmentKey
);
//[Transaction]
NTSTATUS
NTAPI
NtRecoverResourceManager(
__in HANDLE ResourceManagerHandle
);
//[Transaction]
NTSTATUS
NTAPI
NtRecoverTransactionManager(
__in HANDLE TransactionManagerHandle
);
//[Transaction]
NTSTATUS
NTAPI
NtRegisterProtocolAddressInformation(
IN HANDLE ResourceManager,
IN PGUID ProtocolId,
IN ULONG ProtocolInformationSize,
IN PVOID ProtocolInformation,
IN ULONG CreateOptions
);
//[Transaction]
NTSTATUS
NTAPI
NtRenameTransactionManager(
__in PUNICODE_STRING LogFileName,
__in PGUID ExistingTransactionManagerGuid
);
//[Transaction]
NTSTATUS
NTAPI
NtRollbackComplete(
__in HANDLE EnlistmentHandle,
__in_opt PLARGE_INTEGER TmVirtualClock
);
//[Transaction]
NTSTATUS
NTAPI
NtRollbackEnlistment(
__in HANDLE EnlistmentHandle,
__in_opt PLARGE_INTEGER TmVirtualClock
);
//[Transaction]
NTSTATUS
NTAPI
NtRollbackSavepointTransaction(
__in HANDLE TransactionHandle,
__in ULONG SavePointId
);
//[Transaction]
NTSTATUS
NTAPI
NtRollbackTransaction(
__in HANDLE TransactionHandle,
__in BOOLEAN Wait
);
//[Transaction]
NTSTATUS
NTAPI
NtRollforwardTransactionManager(
__in HANDLE TransactionManagerHandle,
__in_opt PLARGE_INTEGER TmVirtualClock
);
//[Transaction]
NTSTATUS
NTAPI
NtSavepointComplete(
__in HANDLE TransactionHandle,
__in_opt PLARGE_INTEGER TmVirtualClock
);
//[Transaction]
NTSTATUS
NTAPI
NtSavepointTransaction(
IN HANDLE TransactionHandle,
IN BOOLEAN Flag,
OUT PULONG SavePointId
);
//[Transaction]
NTSTATUS
NTAPI
NtSetInformationEnlistment(
__in HANDLE EnlistmentHandle,
__in ENLISTMENT_INFORMATION_CLASS EnlistmentInformationClass,
__in PVOID EnlistmentInformation,
__in ULONG Length
);
//[Transaction]
NTSTATUS
NTAPI
NtSetInformationResourceManager(
__in HANDLE ResourceManagerHandle,
__in RESOURCEMANAGER_INFORMATION_CLASS ResourceManagerInformationClass,
__in PVOID ResourceManagerInformation,
__in ULONG Length
);
//[Transaction]
NTSTATUS
NTAPI
NtSetInformationTransaction(
__in HANDLE TransactionHandle,
__in TRANSACTION_INFORMATION_CLASS TransactionInformationClass,
__in PVOID TransactionInformation,
__in ULONG Length
);
//[Transaction]
NTSTATUS
NTAPI
NtSetInformationTransactionManager(
__in HANDLE TransactionManagerHandle,
__in TRANSACTIONMANAGER_INFORMATION_CLASS TransactionManagerInformationClass,
__in PVOID TransactionManagerInformation,
__in ULONG Length
);
//[Transaction]
NTSTATUS
NTAPI
NtSinglePhaseReject(
__in HANDLE EnlistmentHandle,
__in_opt PLARGE_INTEGER TmVirtualClock
);
//[Transaction]
NTSTATUS
NTAPI
NtStartTm(
);
//[Transaction]
NTSTATUS
NTAPI
NtThawTransactions(
);
//[WNF]
NTSTATUS
NTAPI
NtCreateWnfStateName(
__out PCWNF_STATE_NAME StateName,
__in ULONG Lifetime,
__in ULONG DataScope,
__in BOOLEAN PersistData,
__in_opt PVOID TypeId,
__in ULONG MaximumStateSize,
__in PSECURITY_DESCRIPTOR SecurityDescriptor
);
//[WNF]
NTSTATUS
NTAPI
NtDeleteWnfStateData(
__in PCWNF_STATE_NAME StateName,
__in_opt PVOID ExplicitScope
);
//[WNF]
NTSTATUS
NTAPI
NtDeleteWnfStateName(
__in PCWNF_STATE_NAME StateName
);
//[WNF]
NTSTATUS
NTAPI
NtGetCompleteWnfStateSubscription(
__in_opt PWNF_STATE_NAME OldDescriptorStateName,
__in_opt PULONG OldSubscriptionId,
__in_opt ULONG OldDescriptorEventMask,
__in_opt ULONG OldDescriptorStatus,
__out PVOID NewDeliveryDescriptor,
__in ULONG DescriptorSize
);
//[WNF]
NTSTATUS
NTAPI
NtQueryWnfStateData(
__in PCWNF_STATE_NAME StateName,
__in_opt PVOID TypeId,
__in_opt const PVOID ExplicitScope,
__out PULONG ChangeStamp,
__out PVOID Buffer,
__inout PULONG BufferSize
);
//[WNF]
NTSTATUS
NTAPI
NtQueryWnfStateNameInformation(
__in PCWNF_STATE_NAME StateName,
__in ULONG NameInfoClass,
__in_opt PVOID ExplicitScope,
__out PVOID InfoBuffer,
__in ULONG InfoBufferSize
);
//[WNF]
NTSTATUS
NTAPI
NtSetWnfProcessNotificationEvent(
__in HANDLE NotificationEvent
);
//[WNF]
NTSTATUS
NTAPI
NtSubscribeWnfStateChange(
__in PCWNF_STATE_NAME StateName,
__in_opt ULONG ChangeStamp,
__in ULONG EventMask,
__out_opt PULONG SubscriptionId
);
//[WNF]
NTSTATUS
NTAPI
NtUnsubscribeWnfStateChange(
__in PCWNF_STATE_NAME StateName
);
//[WNF]
NTSTATUS
NTAPI
NtUpdateWnfStateData(
__in PCWNF_STATE_NAME StateName,
__in PVOID Buffer,
__in_opt ULONG Length,
__in_opt PULONG TypeId,
__in_opt PVOID ExplicitScope,
__in ULONG MatchingChangeStamp,
__in ULONG CheckStamp
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64AllocateVirtualMemory64(
IN HANDLE ProcessHandle,
IN OUT PPVOID lpAddress,
IN ULONG_PTR ZeroBitsLow,
IN ULONG_PTR ZeroBitsHigh,
IN OUT PSIZE_T pSize,
IN ULONG flAllocationType,
IN ULONG flProtect
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64CallFunction64(
IN ULONG FunctionIndex,
IN ULONG Flags,
IN ULONG InputBufferLength,
IN PVOID InputBuffer,
IN ULONG OutputBufferLength,
OUT PVOID OutputBuffer,
OUT PULONG ReturnStatus
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64CsrAllocateCaptureBuffer(
ULONG ArgumentCount,
ULONG BufferSize
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64CsrAllocateMessagePointer(
IN PVOID CaptureBuffer,
IN ULONG MessageLength,
OUT PPVOID CaptureData
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64CsrCaptureMessageBuffer(
IN PVOID CaptureBuffer,
IN PVOID MessageBuffer,
IN ULONG MessageLength,
OUT PPVOID CaptureData
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64CsrCaptureMessageString(
IN PVOID CaptureBuffer,
IN PSTR String,
IN ULONG StringLength,
IN ULONG MaximumLength,
OUT PVOID CapturedString
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64CsrClientCallServer(
IN OUT PVOID ApiMessage,
IN OUT PVOID CaptureBuffer OPTIONAL,
IN ULONG ApiNumber,
IN ULONG RequestLength
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64CsrClientConnectToServer(
IN PWSTR ObjectDirectory,
IN ULONG ServerId,
IN PVOID ConnectionInfo,
IN OUT PULONG ConnectionInfoSize,
OUT PBOOLEAN ServerToServerCall
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64CsrFreeCaptureBuffer(
IN PVOID CaptureBuffer
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64CsrGetProcessId(
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64CsrIdentifyAlertableThread(
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64CsrVerifyRegion(
IN PVOID Buffer,
IN ULONG Length
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64DebuggerCall(
ULONG Function,
ULONG Arg1,
ULONG Arg2,
ULONG Arg3,
ULONG arg4
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64GetNativeSystemInformation(
IN SYSTEM_INFORMATION_CLASS SystemInformationClass,
OUT PVOID SystemInformation,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64InterlockedPopEntrySList(
__inout PVOID ListHead
);
//[WOW64]
ULONG
NTAPI
NtWow64IsProcessorFeaturePresent(
__in ULONG ProcessorFeature
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64QueryInformationProcess64(
IN HANDLE ProcessHandle,
IN PROCESSINFOCLASS ProcessInformationClass,
OUT PVOID ProcessInformation64,
IN ULONG Length,
OUT PULONG ReturnLength OPTIONAL
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64QueryVirtualMemory64(
IN HANDLE ProcessHandle,
IN PVOID BaseAddressLow,
IN PVOID BaseAddressHigh,
IN MEMORY_INFORMATION_CLASS MemoryInformationClass,
OUT PVOID MemoryInformation, /* NB must be 64bit aligned */
IN ULONG LengthLow,
IN ULONG LengthHigh,
OUT PULONGLONG ReturnLength OPTIONAL
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64ReadVirtualMemory64(
IN HANDLE ProcessHandle,
IN PVOID AddressLow,
IN PVOID AddressHigh,
OUT PVOID Buffer,
IN ULONG BufferSizeLow,
IN ULONG BufferSizeHigh,
OUT PULONGLONG BytesRead OPTIONAL
);
//[WOW64]
NTSTATUS
NTAPI
NtWow64WriteVirtualMemory64(
IN HANDLE ProcessHandle,
IN PVOID AddressLow,
IN PVOID AddressHigh,
IN PVOID Buffer,
IN ULONG BufferSizeLow,
IN ULONG BufferSizeHigh,
OUT PULONGLONG BytesWritten OPTIONAL
);
//[Other]
NTSTATUS
NTAPI
NtDirectGraphicsCall(
ULONG Unknown,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown
);
//[Other]
NTSTATUS
NTAPI
NtPssCaptureVaSpaceBulk(
ULONG Unknown,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown
);
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_ReneNyffenegger/NtTrace.git
git@gitee.com:mirrors_ReneNyffenegger/NtTrace.git
mirrors_ReneNyffenegger
NtTrace
NtTrace
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385