3 Star 0 Fork 0

mirrors_ReneNyffenegger/NtTrace

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Gdi32Trace.cfg 70.49 KB
一键复制 编辑 原始数据 按行查看 历史
Roger Orr 提交于 2020-04-09 22:46 . Changed to reflect new email address
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318
// GDI32 DLL Native Interface entry points
// @author Roger Orr <rogero@howzatt.co.uk>
// Copyright &copy; 2013.
// 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: Gdi32Trace.cfg 1881 2020-04-09 20:55:12Z Roger $
//[win32u.dll]
//[Gdi32.dll]
//[Other]
typedef HANDLE DHPDEV;
typedef HANDLE DHSURF;
typedef HANDLE HACCEL;
typedef HANDLE HBITMAP;
typedef HANDLE HBRUSH;
typedef HANDLE HCOLORSPACE;
typedef HANDLE HCURSOR;
typedef HANDLE HDC;
typedef HANDLE HDESK;
typedef HANDLE HDEV;
typedef HANDLE HDWP;
typedef HANDLE HFONT;
typedef HANDLE HHOOK;
typedef HANDLE HKL;
typedef HANDLE HLSURF;
typedef HANDLE HMENU;
typedef HANDLE HPALETTE;
typedef HANDLE HPEN;
typedef HANDLE HRAWINPUT;
typedef HANDLE HRGN;
typedef HANDLE HSURF;
typedef HANDLE HUMPD;
typedef HANDLE HWINEVENTHOOK;
typedef HANDLE HWINSTA;
typedef HANDLE HWND;
typedef HANDLE OPM_PROTECTED_OUTPUT_HANDLE;
typedef PHANDLE PHDC;
typedef PHANDLE POPM_PROTECTED_OUTPUT_HANDLE;
typedef PULONG PCOLORPALETTEINFO;
typedef PULONG PCOLORREF;
typedef PULONG PICM_DIB_INFO;
typedef PVOID LPMC_VCP_CODE_TYPE;
typedef PVOID LPMC_TIMING_REPORT;
typedef PVOID MONITORENUMPROC;
typedef PVOID PACCEL;
typedef PVOID PARAM;
typedef PVOID PBITMAPINFO;
typedef PVOID PBLENDOBJ;
typedef PVOID PBOOL;
typedef PVOID PBRUSHOBJ;
typedef PVOID PCHANGEFILTERSTRUCT;
typedef PVOID PCHWIDTHINFO;
typedef PVOID PCLIPLINE;
typedef PVOID PCLIPOBJ;
typedef PVOID PCOLORADJUSTMENT;
typedef PVOID PCOMBOBOXINFO;
typedef PVOID PCRAWINPUTDEVICE;
typedef PVOID PCRECT;
typedef PVOID PCURSORINFO;
typedef PVOID PCWSTR;
typedef PVOID PD3DNTHAL_CALLBACKS;
typedef PVOID PD3DNTHAL_CONTEXTCREATEI;
typedef PVOID PD3DNTHAL_CONTEXTDESTROYALLDATA;
typedef PVOID PD3DNTHAL_CONTEXTDESTROYDATA;
typedef PVOID PD3DNTHAL_DRAWPRIMITIVES2DATA;
typedef PVOID PD3DNTHAL_GLOBALDRIVERDATA;
typedef PVOID PD3DNTHAL_VALIDATETEXTURESTAGESTATEDATA;
typedef PVOID PDDSURFACEDESC;
typedef PVOID PDDVIDEOPORTNOTIFY;
typedef PVOID PDD_ADDATTACHEDSURFACEDATA;
typedef PVOID PDD_BEGINMOCOMPFRAMEDATA;
typedef PVOID PDD_BLTDATA;
typedef PVOID PDD_CANCREATESURFACEDATA;
typedef PVOID PDD_CANCREATEVPORTDATA;
typedef PVOID PDD_COLORCONTROLDATA;
typedef PVOID PDD_CREATEMOCOMPDATA;
typedef PVOID PDD_CREATESURFACEDATA;
typedef PVOID PDD_CREATEVPORTDATA;
typedef PVOID PDD_D3DBUFCALLBACKS;
typedef PVOID PDD_DESTROYMOCOMPDATA;
typedef PVOID PDD_DESTROYVPORTDATA;
typedef PVOID PDD_ENDMOCOMPFRAMEDATA;
typedef PVOID PDD_FLIPDATA;
typedef PVOID PDD_FLIPTOGDISURFACEDATA;
typedef PVOID PDD_FLIPVPORTDATA;
typedef PVOID PDD_GETAVAILDRIVERMEMORYDATA;
typedef PVOID PDD_GETBLTSTATUSDATA;
typedef PVOID PDD_GETDRIVERINFODATA;
typedef PVOID PDD_GETDRIVERSTATEDATA;
typedef PVOID PDD_GETFLIPSTATUSDATA;
typedef PVOID PDD_GETINTERNALMOCOMPDATA;
typedef PVOID PDD_GETMOCOMPCOMPBUFFDATA;
typedef PVOID PDD_GETMOCOMPFORMATSDATA;
typedef PVOID PDD_GETMOCOMPGUIDSDATA;
typedef PVOID PDD_GETSCANLINEDATA;
typedef PVOID PDD_GETVPORTBANDWIDTHDATA;
typedef PVOID PDD_GETVPORTCONNECTDATA;
typedef PVOID PDD_GETVPORTFIELDDATA;
typedef PVOID PDD_GETVPORTFLIPSTATUSDATA;
typedef PVOID PDD_GETVPORTINPUTFORMATDATA;
typedef PVOID PDD_GETVPORTLINEDATA;
typedef PVOID PDD_GETVPORTOUTPUTFORMATDATA;
typedef PVOID PDD_GETVPORTSIGNALDATA;
typedef PVOID PDD_HALINFO;
typedef PVOID PDD_LOCKDATA;
typedef PVOID PDD_QUERYMOCOMPSTATUSDATA;
typedef PVOID PDD_RENDERMOCOMPDATA;
typedef PVOID PDD_SETCOLORKEYDATA;
typedef PVOID PDD_SETEXCLUSIVEMODEDATA;
typedef PVOID PDD_SETOVERLAYPOSITIONDATA;
typedef PVOID PDD_SURFACE_GLOBAL;
typedef PVOID PDD_SURFACE_LOCAL;
typedef PVOID PDD_SURFACE_MORE;
typedef PVOID PDD_UNLOCKDATA;
typedef PVOID PDD_UPDATEOVERLAYDATA;
typedef PVOID PDD_UPDATEVPORTDATA;
typedef PVOID PDD_VPORTCOLORDATA;
typedef PVOID PDD_WAITFORVERTICALBLANKDATA;
typedef PVOID PDD_WAITFORVPORTSYNCDATA;
typedef PVOID PDESIGNVECTOR;
typedef PVOID PDEVCAPS;
typedef PVOID PDEVMODEW;
typedef PVOID PDOCINFOW;
typedef PVOID PDOWNLOADDESIGNVECTOR;
typedef PVOID PDRIVER_INFO_2W;
typedef PVOID PDXGI_FORMAT;
typedef PVOID PDXGKMDT_OPM_CONFIGURE_PARAMETERS;
typedef PVOID PDXGKMDT_OPM_COPP_COMPATIBLE_GET_INFO_PARAMETERS;
typedef PVOID PDXGKMDT_OPM_ENCRYPTED_PARAMETERS;
typedef PVOID PDXGKMDT_OPM_GET_INFO_PARAMETERS;
typedef PVOID PDXGKMDT_OPM_RANDOM_NUMBER;
typedef PVOID PDXGKMDT_OPM_REQUESTED_INFORMATION;
typedef PVOID PENUMLOGFONTEXDVW;
typedef PVOID PEXTLOGFONTW;
typedef PVOID PEXTTEXTMETRIC;
typedef PVOID PFD_GLYPHATTR;
typedef PVOID PFD_GLYPHSET;
typedef PVOID PFLASHWINFO;
typedef PVOID PFLATPTR;
typedef PVOID PFLONG;
typedef PVOID PFONTINFO;
typedef PVOID PFONTOBJ;
typedef PVOID PFONTSIGNATURE;
typedef PVOID PFONT_FILE_INFO;
typedef PVOID PFONT_REALIZATION_INFO;
typedef PVOID PGCP_RESULTSW;
typedef PVOID PGESTURECONFIG;
typedef PVOID PGLYPHMETRICS;
typedef PVOID PGLYPHSET;
typedef PVOID PGUITHREADINFO;
typedef PVOID PHGLYPH;
typedef PVOID PHLSURF_INFORMATION_PROBE;
typedef PVOID PHUMPD;
typedef PVOID PIFIMETRICS;
typedef PVOID PINPUT;
typedef PVOID PKERNEL_PVOID;
typedef PVOID PKERNINGPAIR;
typedef PVOID PLINEATTRS;
typedef PVOID PLOGCOLORSPACEEXW;
typedef PVOID PLOGCOLORSPACEW;
typedef PVOID PLOGPALETTE;
typedef PVOID PMAT2;
typedef PVOID PMENUBARINFO;
typedef PVOID PMOUSEMOVEPOINT;
typedef PVOID POUTLINETEXTMETRICW;
typedef PVOID PPAINTSTRUCT;
typedef PVOID PPALETTEENTRY;
typedef PVOID PPATHDATA;
typedef PVOID PPATHOBJ;
typedef PVOID PPERBANDINFO;
typedef PVOID PPGLYPHPOS;
typedef PVOID PPIXELFORMATDESCRIPTOR;
typedef PVOID PPOINT;
typedef PVOID PPOINTFIX;
typedef PVOID PPOINTL;
typedef PVOID PPOINTQF;
typedef PVOID PPOLYPATBLT;
typedef PVOID PPOLYTEXTW;
typedef PVOID PRASTERIZER_STATUS;
typedef PVOID PRAWINPUTDEVICE;
typedef PVOID PRAWINPUTDEVICELIST;
typedef PVOID PRECT;
typedef PVOID PRECTFX;
typedef PVOID PRECTL;
typedef PVOID PRGNDATA;
typedef PVOID PSCROLLBARINFO;
typedef PVOID PSIZE;
typedef PVOID PSTROBJ;
typedef PVOID PSURFOBJ;
typedef PVOID PTITLEBARINFO;
typedef PVOID PTMDIFF;
typedef PVOID PTMW_INTERNAL;
typedef PVOID PTPMPARAMS;
typedef PVOID PTRACKMOUSEEVENT;
typedef PVOID PTRIVERTEX;
typedef PVOID PUNIVERSAL_FONT_ID;
typedef PVOID PUSHORT;
typedef PVOID PVIDEOMEMORY;
typedef PVOID PVOID;
typedef PVOID PWCHAR;
typedef PVOID PWIDTHDATA;
typedef PVOID PWINDOWPLACEMENT;
typedef PVOID PXFORM;
typedef PVOID PXFORML;
typedef PVOID PXFORMOBJ;
typedef PVOID PXLATEOBJ;
typedef PVOID TIMERPROC;
typedef ULONG ARCTYPE;
typedef ULONG BLENDFUNCTION;
typedef ULONG BYTE;
typedef ULONG COLORPALETTEINFO;
typedef ULONG COLORREF;
typedef ULONG DXGI_FORMAT;
typedef ULONG DXGKMDT_CERTIFICATE_TYPE;
typedef ULONG DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS;
typedef ULONG FLONG;
typedef ULONG HLSURF_INFORMATION_CLASS;
typedef ULONG ICM_DIB_INFO;
typedef ULONG LFTYPE;
typedef ULONG MIX;
typedef ULONG PALETTEENTRY;
typedef ULONG ROP4;
typedef ULONGLONG POINT;
typedef ULONGLONG SIZEL;
// Originally extracted from NtGdi.h using gdi32.sed
BOOL
WINAPI
NtGdiInit(
);
int
WINAPI
NtGdiSetDIBitsToDeviceInternal(
__in HDC hdcDest,
__in int xDst,
__in int yDst,
__in DWORD cx,
__in DWORD cy,
__in int xSrc,
__in int ySrc,
__in DWORD iStartScan,
__in DWORD cNumScan,
__in PBYTE pInitBits,
__in PBITMAPINFO pbmi,
__in DWORD iUsage,
__in UINT cjMaxBits,
__in UINT cjMaxInfo,
__in BOOL bTransformCoordinates,
__in_opt HANDLE hcmXform
);
BOOL
WINAPI
NtGdiGetFontResourceInfoInternalW(
__in PWSTR pwszFiles,
__in ULONG cwc,
__in ULONG cFiles,
__in UINT cjIn,
__out PDWORD pdwBytes,
__out PVOID pvBuf,
__in DWORD iType
);
DWORD
WINAPI
NtGdiGetGlyphIndicesW(
__in HDC hdc,
__in_opt PWSTR pwc,
__in int cwc,
__out_opt PWORD pgi,
__in DWORD iMode
);
DWORD
WINAPI
NtGdiGetGlyphIndicesWInternal(
__in HDC hdc,
__in_opt PWSTR pwc,
__in int cwc,
__out_opt PWORD pgi,
__in DWORD iMode,
__in BOOL bSubset
);
HPALETTE
WINAPI
NtGdiCreatePaletteInternal(
__in PLOGPALETTE pLogPal,
__in UINT cEntries
);
BOOL
WINAPI
NtGdiArcInternal(
__in ARCTYPE arctype,
__in HDC hdc,
__in int x1,
__in int y1,
__in int x2,
__in int y2,
__in int x3,
__in int y3,
__in int x4,
__in int y4
);
int
WINAPI
NtGdiStretchDIBitsInternal(
__in HDC hdc,
__in int xDst,
__in int yDst,
__in int cxDst,
__in int cyDst,
__in int xSrc,
__in int ySrc,
__in int cxSrc,
__in int cySrc,
__in_opt PBYTE pjInit,
__in PBITMAPINFO pbmi,
__in DWORD dwUsage,
__in DWORD dwRop4,
__in UINT cjMaxInfo,
__in UINT cjMaxBits,
__in HANDLE hcmXform
);
ULONG
WINAPI
NtGdiGetOutlineTextMetricsInternalW(
__in HDC hdc,
__in ULONG cjotm,
__out_opt POUTLINETEXTMETRICW potmw,
__out PTMDIFF ptmd
);
BOOL
WINAPI
NtGdiGetAndSetDCDword(
__in HDC hdc,
__in UINT u,
__in DWORD dwIn,
__out PDWORD pdwResult
);
HANDLE
WINAPI
NtGdiGetDCObject(
__in HDC hdc,
__in int itype
);
HDC
WINAPI
NtGdiGetDCforBitmap(
__in HBITMAP hsurf
);
BOOL
WINAPI
NtGdiGetMonitorID(
__in HDC hdc,
__in DWORD dwSize,
__out PWSTR pszMonitorID
);
INT
WINAPI
NtGdiGetLinkedUFIs(
__in HDC hdc,
__out_opt PUNIVERSAL_FONT_ID pufiLinkedUFIs,
__in INT BufferSize
);
BOOL
WINAPI
NtGdiSetLinkedUFIs(
__in HDC hdc,
__in PUNIVERSAL_FONT_ID pufiLinks,
__in ULONG uNumUFIs
);
BOOL
WINAPI
NtGdiGetUFI(
__in HDC hdc,
__out PUNIVERSAL_FONT_ID pufi,
__out_opt PDESIGNVECTOR pdv,
__out PULONG pcjDV,
__out PULONG pulBaseCheckSum,
__out PFLONG pfl
);
BOOL
WINAPI
NtGdiForceUFIMapping(
__in HDC hdc,
__in PUNIVERSAL_FONT_ID pufi
);
BOOL
WINAPI
NtGdiGetUFIPathname(
__in PUNIVERSAL_FONT_ID pufi,
__out PULONG pcwc,
__out_opt PWSTR pwszPathname,
__out_opt PULONG pcNumFiles,
__in FLONG fl,
__out_opt PBOOL pbMemFont,
__out_opt PULONG pcjView,
__out_opt PVOID pvView,
__out_opt PBOOL pbTTC,
__out_opt PULONG piTTC
);
BOOL
WINAPI
NtGdiAddRemoteFontToDC(
__in HDC hdc,
__in PVOID pvBuffer,
__in ULONG cjBuffer,
__in_opt PUNIVERSAL_FONT_ID pufi
);
HANDLE
WINAPI
NtGdiAddFontMemResourceEx(
__in PVOID pvBuffer,
__in DWORD cjBuffer,
__in_opt PDESIGNVECTOR pdv,
__in ULONG cjDV,
__out PDWORD pNumFonts
);
BOOL
WINAPI
NtGdiRemoveFontMemResourceEx(
__in HANDLE hMMFont
);
BOOL
WINAPI
NtGdiUnmapMemFont(
__in PVOID pvView
);
BOOL
WINAPI
NtGdiRemoveMergeFont(
__in HDC hdc,
__in PUNIVERSAL_FONT_ID pufi
);
BOOL
WINAPI
NtGdiAnyLinkedFonts();
BOOL
WINAPI
NtGdiGetEmbUFI(
__in HDC hdc,
__out PUNIVERSAL_FONT_ID pufi,
__out_opt PDESIGNVECTOR pdv,
__out PULONG pcjDV,
__out PULONG pulBaseCheckSum,
__out PFLONG pfl,
__out PKERNEL_PVOID embFontID
);
ULONG
WINAPI
NtGdiGetEmbedFonts(
);
BOOL
WINAPI
NtGdiChangeGhostFont(
__in PKERNEL_PVOID pfontID,
__in BOOL bLoad
);
BOOL
WINAPI
NtGdiAddEmbFontToDC(
__in HDC hdc,
__in PPVOID pFontID
);
BOOL
WINAPI
NtGdiFontIsLinked(
__in HDC hdc
);
ULONG_PTR
WINAPI
NtGdiPolyPolyDraw(
__in HDC hdc,
__in PPOINT ppt,
__in PULONG pcpt,
__in ULONG ccpt,
__in int iFunc
);
LONG
WINAPI
NtGdiDoPalette(
__in HPALETTE hpal,
__in WORD iStart,
__in WORD cEntries,
__in_opt PPALETTEENTRY pPalEntries,
__in DWORD iFunc,
__in BOOL bInbound
);
BOOL
WINAPI
NtGdiComputeXformCoefficients(
__in HDC hdc
);
BOOL
WINAPI
NtGdiGetWidthTable(
__in HDC hdc,
__in ULONG cSpecial,
__in PWCHAR pwc,
__in ULONG cwc,
__out PUSHORT psWidth,
__out_opt PWIDTHDATA pwd,
__out PFLONG pflInfo
);
int
WINAPI
NtGdiDescribePixelFormat(
__in HDC hdc,
__in int ipfd,
__in UINT cjpfd,
__out PPIXELFORMATDESCRIPTOR ppfd
);
BOOL
WINAPI
NtGdiSetPixelFormat(
__in HDC hdc,
__in int ipfd
);
BOOL
WINAPI
NtGdiSwapBuffers(
__in HDC hdc
);
DWORD
WINAPI
NtGdiDxgGenericThunk(
__in ULONG_PTR ulIndex,
__in ULONG_PTR ulHandle,
__inout PSIZE_T pdwSizeOfPtr1,
__inout PVOID pvPtr1,
__inout PSIZE_T pdwSizeOfPtr2,
__inout PVOID pvPtr2
);
DWORD
WINAPI
NtGdiDdAddAttachedSurface(
__in HANDLE hSurface,
__in HANDLE hSurfaceAttached,
__inout PDD_ADDATTACHEDSURFACEDATA puAddAttachedSurfaceData
);
BOOL
WINAPI
NtGdiDdAttachSurface(
__in HANDLE hSurfaceFrom,
__in HANDLE hSurfaceTo
);
DWORD
WINAPI
NtGdiDdBlt(
__in HANDLE hSurfaceDest,
__in HANDLE hSurfaceSrc,
__inout PDD_BLTDATA puBltData
);
DWORD
WINAPI
NtGdiDdCanCreateSurface(
__in HANDLE hDirectDraw,
__inout PDD_CANCREATESURFACEDATA puCanCreateSurfaceData
);
DWORD
WINAPI
NtGdiDdColorControl(
__in HANDLE hSurface,
__inout PDD_COLORCONTROLDATA puColorControlData
);
HANDLE
WINAPI
NtGdiDdCreateDirectDrawObject(
__in HDC hdc
);
DWORD
WINAPI
NtGdiDdCreateSurface(
__in HANDLE hDirectDraw,
__in PHANDLE hSurface,
__inout PDDSURFACEDESC puSurfaceDescription,
__inout PDD_SURFACE_GLOBAL puSurfaceGlobalData,
__inout PDD_SURFACE_LOCAL puSurfaceLocalData,
__inout PDD_SURFACE_MORE puSurfaceMoreData,
__inout PDD_CREATESURFACEDATA puCreateSurfaceData,
__out PHANDLE puhSurface
);
// only defined if COMBOX_SANDBOX is defined
DWORD
WINAPI
NtGdiDdChangeSurfacePointer(
__in HANDLE hSurface,
__in PVOID pSurfacePointer
);
HANDLE
WINAPI
NtGdiDdCreateSurfaceObject(
__in HANDLE hDirectDrawLocal,
__in HANDLE hSurface,
__in PDD_SURFACE_LOCAL puSurfaceLocal,
__in PDD_SURFACE_MORE puSurfaceMore,
__in PDD_SURFACE_GLOBAL puSurfaceGlobal,
__in BOOL bComplete
);
BOOL
WINAPI
NtGdiDdDeleteSurfaceObject(
__in HANDLE hSurface
);
BOOL
WINAPI
NtGdiDdDeleteDirectDrawObject(
__in HANDLE hDirectDrawLocal
);
DWORD
WINAPI
NtGdiDdDestroySurface(
__in HANDLE hSurface,
__in BOOL bRealDestroy
);
DWORD
WINAPI
NtGdiDdFlip(
__in HANDLE hSurfaceCurrent,
__in HANDLE hSurfaceTarget,
__in HANDLE hSurfaceCurrentLeft,
__in HANDLE hSurfaceTargetLeft,
__inout PDD_FLIPDATA puFlipData
);
DWORD
WINAPI
NtGdiDdGetAvailDriverMemory(
__in HANDLE hDirectDraw,
__inout PDD_GETAVAILDRIVERMEMORYDATA puGetAvailDriverMemoryData
);
DWORD
WINAPI
NtGdiDdGetBltStatus(
__in HANDLE hSurface,
__inout PDD_GETBLTSTATUSDATA puGetBltStatusData
);
HDC
WINAPI
NtGdiDdGetDC(
__in HANDLE hSurface,
__in PPALETTEENTRY puColorTable
);
DWORD
WINAPI
NtGdiDdGetDriverInfo(
__in HANDLE hDirectDraw,
__inout PDD_GETDRIVERINFODATA puGetDriverInfoData
);
DWORD
WINAPI
NtGdiDdGetFlipStatus(
__in HANDLE hSurface,
__inout PDD_GETFLIPSTATUSDATA puGetFlipStatusData
);
DWORD
WINAPI
NtGdiDdGetScanLine(
__in HANDLE hDirectDraw,
__inout PDD_GETSCANLINEDATA puGetScanLineData
);
DWORD
WINAPI
NtGdiDdSetExclusiveMode(
__in HANDLE hDirectDraw,
__inout PDD_SETEXCLUSIVEMODEDATA puSetExclusiveModeData
);
DWORD
WINAPI
NtGdiDdFlipToGDISurface(
__in HANDLE hDirectDraw,
__inout PDD_FLIPTOGDISURFACEDATA puFlipToGDISurfaceData
);
DWORD
WINAPI
NtGdiDdLock(
__in HANDLE hSurface,
__inout PDD_LOCKDATA puLockData,
__in HDC hdcClip
);
BOOL
WINAPI
NtGdiDdQueryDirectDrawObject(
__in HANDLE hDirectDrawLocal,
__out PDD_HALINFO pHalInfo,
__out PDWORD pCallBackFlags,
__out_opt PD3DNTHAL_CALLBACKS puD3dCallbacks,
__out_opt PD3DNTHAL_GLOBALDRIVERDATA puD3dDriverData,
__out_opt PDD_D3DBUFCALLBACKS puD3dBufferCallbacks,
__out_opt PDDSURFACEDESC puD3dTextureFormats,
__out PDWORD puNumHeaps,
__out_opt PVIDEOMEMORY puvmList,
__out PDWORD puNumFourCC,
__out_opt PDWORD puFourCC
);
BOOL
WINAPI
NtGdiDdReenableDirectDrawObject(
__in HANDLE hDirectDrawLocal,
__inout PBOOL pubNewMode
);
BOOL
WINAPI
NtGdiDdReleaseDC(
__in HANDLE hSurface
);
BOOL
WINAPI
NtGdiDdResetVisrgn(
__in HANDLE hSurface,
__in HWND hwnd
);
DWORD
WINAPI
NtGdiDdSetColorKey(
__in HANDLE hSurface,
__inout PDD_SETCOLORKEYDATA puSetColorKeyData
);
DWORD
WINAPI
NtGdiDdSetOverlayPosition(
__in HANDLE hSurfaceSource,
__in HANDLE hSurfaceDestination,
__inout PDD_SETOVERLAYPOSITIONDATA puSetOverlayPositionData
);
VOID
WINAPI
NtGdiDdUnattachSurface(
__in HANDLE hSurface,
__in HANDLE hSurfaceAttached
);
DWORD
WINAPI
NtGdiDdUnlock(
__in HANDLE hSurface,
__inout PDD_UNLOCKDATA puUnlockData
);
DWORD
WINAPI
NtGdiDdUpdateOverlay(
__in HANDLE hSurfaceDestination,
__in HANDLE hSurfaceSource,
__inout PDD_UPDATEOVERLAYDATA puUpdateOverlayData
);
DWORD
WINAPI
NtGdiDdWaitForVerticalBlank(
__in HANDLE hDirectDraw,
__inout PDD_WAITFORVERTICALBLANKDATA puWaitForVerticalBlankData
);
HANDLE
WINAPI
NtGdiDdGetDxHandle(
__in_opt HANDLE hDirectDraw,
__in_opt HANDLE hSurface,
__in BOOL bRelease
);
BOOL
WINAPI
NtGdiDdSetGammaRamp(
__in HANDLE hDirectDraw,
__in HDC hdc,
__in PVOID pGammaRamp
);
DWORD
WINAPI
NtGdiDdLockD3D(
__in HANDLE hSurface,
__inout PDD_LOCKDATA puLockData
);
DWORD
WINAPI
NtGdiDdUnlockD3D(
__in HANDLE hSurface,
__inout PDD_UNLOCKDATA puUnlockData
);
DWORD
WINAPI
NtGdiDdCreateD3DBuffer(
__in HANDLE hDirectDraw,
__inout PHANDLE hSurface,
__inout PDDSURFACEDESC puSurfaceDescription,
__inout PDD_SURFACE_GLOBAL puSurfaceGlobalData,
__inout PDD_SURFACE_LOCAL puSurfaceLocalData,
__inout PDD_SURFACE_MORE puSurfaceMoreData,
__inout PDD_CREATESURFACEDATA puCreateSurfaceData,
__inout PHANDLE puhSurface
);
DWORD
WINAPI
NtGdiDdCanCreateD3DBuffer(
__in HANDLE hDirectDraw,
__inout PDD_CANCREATESURFACEDATA puCanCreateSurfaceData
);
DWORD
WINAPI
NtGdiDdDestroyD3DBuffer(
__in HANDLE hSurface
);
DWORD
WINAPI
NtGdiD3dContextCreate(
__in HANDLE hDirectDrawLocal,
__in HANDLE hSurfColor,
__in HANDLE hSurfZ,
__inout PD3DNTHAL_CONTEXTCREATEI pdcci
);
DWORD
WINAPI
NtGdiD3dContextDestroy(
__in PD3DNTHAL_CONTEXTDESTROYDATA
);
DWORD
WINAPI
NtGdiD3dContextDestroyAll(
__out PD3DNTHAL_CONTEXTDESTROYALLDATA pdcdad
);
DWORD
WINAPI
NtGdiD3dValidateTextureStageState(
__inout PD3DNTHAL_VALIDATETEXTURESTAGESTATEDATA pData
);
DWORD
WINAPI
NtGdiD3dDrawPrimitives2(
__in HANDLE hCmdBuf,
__in HANDLE hVBuf,
__inout PD3DNTHAL_DRAWPRIMITIVES2DATA pded,
__inout PFLATPTR pfpVidMemCmd,
__inout PDWORD pdwSizeCmd,
__inout PFLATPTR pfpVidMemVtx,
__inout PDWORD pdwSizeVtx
);
DWORD
WINAPI
NtGdiDdGetDriverState(
__inout PDD_GETDRIVERSTATEDATA pdata
);
DWORD
WINAPI
NtGdiDdCreateSurfaceEx(
__in HANDLE hDirectDraw,
__in HANDLE hSurface,
__in DWORD dwSurfaceHandle
);
DWORD
WINAPI
NtGdiDvpCanCreateVideoPort(
__in HANDLE hDirectDraw,
__inout PDD_CANCREATEVPORTDATA puCanCreateVPortData
);
DWORD
WINAPI
NtGdiDvpColorControl(
__in HANDLE hVideoPort,
__inout PDD_VPORTCOLORDATA puVPortColorData
);
HANDLE
WINAPI
NtGdiDvpCreateVideoPort(
__in HANDLE hDirectDraw,
__inout PDD_CREATEVPORTDATA puCreateVPortData
);
DWORD
WINAPI
NtGdiDvpDestroyVideoPort(
__in HANDLE hVideoPort,
__inout PDD_DESTROYVPORTDATA puDestroyVPortData
);
DWORD
WINAPI
NtGdiDvpFlipVideoPort(
__in HANDLE hVideoPort,
__in HANDLE hDDSurfaceCurrent,
__in HANDLE hDDSurfaceTarget,
__inout PDD_FLIPVPORTDATA puFlipVPortData
);
DWORD
WINAPI
NtGdiDvpGetVideoPortBandwidth(
__in HANDLE hVideoPort,
__inout PDD_GETVPORTBANDWIDTHDATA puGetVPortBandwidthData
);
DWORD
WINAPI
NtGdiDvpGetVideoPortField(
__in HANDLE hVideoPort,
__inout PDD_GETVPORTFIELDDATA puGetVPortFieldData
);
DWORD
WINAPI
NtGdiDvpGetVideoPortFlipStatus(
__in HANDLE hDirectDraw,
__inout PDD_GETVPORTFLIPSTATUSDATA puGetVPortFlipStatusData
);
DWORD
WINAPI
NtGdiDvpGetVideoPortInputFormats(
__in HANDLE hVideoPort,
__inout PDD_GETVPORTINPUTFORMATDATA puGetVPortInputFormatData
);
DWORD
WINAPI
NtGdiDvpGetVideoPortLine(
__in HANDLE hVideoPort,
__inout PDD_GETVPORTLINEDATA puGetVPortLineData
);
DWORD
WINAPI
NtGdiDvpGetVideoPortOutputFormats(
__in HANDLE hVideoPort,
__inout PDD_GETVPORTOUTPUTFORMATDATA puGetVPortOutputFormatData
);
DWORD
WINAPI
NtGdiDvpGetVideoPortConnectInfo(
__in HANDLE hDirectDraw,
__inout PDD_GETVPORTCONNECTDATA puGetVPortConnectData
);
DWORD
WINAPI
NtGdiDvpGetVideoSignalStatus(
__in HANDLE hVideoPort,
__inout PDD_GETVPORTSIGNALDATA puGetVPortSignalData
);
DWORD
WINAPI
NtGdiDvpUpdateVideoPort(
__in HANDLE hVideoPort,
__in PHANDLE phSurfaceVideo,
__in PHANDLE phSurfaceVbi,
__inout PDD_UPDATEVPORTDATA puUpdateVPortData
);
DWORD
WINAPI
NtGdiDvpWaitForVideoPortSync(
__in HANDLE hVideoPort,
__inout PDD_WAITFORVPORTSYNCDATA puWaitForVPortSyncData
);
DWORD
WINAPI
NtGdiDvpAcquireNotification(
__in HANDLE hVideoPort,
__inout PHANDLE hEvent,
__in PDDVIDEOPORTNOTIFY pNotify
);
DWORD
WINAPI
NtGdiDvpReleaseNotification(
__in HANDLE hVideoPort,
__in HANDLE hEvent
);
DWORD
WINAPI
NtGdiDdGetMoCompGuids(
__in HANDLE hDirectDraw,
__inout PDD_GETMOCOMPGUIDSDATA puGetMoCompGuidsData
);
DWORD
WINAPI
NtGdiDdGetMoCompFormats(
__in HANDLE hDirectDraw,
__inout PDD_GETMOCOMPFORMATSDATA puGetMoCompFormatsData
);
DWORD
WINAPI
NtGdiDdGetMoCompBuffInfo(
__in HANDLE hDirectDraw,
__inout PDD_GETMOCOMPCOMPBUFFDATA puGetBuffData
);
DWORD
WINAPI
NtGdiDdGetInternalMoCompInfo(
__in HANDLE hDirectDraw,
__inout PDD_GETINTERNALMOCOMPDATA puGetInternalData
);
HANDLE
WINAPI
NtGdiDdCreateMoComp(
__in HANDLE hDirectDraw,
__inout PDD_CREATEMOCOMPDATA puCreateMoCompData
);
DWORD
WINAPI
NtGdiDdDestroyMoComp(
__in HANDLE hMoComp,
__inout PDD_DESTROYMOCOMPDATA puDestroyMoCompData
);
DWORD
WINAPI
NtGdiDdBeginMoCompFrame(
__in HANDLE hMoComp,
__inout PDD_BEGINMOCOMPFRAMEDATA puBeginFrameData
);
DWORD
WINAPI
NtGdiDdEndMoCompFrame(
__in HANDLE hMoComp,
__inout PDD_ENDMOCOMPFRAMEDATA puEndFrameData
);
DWORD
WINAPI
NtGdiDdRenderMoComp(
__in HANDLE hMoComp,
__inout PDD_RENDERMOCOMPDATA puRenderMoCompData
);
DWORD
WINAPI
NtGdiDdQueryMoCompStatus(
__in HANDLE hMoComp,
__inout PDD_QUERYMOCOMPSTATUSDATA puQueryMoCompStatusData
);
DWORD
WINAPI
NtGdiDdAlphaBlt(
__in HANDLE hSurfaceDest,
__in_opt HANDLE hSurfaceSrc,
__inout PDD_BLTDATA puBltData
);
BOOL
WINAPI
NtGdiAlphaBlend(
__in HDC hdcDst,
__in LONG DstX,
__in LONG DstY,
__in LONG DstCx,
__in LONG DstCy,
__in HDC hdcSrc,
__in LONG SrcX,
__in LONG SrcY,
__in LONG SrcCx,
__in LONG SrcCy,
__in BLENDFUNCTION BlendFunction,
__in HANDLE hcmXform
);
BOOL
WINAPI
NtGdiGradientFill(
__in HDC hdc,
__in PTRIVERTEX pVertex,
__in ULONG nVertex,
__in PVOID pMesh,
__in ULONG nMesh,
__in ULONG ulMode
);
BOOL
WINAPI
NtGdiSetIcmMode(
__in HDC hdc,
__in ULONG nCommand,
__in ULONG ulMode
);
HANDLE
WINAPI
NtGdiCreateColorSpace(
__in PLOGCOLORSPACEEXW pLogColorSpace
);
BOOL
WINAPI
NtGdiDeleteColorSpace(
__in HANDLE hColorSpace
);
BOOL
WINAPI
NtGdiSetColorSpace(
__in HDC hdc,
__in HCOLORSPACE hColorSpace
);
HANDLE
WINAPI
NtGdiCreateColorTransform(
__in HDC hdc,
__in PLOGCOLORSPACEW pLogColorSpaceW,
__in_opt PVOID pvSrcProfile,
__in ULONG cjSrcProfile,
__in_opt PVOID pvDestProfile,
__in ULONG cjDestProfile,
__in_opt PVOID pvTargetProfile,
__in ULONG cjTargetProfile
);
BOOL
WINAPI
NtGdiDeleteColorTransform(
__in HDC hdc,
__in HANDLE hColorTransform
);
BOOL
WINAPI
NtGdiCheckBitmapBits(
__in HDC hdc,
__in HANDLE hColorTransform,
__in PVOID pvBits,
__in ULONG bmFormat,
__in DWORD dwWidth,
__in DWORD dwHeight,
__in DWORD dwStride,
__out PBYTE paResults
);
ULONG
WINAPI
NtGdiColorCorrectPalette(
__in HDC hdc,
__in HPALETTE hpal,
__in ULONG FirstEntry,
__in ULONG NumberOfEntries,
__inout PPALETTEENTRY ppalEntry,
__in ULONG Command
);
ULONG_PTR
WINAPI
NtGdiGetColorSpaceforBitmap(
__in HBITMAP hsurf
);
BOOL
WINAPI
NtGdiGetDeviceGammaRamp(
__in HDC hdc,
__out PVOID pGammaRamp
);
BOOL
WINAPI
NtGdiSetDeviceGammaRamp(
__in HDC hdc,
__in PVOID pGammaRamp
);
BOOL
WINAPI
NtGdiIcmBrushInfo(
__in HDC hdc,
__in HBRUSH hbrush,
__inout PBITMAPINFO pbmiDIB,
__inout PVOID pvBits,
__inout PULONG pulBits,
__out_opt PDWORD piUsage,
__out_opt PBOOL pbAlreadyTran,
__in ULONG Command
);
VOID
WINAPI
NtGdiFlush();
HDC
WINAPI
NtGdiCreateMetafileDC(
__in HDC hdc
);
BOOL
WINAPI
NtGdiMakeInfoDC(
__in HDC hdc,
__in BOOL bSet
);
HANDLE
WINAPI
NtGdiCreateClientObj(
__in ULONG ulType
);
BOOL
WINAPI
NtGdiDeleteClientObj(
__in HANDLE h
);
LONG
WINAPI
NtGdiGetBitmapBits(
__in HBITMAP hbm,
__in ULONG cjMax,
__out_opt PBYTE pjOut
);
BOOL
WINAPI
NtGdiDeleteObjectApp(
__in HANDLE hobj
);
int
WINAPI
NtGdiGetPath(
__in HDC hdc,
__out_opt PPOINT pptlBuf,
__out_opt PBYTE pjTypes,
__in int cptBuf
);
HDC
WINAPI
NtGdiCreateCompatibleDC(
__in_opt HDC hdc
);
HBITMAP
WINAPI
NtGdiCreateDIBitmapInternal(
__in HDC hdc,
__in INT cx,
__in INT cy,
__in DWORD fInit,
__in_opt PBYTE pjInit,
__in_opt PBITMAPINFO pbmi,
__in DWORD iUsage,
__in UINT cjMaxInitInfo,
__in UINT cjMaxBits,
__in FLONG f,
__in HANDLE hcmXform
);
HBITMAP
WINAPI
NtGdiCreateDIBSection(
__in_opt HDC hdc,
__in_opt HANDLE hSectionApp,
__in DWORD dwOffset,
__in_opt PBITMAPINFO pbmi,
__in DWORD iUsage,
__in UINT cjHeader,
__in FLONG fl,
__in ULONG_PTR dwColorSpace,
__out PPVOID ppvBits
);
HBRUSH
WINAPI
NtGdiCreateSolidBrush(
__in COLORREF cr,
__in_opt HBRUSH hbr
);
HBRUSH
WINAPI
NtGdiCreateDIBBrush(
__in PVOID pv,
__in FLONG fl,
__in UINT cj,
__in BOOL b8X8,
__in BOOL bPen,
__in PVOID pClient
);
HBRUSH
WINAPI
NtGdiCreatePatternBrushInternal(
__in HBITMAP hbm,
__in BOOL bPen,
__in BOOL b8X8
);
HBRUSH
WINAPI
NtGdiCreateHatchBrushInternal(
__in ULONG ulStyle,
__in COLORREF clrr,
__in BOOL bPen
);
HPEN
WINAPI
NtGdiExtCreatePen(
__in ULONG flPenStyle,
__in ULONG ulWidth,
__in ULONG iBrushStyle,
__in ULONG ulColor,
__in ULONG_PTR lClientHatch,
__in ULONG_PTR lHatch,
__in ULONG cstyle,
__in_opt PULONG pulStyle,
__in ULONG cjDIB,
__in BOOL bOldStylePen,
__in_opt HBRUSH hbrush
);
HRGN
WINAPI
NtGdiCreateEllipticRgn(
__in int xLeft,
__in int yTop,
__in int xRight,
__in int yBottom
);
HRGN
WINAPI
NtGdiCreateRoundRectRgn(
__in int xLeft,
__in int yTop,
__in int xRight,
__in int yBottom,
__in int xWidth,
__in int yHeight
);
HANDLE
WINAPI
NtGdiCreateServerMetaFile(
__in DWORD iType,
__in ULONG cjData,
__in PBYTE pjData,
__in DWORD mm,
__in DWORD xExt,
__in DWORD yExt
);
HRGN
WINAPI
NtGdiExtCreateRegion(
__in_opt PXFORM px,
__in DWORD cj,
__in PRGNDATA prgn
);
ULONG
WINAPI
NtGdiMakeFontDir(
__in FLONG flEmbed,
__out PBYTE pjFontDir,
__in UINT cjFontDir,
__in PWSTR pwszPathname,
__in UINT cjPathname
);
BOOL
WINAPI
NtGdiPolyDraw(
__in HDC hdc,
__in PPOINT ppt,
__in PBYTE pjAttr,
__in ULONG cpt
);
BOOL
WINAPI
NtGdiPolyTextOutW(
__in HDC hdc,
__in PPOLYTEXTW pptw,
__in UINT cStr,
__in DWORD dwCodePage
);
ULONG
WINAPI
NtGdiGetServerMetaFileBits(
__in HANDLE hmo,
__in ULONG cjData,
__out_opt PBYTE pjData,
__out PDWORD piType,
__out PDWORD pmm,
__out PDWORD pxExt,
__out PDWORD pyExt
);
BOOL
WINAPI
NtGdiEqualRgn(
__in HRGN hrgn1,
__in HRGN hrgn2
);
BOOL
WINAPI
NtGdiGetBitmapDimension(
__in HBITMAP hbm,
__out PSIZE psize
);
UINT
WINAPI
NtGdiGetNearestPaletteIndex(
__in HPALETTE hpal,
__in COLORREF crColor
);
BOOL
WINAPI
NtGdiPtVisible(
__in HDC hdc,
__in int x,
__in int y
);
BOOL
WINAPI
NtGdiRectVisible(
__in HDC hdc,
__in PRECT prc
);
BOOL
WINAPI
NtGdiRemoveFontResourceW(
__in PWCHAR pwszFiles,
__in ULONG cwc,
__in ULONG cFiles,
__in ULONG fl,
__in DWORD dwPidTid,
__in_opt PDESIGNVECTOR pdv
);
BOOL
WINAPI
NtGdiResizePalette(
__in HPALETTE hpal,
__in UINT cEntry
);
BOOL
WINAPI
NtGdiSetBitmapDimension(
__in HBITMAP hbm,
__in int cx,
__in int cy,
__out_opt PSIZE psizeOut
);
int
WINAPI
NtGdiOffsetClipRgn(
__in HDC hdc,
__in int x,
__in int y
);
int
WINAPI
NtGdiSetMetaRgn(
__in HDC hdc
);
BOOL
WINAPI
NtGdiSetTextJustification(
__in HDC hdc,
__in int lBreakExtra,
__in int cBreak
);
int
WINAPI
NtGdiGetAppClipBox(
__in HDC hdc,
__out PRECT prc
);
BOOL
WINAPI
NtGdiGetTextExtentExW(
__in HDC hdc,
__in_opt PWSTR pwsz,
__in ULONG cwc,
__in ULONG dxMax,
__out_opt PULONG pcCh, // range
__out_opt PULONG pdxOut,
__out PSIZE psize,
__in FLONG fl
);
BOOL
WINAPI
NtGdiGetCharABCWidthsW(
__in HDC hdc,
__in UINT wchFirst,
__in ULONG cwch,
__in_opt PWCHAR pwch,
__in FLONG fl,
__out PVOID pvBuf
);
DWORD
WINAPI
NtGdiGetCharacterPlacementW(
__in HDC hdc,
__in PWSTR pwsz,
__in int nCount,
__in int nMaxExtent,
__inout PGCP_RESULTSW pgcpw,
__in DWORD dwFlags
);
BOOL
WINAPI
NtGdiAngleArc(
__in HDC hdc,
__in int x,
__in int y,
__in DWORD dwRadius,
__in DWORD dwStartAngle,
__in DWORD dwSweepAngle
);
BOOL
WINAPI
NtGdiBeginPath(
__in HDC hdc
);
BOOL
WINAPI
NtGdiSelectClipPath(
__in HDC hdc,
__in int iMode
);
BOOL
WINAPI
NtGdiCloseFigure(
__in HDC hdc
);
BOOL
WINAPI
NtGdiEndPath(
__in HDC hdc
);
BOOL
WINAPI
NtGdiAbortPath(
__in HDC hdc
);
BOOL
WINAPI
NtGdiFillPath(
__in HDC hdc
);
BOOL
WINAPI
NtGdiStrokeAndFillPath(
__in HDC hdc
);
BOOL
WINAPI
NtGdiStrokePath(
__in HDC hdc
);
BOOL
WINAPI
NtGdiWidenPath(
__in HDC hdc
);
BOOL
WINAPI
NtGdiFlattenPath(
__in HDC hdc
);
HRGN
WINAPI
NtGdiPathToRegion(
__in HDC hdc
);
BOOL
WINAPI
NtGdiSetMiterLimit(
__in HDC hdc,
__in DWORD dwNew,
__inout_opt PDWORD pdwOut
);
BOOL
WINAPI
NtGdiSetFontXform(
__in HDC hdc,
__in DWORD dwxScale,
__in DWORD dwyScale
);
BOOL
WINAPI
NtGdiGetMiterLimit(
__in HDC hdc,
__out PDWORD pdwOut
);
BOOL
WINAPI
NtGdiEllipse(
__in HDC hdc,
__in int xLeft,
__in int yTop,
__in int xRight,
__in int yBottom
);
BOOL
WINAPI
NtGdiRectangle(
__in HDC hdc,
__in int xLeft,
__in int yTop,
__in int xRight,
__in int yBottom
);
BOOL
WINAPI
NtGdiRoundRect(
__in HDC hdc,
__in int x1,
__in int y1,
__in int x2,
__in int y2,
__in int x3,
__in int y3
);
BOOL
WINAPI
NtGdiPlgBlt(
__in HDC hdcTrg,
__in PPOINT pptlTrg,
__in HDC hdcSrc,
__in int xSrc,
__in int ySrc,
__in int cxSrc,
__in int cySrc,
__in_opt HBITMAP hbmMask,
__in int xMask,
__in int yMask,
__in DWORD crBackColor
);
BOOL
WINAPI
NtGdiMaskBlt(
__in HDC hdc,
__in int xDst,
__in int yDst,
__in int cx,
__in int cy,
__in HDC hdcSrc,
__in int xSrc,
__in int ySrc,
__in HBITMAP hbmMask,
__in int xMask,
__in int yMask,
__in DWORD dwRop4,
__in DWORD crBackColor
);
BOOL
WINAPI
NtGdiExtFloodFill(
__in HDC hdc,
__in INT x,
__in INT y,
__in COLORREF crColor,
__in UINT iFillType
);
BOOL
WINAPI
NtGdiFillRgn(
__in HDC hdc,
__in HRGN hrgn,
__in HBRUSH hbrush
);
BOOL
WINAPI
NtGdiFrameRgn(
__in HDC hdc,
__in HRGN hrgn,
__in HBRUSH hbrush,
__in int xWidth,
__in int yHeight
);
COLORREF
WINAPI
NtGdiSetPixel(
__in HDC hdcDst,
__in int x,
__in int y,
__in COLORREF crColor
);
DWORD
WINAPI
NtGdiGetPixel(
__in HDC hdc,
__in int x,
__in int y
);
BOOL
WINAPI
NtGdiStartPage(
__in HDC hdc
);
BOOL
WINAPI
NtGdiEndPage(
__in HDC hdc
);
int
WINAPI
NtGdiStartDoc(
__in HDC hdc,
__in PDOCINFOW pdi,
__out PBOOL pbBanding,
__in INT iJob
);
BOOL
WINAPI
NtGdiEndDoc(
__in HDC hdc
);
BOOL
WINAPI
NtGdiAbortDoc(
__in HDC hdc
);
BOOL
WINAPI
NtGdiUpdateColors(
__in HDC hdc
);
BOOL
WINAPI
NtGdiGetCharWidthW(
__in HDC hdc,
__in UINT wcFirst,
__in UINT cwc,
__in_opt PWCHAR pwc,
__in FLONG fl,
__out PVOID pvBuf
);
BOOL
WINAPI
NtGdiGetCharWidthInfo(
__in HDC hdc,
__out PCHWIDTHINFO pChWidthInfo
);
int
WINAPI
NtGdiDrawEscape(
__in HDC hdc,
__in int iEsc,
__in int cjIn,
__in_opt PSTR pjIn
);
int
WINAPI
NtGdiExtEscape(
__in_opt HDC hdc,
__in_opt PWCHAR pDriver,
__in int nDriver,
__in int iEsc,
__in int cjIn,
__in_opt PSTR pjIn,
__in int cjOut,
__out_opt PSTR pjOut
);
ULONG
WINAPI
NtGdiGetFontData(
__in HDC hdc,
__in DWORD dwTable,
__in DWORD dwOffset,
__out_opt PVOID pvBuf,
__in ULONG cjBuf
);
DWORD
WINAPI
NtGdiGetFontFileData(
__in UINT uFileCollectionID,
__in UINT uFileIndex,
__in PULONGLONG pullFileOffset,
__out PVOID pBuffer,
__in SIZE_T cbSize
);
DWORD
WINAPI
NtGdiGetFontFileInfo(
__in UINT uFileCollectionID,
__in UINT uFileIndex,
__out PFONT_FILE_INFO pfi,
__in SIZE_T cbSize,
__out_opt PSIZE_T pcbActualSize
);
ULONG
WINAPI
NtGdiGetGlyphOutline(
__in HDC hdc,
__in WCHAR wch,
__in UINT iFormat,
__out PGLYPHMETRICS pgm,
__in ULONG cjBuf,
__out_opt PVOID pvBuf,
__in PMAT2 pmat2,
__in BOOL bIgnoreRotation
);
BOOL
WINAPI
NtGdiGetETM(
__in HDC hdc,
__out_opt PEXTTEXTMETRIC petm
);
BOOL
WINAPI
NtGdiGetRasterizerCaps(
__out PRASTERIZER_STATUS praststat,
__in ULONG cjBytes
);
ULONG
WINAPI
NtGdiGetKerningPairs(
__in HDC hdc,
__in ULONG cPairs,
__out_opt PKERNINGPAIR pkpDst
);
BOOL
WINAPI
NtGdiMonoBitmap(
__in HBITMAP hbm
);
HBITMAP
WINAPI
NtGdiGetObjectBitmapHandle(
__in HBRUSH hbr,
__out PUINT piUsage
);
ULONG
WINAPI
NtGdiEnumObjects(
__in HDC hdc,
__in int iObjectType,
__in ULONG cjBuf,
__out_opt PVOID pvBuf
);
BOOL
WINAPI
NtGdiResetDC(
__in HDC hdc,
__in PDEVMODEW pdm,
__out PBOOL pbBanding,
__in_opt PDRIVER_INFO_2W pDriverInfo2,
__out PVOID ppUMdhpdev
);
DWORD
WINAPI
NtGdiSetBoundsRect(
__in HDC hdc,
__in PRECT prc,
__in DWORD f
);
BOOL
WINAPI
NtGdiGetColorAdjustment(
__in HDC hdc,
__out PCOLORADJUSTMENT pcaOut
);
BOOL
WINAPI
NtGdiSetColorAdjustment(
__in HDC hdc,
__in PCOLORADJUSTMENT pca
);
BOOL
WINAPI
NtGdiCancelDC(
__in HDC hdc
);
HDC
WINAPI
NtGdiOpenDCW(
__in_opt PUNICODE_STRING pustrDevice,
__in PDEVMODEW pdm,
__in PUNICODE_STRING pustrLogAddr,
__in ULONG iType,
__in BOOL bDisplay,
__in_opt HANDLE hspool,
__in_opt PDRIVER_INFO_2W pDriverInfo2,
__out PVOID pUMdhpdev
);
BOOL
WINAPI
NtGdiGetDCDword(
__in HDC hdc,
__in UINT u,
__out PDWORD Result
);
BOOL
WINAPI
NtGdiGetDCPoint(
__in HDC hdc,
__in UINT iPoint,
__out PPOINTL pptOut
);
BOOL
WINAPI
NtGdiScaleViewportExtEx(
__in HDC hdc,
__in int xNum,
__in int xDenom,
__in int yNum,
__in int yDenom,
__out_opt PSIZE pszOut
);
BOOL
WINAPI
NtGdiScaleWindowExtEx(
__in HDC hdc,
__in int xNum,
__in int xDenom,
__in int yNum,
__in int yDenom,
__out_opt PSIZE pszOut
);
BOOL
WINAPI
NtGdiSetVirtualResolution(
__in HDC hdc,
__in int cxVirtualDevicePixel,
__in int cyVirtualDevicePixel,
__in int cxVirtualDeviceMm,
__in int cyVirtualDeviceMm
);
BOOL
WINAPI
NtGdiSetSizeDevice(
__in HDC hdc,
__in int cxVirtualDevice,
__in int cyVirtualDevice
);
BOOL
WINAPI
NtGdiGetTransform(
__in HDC hdc,
__in DWORD iXform,
__out PXFORM pxf
);
BOOL
WINAPI
NtGdiModifyWorldTransform(
__in HDC hdc,
__in_opt PXFORM pxf,
__in DWORD iXform
);
BOOL
WINAPI
NtGdiCombineTransform(
__out PXFORM pxfDst,
__in PXFORM pxfSrc1,
__in PXFORM pxfSrc2
);
BOOL
WINAPI
NtGdiTransformPoints(
__in HDC hdc,
__in PPOINT pptIn,
__out PPOINT pptOut,
__in int c,
__in int iMode
);
LONG
WINAPI
NtGdiConvertMetafileRect(
__in HDC hdc,
__inout PRECTL prect
);
int
WINAPI
NtGdiGetTextCharsetInfo(
__in HDC hdc,
__out_opt PFONTSIGNATURE pSig,
__in DWORD dwFlags
);
BOOL
WINAPI
NtGdiDoBanding(
__in HDC hdc,
__in BOOL bStart,
__out PPOINTL pptl,
__out PSIZE pSize
);
ULONG
WINAPI
NtGdiGetPerBandInfo(
__in HDC hdc,
__inout PPERBANDINFO ppbi
);
NTSTATUS
WINAPI
NtGdiGetStats(
__in HANDLE hProcess,
__in int iIndex,
__in int iPidType,
__out PVOID pResults,
__in UINT cjResultSize
);
BOOL
WINAPI
NtGdiSetMagicColors(
__in HDC hdc,
__in PALETTEENTRY peMagic,
__in ULONG Index
);
HBRUSH
WINAPI
NtGdiSelectBrush(
__in HDC hdc,
__in HBRUSH hbrush
);
HPEN
WINAPI
NtGdiSelectPen(
__in HDC hdc,
__in HPEN hpen
);
HBITMAP
WINAPI
NtGdiSelectBitmap(
__in HDC hdc,
__in HBITMAP hbm
);
HFONT
WINAPI
NtGdiSelectFont(
__in HDC hdc,
__in HFONT hf
);
int
WINAPI
NtGdiExtSelectClipRgn(
__in HDC hdc,
__in_opt HRGN hrgn,
__in int iMode
);
HPEN
WINAPI
NtGdiCreatePen(
__in int iPenStyle,
__in int iPenWidth,
__in COLORREF cr,
__in_opt HBRUSH hbr
);
BOOL
WINAPI
NtGdiBitBlt(
__in HDC hdcDst,
__in int x,
__in int y,
__in int cx,
__in int cy,
__in_opt HDC hdcSrc,
__in int xSrc,
__in int ySrc,
__in DWORD rop4,
__in DWORD crBackColor,
__in FLONG fl
);
BOOL
WINAPI
NtGdiTileBitBlt(
__in HDC hdcDst,
__in PRECTL prectDst,
__in HDC hdcSrc,
__in PRECTL prectSrc,
__in PPOINTL pptlOrigin,
__in DWORD rop4,
__in DWORD crBackColor
);
BOOL
WINAPI
NtGdiTransparentBlt(
__in HDC hdcDst,
__in int xDst,
__in int yDst,
__in int cxDst,
__in int cyDst,
__in HDC hdcSrc,
__in int xSrc,
__in int ySrc,
__in int cxSrc,
__in int cySrc,
__in COLORREF TransColor
);
BOOL
WINAPI
NtGdiGetTextExtent(
__in HDC hdc,
__in PWSTR pwsz,
__in int cwc,
__out PSIZE psize,
__in UINT flOpts
);
BOOL
WINAPI
NtGdiGetTextMetricsW(
__in HDC hdc,
__out PTMW_INTERNAL ptm,
__in ULONG cj
);
int
WINAPI
NtGdiGetTextFaceW(
__in HDC hdc,
__in int cChar,
__out_opt PWSTR pszOut,
__in BOOL bAliasName
);
int
WINAPI
NtGdiGetRandomRgn(
__in HDC hdc,
__in HRGN hrgn,
__in int iRgn
);
BOOL
WINAPI
NtGdiExtTextOutW(
__in HDC hdc,
__in int x,
__in int y,
__in UINT flOpts,
__in_opt PRECT prcl,
__in_opt PWSTR pwsz,
__in int cwc,
__in_opt PINT pdx,
__in DWORD dwCodePage
);
int
WINAPI
NtGdiIntersectClipRect(
__in HDC hdc,
__in int xLeft,
__in int yTop,
__in int xRight,
__in int yBottom
);
HRGN
WINAPI
NtGdiCreateRectRgn(
__in int xLeft,
__in int yTop,
__in int xRight,
__in int yBottom
);
BOOL
WINAPI
NtGdiPatBlt(
__in HDC hdcDst,
__in int x,
__in int y,
__in int cx,
__in int cy,
__in DWORD rop4
);
BOOL
WINAPI
NtGdiPolyPatBlt(
__in HDC hdc,
__in DWORD rop4,
__in PPOLYPATBLT pPoly,
__in DWORD Count,
__in DWORD Mode
);
BOOL
WINAPI
NtGdiUnrealizeObject(
__in HANDLE h
);
HANDLE
WINAPI
NtGdiGetStockObject(
__in int iObject
);
HBITMAP
WINAPI
NtGdiCreateCompatibleBitmap(
__in HDC hdc,
__in int cx,
__in int cy
);
HBITMAP
WINAPI
NtGdiCreateBitmapFromDxSurface(
__in HDC hdc,
__in UINT uiWidth,
__in UINT uiHeight,
__in DWORD Format,
__in_opt HANDLE hDxSharedSurface
);
BOOL
WINAPI
NtGdiBeginGdiRendering(
__in HBITMAP hbm,
__in BOOL bDiscard
);
BOOL
WINAPI
NtGdiEndGdiRendering(
__in HBITMAP hbm,
__in BOOL bDiscard,
__out PBOOL pbDeviceRemoved
);
BOOL
WINAPI
NtGdiLineTo(
__in HDC hdc,
__in int x,
__in int y
);
BOOL
WINAPI
NtGdiMoveTo(
__in HDC hdc,
__in int x,
__in int y,
__out_opt PPOINT pptOut
);
int
WINAPI
NtGdiExtGetObjectW(
__in HANDLE h,
__in int cj,
__out_opt PVOID pvOut
);
int
WINAPI
NtGdiGetDeviceCaps(
__in HDC hdc,
__in int i
);
BOOL
WINAPI
NtGdiGetDeviceCapsAll (
__in_opt HDC hdc,
__out PDEVCAPS pDevCaps
);
BOOL
WINAPI
NtGdiStretchBlt(
__in HDC hdcDst,
__in int xDst,
__in int yDst,
__in int cxDst,
__in int cyDst,
__in_opt HDC hdcSrc,
__in int xSrc,
__in int ySrc,
__in int cxSrc,
__in int cySrc,
__in DWORD dwRop,
__in DWORD dwBackColor
);
BOOL
WINAPI
NtGdiSetBrushOrg(
__in HDC hdc,
__in int x,
__in int y,
__out PPOINT pptOut
);
HBITMAP
WINAPI
NtGdiCreateBitmap(
__in int cx,
__in int cy,
__in UINT cPlanes,
__in UINT cBPP,
__in_opt PBYTE pjInit
);
HPALETTE
WINAPI
NtGdiCreateHalftonePalette(
__in HDC hdc
);
BOOL
WINAPI
NtGdiRestoreDC(
__in HDC hdc,
__in int iLevel
);
int
WINAPI
NtGdiExcludeClipRect(
__in HDC hdc,
__in int xLeft,
__in int yTop,
__in int xRight,
__in int yBottom
);
int
WINAPI
NtGdiSaveDC(
__in HDC hdc
);
int
WINAPI
NtGdiCombineRgn(
__in HRGN hrgnDst,
__in HRGN hrgnSrc1,
__in HRGN hrgnSrc2,
__in int iMode
);
BOOL
WINAPI
NtGdiSetRectRgn(
__in HRGN hrgn,
__in int xLeft,
__in int yTop,
__in int xRight,
__in int yBottom
);
LONG
WINAPI
NtGdiSetBitmapBits(
__in HBITMAP hbm,
__in ULONG cj,
__in PBYTE pjInit
);
int
WINAPI
NtGdiGetDIBitsInternal(
__in HDC hdc,
__in HBITMAP hbm,
__in UINT iStartScan,
__in UINT cScans,
__out_opt PBYTE pBits,
__inout PBITMAPINFO pbmi,
__in UINT iUsage,
__in UINT cjMaxBits,
__in UINT cjMaxInfo
);
int
WINAPI
NtGdiOffsetRgn(
__in HRGN hrgn,
__in int cx,
__in int cy
);
int
WINAPI
NtGdiGetRgnBox(
__in HRGN hrgn,
__out PRECT prcOut
);
BOOL
WINAPI
NtGdiRectInRegion(
__in HRGN hrgn,
__inout PRECT prcl
);
DWORD
WINAPI
NtGdiGetBoundsRect(
__in HDC hdc,
__out PRECT prc,
__in DWORD f
);
BOOL
WINAPI
NtGdiPtInRegion(
__in HRGN hrgn,
__in int x,
__in int y
);
COLORREF
WINAPI
NtGdiGetNearestColor(
__in HDC hdc,
__in COLORREF cr
);
UINT
WINAPI
NtGdiGetSystemPaletteUse(
__in HDC hdc
);
UINT
WINAPI
NtGdiSetSystemPaletteUse(
__in HDC hdc,
__in UINT ui
);
DWORD
WINAPI
NtGdiGetRegionData(
__in HRGN hrgn,
__in DWORD nCount,
__out_opt PRGNDATA pRgnData
);
BOOL
WINAPI
NtGdiInvertRgn(
__in HDC hdc,
__in HRGN hrgn
);
int
WINAPI
NtGdiAddFontResourceW(
__in PWCHAR pwszFiles,
__in ULONG cwc,
__in ULONG cFiles,
__in FLONG f,
__in DWORD dwPidTid,
__in_opt PDESIGNVECTOR pdv
);
HFONT
WINAPI
NtGdiHfontCreate(
__in PENUMLOGFONTEXDVW pelfw,
__in ULONG cjElfw,
__in LFTYPE lft,
__in FLONG fl,
__in PVOID pvCliData
);
HFONT
WINAPI
NtGdiHfontCreate(
__in PEXTLOGFONTW pelfw,
__in ULONG cjElfw,
__in LFTYPE lft,
__in FLONG fl,
__in PVOID pvCliData
);
ULONG
WINAPI
NtGdiSetFontEnumeration(
__in ULONG ulType
);
BOOL
WINAPI
NtGdiEnumFonts(
__in HDC hdc,
__in ULONG iEnumType,
__in FLONG flWin31Compat,
__in ULONG cchFaceName,
__in_opt PCWSTR pwszFaceName,
__in ULONG lfCharSet,
__inout PULONG pulCount,
__out_opt PVOID pvUserModeBuffer
);
INT
WINAPI
NtGdiQueryFonts(
__out PUNIVERSAL_FONT_ID pufiFontList,
__in ULONG nBufferSize,
__out PLARGE_INTEGER pTimeStamp
);
DWORD
NtGdiGetCharSet(
__in HDC hdc
);
BOOL
WINAPI
NtGdiEnableEudc(
__in BOOL
);
BOOL
WINAPI
NtGdiEudcLoadUnloadLink(
__in_opt PCWSTR pBaseFaceName,
__in UINT cwcBaseFaceName,
__in PCWSTR pEudcFontPath,
__in UINT cwcEudcFontPath,
__in INT iPriority,
__in INT iFontLinkType,
__in BOOL bLoadLin
);
UINT
WINAPI
NtGdiGetStringBitmapW(
__in HDC hdc,
__in PWSTR pwsz,
__in UINT cwc,
__in UINT cj,
__out PBYTE pSB
);
ULONG
WINAPI
NtGdiGetEudcTimeStampEx(
__in_opt PWSTR pBaseFaceName,
__in ULONG cwcBaseFaceName,
__in BOOL bSystemTimeStamp
);
ULONG
WINAPI
NtGdiQueryFontAssocInfo(
__in HDC hdc
);
DWORD
NtGdiGetFontUnicodeRanges(
__in HDC hdc,
__out_opt PGLYPHSET pgs
);
BOOL
NtGdiGetRealizationInfo(
__in HDC hdc,
__out PFONT_REALIZATION_INFO pri
);
BOOL
NtGdiAddRemoteMMInstanceToDC(
__in HDC hdc,
__in PDOWNLOADDESIGNVECTOR pddv,
__in ULONG cjDDV
);
BOOL
WINAPI
NtGdiUnloadPrinterDriver(
__in PWSTR pDriverName,
__in ULONG cbDriverName
);
BOOL
WINAPI
NtGdiEngAssociateSurface(
__in HSURF hsurf,
__in HDEV hdev,
__in FLONG flHooks
);
BOOL
WINAPI
NtGdiEngEraseSurface(
__in PSURFOBJ pso,
__in PRECTL prcl,
__in ULONG iColor
);
HBITMAP
WINAPI
NtGdiEngCreateBitmap(
__in SIZEL sizl,
__in LONG lWidth,
__in ULONG iFormat,
__in FLONG fl,
__in_opt PVOID pvBits
);
BOOL
WINAPI
NtGdiEngDeleteSurface(
__in HSURF hsurf
);
PSURFOBJ
WINAPI
NtGdiEngLockSurface(
__in HSURF hsurf
);
VOID
WINAPI
NtGdiEngUnlockSurface(
__in PSURFOBJ
);
BOOL
WINAPI
NtGdiEngMarkBandingSurface(
__in HSURF hsurf
);
HSURF
WINAPI
NtGdiEngCreateDeviceSurface(
__in DHSURF dhsurf,
__in SIZEL sizl,
__in ULONG iFormatCompat
);
HBITMAP
WINAPI
NtGdiEngCreateDeviceBitmap(
__in DHSURF dhsurf,
__in SIZEL sizl,
__in ULONG iFormatCompat
);
BOOL
WINAPI
NtGdiEngCopyBits(
__in PSURFOBJ psoDst,
__in PSURFOBJ psoSrc,
__in_opt PCLIPOBJ pco,
__in PXLATEOBJ pxlo,
__in PRECTL prclDst,
__in PPOINTL pptlSrc
);
BOOL
WINAPI
NtGdiEngStretchBlt(
__in PSURFOBJ psoDest,
__in PSURFOBJ psoSrc,
__in PSURFOBJ psoMask,
__in PCLIPOBJ pco,
__in PXLATEOBJ pxlo,
__in PCOLORADJUSTMENT pca,
__in PPOINTL pptlHTOrg,
__in PRECTL prclDest,
__in PRECTL prclSrc,
__in PPOINTL pptlMask,
__in ULONG iMode
);
BOOL
WINAPI
NtGdiEngBitBlt(
__in PSURFOBJ psoDst,
__in PSURFOBJ psoSrc,
__in PSURFOBJ psoMask,
__in PCLIPOBJ pco,
__in PXLATEOBJ pxlo,
__in PRECTL prclDst,
__in PPOINTL pptlSrc,
__in PPOINTL pptlMask,
__in PBRUSHOBJ pbo,
__in PPOINTL pptlBrush,
__in ROP4 rop4
);
BOOL
WINAPI
NtGdiEngPlgBlt(
__in PSURFOBJ psoTrg,
__in PSURFOBJ psoSrc,
__in_opt PSURFOBJ psoMsk,
__in PCLIPOBJ pco,
__in PXLATEOBJ pxlo,
__in PCOLORADJUSTMENT pca,
__in PPOINTL pptlBrushOrg,
__in PPOINTFIX pptfxDest,
__in PRECTL prclSrc,
__in_opt PPOINTL pptlMask,
__in ULONG iMode
);
HPALETTE
WINAPI
NtGdiEngCreatePalette(
__in ULONG iMode,
__in ULONG cColors,
__in PULONG pulColors,
__in FLONG flRed,
__in FLONG flGreen,
__in FLONG flBlue
);
BOOL
WINAPI
NtGdiEngDeletePalette(
__in HPALETTE hPal
);
BOOL
WINAPI
NtGdiEngStrokePath(
__in PSURFOBJ pso,
__in PPATHOBJ ppo,
__in PCLIPOBJ pco,
__in PXFORMOBJ pxo,
__in PBRUSHOBJ pbo,
__in PPOINTL pptlBrushOrg,
__in PLINEATTRS plineattrs,
__in MIX mix
);
BOOL
WINAPI
NtGdiEngFillPath(
__in PSURFOBJ pso,
__in PPATHOBJ ppo,
__in PCLIPOBJ pco,
__in PBRUSHOBJ pbo,
__in PPOINTL pptlBrushOrg,
__in MIX mix,
__in FLONG flOptions
);
BOOL
WINAPI
NtGdiEngStrokeAndFillPath(
__in PSURFOBJ pso,
__in PPATHOBJ ppo,
__in PCLIPOBJ pco,
__in PXFORMOBJ pxo,
__in PBRUSHOBJ pboStroke,
__in PLINEATTRS plineattrs,
__in PBRUSHOBJ pboFill,
__in PPOINTL pptlBrushOrg,
__in MIX mix,
__in FLONG flOptions
);
BOOL
WINAPI
NtGdiEngPaint(
__in PSURFOBJ pso,
__in PCLIPOBJ pco,
__in PBRUSHOBJ pbo,
__in PPOINTL pptlBrushOrg,
__in MIX mix
);
BOOL
WINAPI
NtGdiEngLineTo(
__in PSURFOBJ pso,
__in PCLIPOBJ pco,
__in PBRUSHOBJ pbo,
__in LONG x1,
__in LONG y1,
__in LONG x2,
__in LONG y2,
__in PRECTL prclBounds,
__in MIX mix
);
BOOL
WINAPI
NtGdiEngAlphaBlend(
__in PSURFOBJ psoDest,
__in PSURFOBJ psoSrc,
__in PCLIPOBJ pco,
__in PXLATEOBJ pxlo,
__in PRECTL prclDest,
__in PRECTL prclSrc,
__in PBLENDOBJ pBlendObj
);
BOOL
WINAPI
NtGdiEngGradientFill(
__in PSURFOBJ psoDest,
__in PCLIPOBJ pco,
__in PXLATEOBJ pxlo,
__in PTRIVERTEX pVertex,
__in ULONG nVertex,
__in PVOID pMesh,
__in ULONG nMesh,
__in PRECTL prclExtents,
__in PPOINTL pptlDitherOrg,
__in ULONG ulMode
);
BOOL
WINAPI
NtGdiEngTransparentBlt(
__in PSURFOBJ psoDst,
__in PSURFOBJ psoSrc,
__in PCLIPOBJ pco,
__in PXLATEOBJ pxlo,
__in PRECTL prclDst,
__in PRECTL prclSrc,
__in ULONG iTransColor,
__in ULONG ulReserved
);
BOOL
WINAPI
NtGdiEngTextOut(
__in PSURFOBJ pso,
__in PSTROBJ pstro,
__in PFONTOBJ pfo,
__in PCLIPOBJ pco,
__in PRECTL prclExtra,
__in PRECTL prclOpaque,
__in PBRUSHOBJ pboFore,
__in PBRUSHOBJ pboOpaque,
__in PPOINTL pptlOrg,
__in MIX mix
);
BOOL
WINAPI
NtGdiEngStretchBltROP(
__in PSURFOBJ psoTrg,
__in PSURFOBJ psoSrc,
__in PSURFOBJ psoMask,
__in PCLIPOBJ pco,
__in PXLATEOBJ pxlo,
__in PCOLORADJUSTMENT pca,
__in PPOINTL pptlBrushOrg,
__in PRECTL prclTrg,
__in PRECTL prclSrc,
__in PPOINTL pptlMask,
__in ULONG iMode,
__in PBRUSHOBJ pbo,
__in ROP4 rop4
);
ULONG
WINAPI
NtGdiXLATEOBJ_cGetPalette(
__in PXLATEOBJ pxlo,
__in ULONG iPal,
__in ULONG cPal,
__out PULONG pPal
);
ULONG
WINAPI
NtGdiCLIPOBJ_cEnumStart(
__in PCLIPOBJ pco,
__in BOOL bAll,
__in ULONG iType,
__in ULONG iDirection,
__in ULONG cLimit
);
BOOL
WINAPI
NtGdiCLIPOBJ_bEnum(
__in PCLIPOBJ pco,
__in ULONG cj,
__out PULONG pul
);
PPATHOBJ
WINAPI
NtGdiCLIPOBJ_ppoGetPath(
__in PCLIPOBJ pco
);
PCLIPOBJ
WINAPI
NtGdiEngCreateClip();
VOID
WINAPI
NtGdiEngDeleteClip(
__in PCLIPOBJ pco
);
PVOID
WINAPI
NtGdiBRUSHOBJ_pvAllocRbrush(
__in PBRUSHOBJ pbo,
__in ULONG cj
);
PVOID
WINAPI
NtGdiBRUSHOBJ_pvGetRbrush(
__in PBRUSHOBJ pbo
);
ULONG
WINAPI
NtGdiBRUSHOBJ_ulGetBrushColor(
__in PBRUSHOBJ pbo
);
HANDLE
WINAPI
NtGdiBRUSHOBJ_hGetColorTransform(
__in PBRUSHOBJ pbo
);
BOOL
WINAPI
NtGdiXFORMOBJ_bApplyXform(
__in PXFORMOBJ pxo,
__in ULONG iMode,
__in ULONG cPoints,
__in PPOINTL pvIn,
__out PPOINTL pvOut
);
ULONG
WINAPI
NtGdiXFORMOBJ_iGetXform(
__in PXFORMOBJ pxo,
__out_opt PXFORML pxform
);
VOID
WINAPI
NtGdiFONTOBJ_vGetInfo(
__in PFONTOBJ pfo,
__in ULONG cjSize,
__out PFONTINFO pfi
);
ULONG
WINAPI
NtGdiFONTOBJ_cGetGlyphs(
__in PFONTOBJ pfo,
__in ULONG iMode,
__in ULONG cGlyph,
__in PHGLYPH phg,
__out PPVOID ppvGlyph
);
PXFORMOBJ
WINAPI
NtGdiFONTOBJ_pxoGetXform(
__in PFONTOBJ pfo
);
PIFIMETRICS
WINAPI
NtGdiFONTOBJ_pifi(
__in PFONTOBJ pfo
);
PFD_GLYPHSET
WINAPI
NtGdiFONTOBJ_pfdg(
__in PFONTOBJ pfo
);
ULONG
WINAPI
NtGdiFONTOBJ_cGetAllGlyphHandles(
__in PFONTOBJ pfo,
__out_opt PHGLYPH phg
);
PVOID
WINAPI
NtGdiFONTOBJ_pvTrueTypeFontFile(
__in PFONTOBJ pfo,
__out PULONG pcjFile
);
PFD_GLYPHATTR
WINAPI
NtGdiFONTOBJ_pQueryGlyphAttrs(
__in PFONTOBJ pfo,
__in ULONG iMode
);
BOOL
WINAPI
NtGdiSTROBJ_bEnum(
__in PSTROBJ pstro,
__out PULONG pc,
__out PPGLYPHPOS ppgpos
);
BOOL
WINAPI
NtGdiSTROBJ_bEnumPositionsOnly(
__in PSTROBJ pstro,
__out PULONG pc,
__out PPGLYPHPOS ppgpos
);
VOID
WINAPI
NtGdiSTROBJ_vEnumStart(
__in PSTROBJ pstro
);
DWORD
WINAPI
NtGdiSTROBJ_dwGetCodePage(
__in PSTROBJ pstro
);
BOOL
WINAPI
NtGdiSTROBJ_bGetAdvanceWidths(
__in PSTROBJ pstro,
__in ULONG iFirst,
__in ULONG c,
__out PPOINTQF pptqD
);
PFD_GLYPHSET
WINAPI
NtGdiEngComputeGlyphSet(
__in INT nCodePage,
__in INT nFirstChar,
__in INT cChars
);
ULONG
WINAPI
NtGdiXLATEOBJ_iXlate(
__in PXLATEOBJ pxlo,
__in ULONG iColor
);
HANDLE
WINAPI
NtGdiXLATEOBJ_hGetColorTransform(
__in PXLATEOBJ pxlo
);
VOID
WINAPI
NtGdiPATHOBJ_vGetBounds(
__in PPATHOBJ ppo,
__out PRECTFX prectfx
);
BOOL
WINAPI
NtGdiPATHOBJ_bEnum(
__in PPATHOBJ ppo,
__out PPATHDATA ppd
);
VOID
WINAPI
NtGdiPATHOBJ_vEnumStart(
__in PPATHOBJ ppo
);
VOID
WINAPI
NtGdiEngDeletePath(
__in PPATHOBJ ppo
);
VOID
WINAPI
NtGdiPATHOBJ_vEnumStartClipLines(
__in PPATHOBJ ppo,
__in PCLIPOBJ pco,
__in PSURFOBJ pso,
__in PLINEATTRS pla
);
BOOL
WINAPI
NtGdiPATHOBJ_bEnumClipLines(
__in PPATHOBJ ppo,
__in ULONG cb,
__out PCLIPLINE pcl
);
BOOL
WINAPI
NtGdiEngCheckAbort(
__in PSURFOBJ pso
);
DHPDEV
NtGdiGetDhpdev(
__in HDEV hdev
);
LONG
WINAPI
NtGdiHT_Get8BPPFormatPalette(
__out_opt PPALETTEENTRY pPaletteEntry,
__in USHORT RedGamma,
__in USHORT GreenGamma,
__in USHORT BlueGamma
);
LONG
WINAPI
NtGdiHT_Get8BPPMaskPalette(
__out_opt PPALETTEENTRY pPaletteEntry,
__in BOOL Use8BPPMaskPal,
__in BYTE CMYMask,
__in USHORT RedGamma,
__in USHORT GreenGamma,
__in USHORT BlueGamma
);
BOOL
NtGdiUpdateTransform(
__in HDC hdc
);
DWORD
WINAPI
NtGdiSetLayout(
__in HDC hdc,
__in LONG wox,
__in DWORD dwLayout
);
BOOL
WINAPI
NtGdiMirrorWindowOrg(
__in HDC hdc
);
LONG
WINAPI
NtGdiGetDeviceWidth(
__in HDC hdc
);
BOOL
NtGdiSetPUMPDOBJ(
__in_opt HUMPD humpd,
__in BOOL bStoreID,
__inout_opt PHUMPD phumpd,
__out_opt PBOOL pbWOW64
);
BOOL
NtGdiBRUSHOBJ_DeleteRbrush(
__in_opt PBRUSHOBJ pbo,
__in_opt PBRUSHOBJ pboB
);
BOOL
NtGdiUMPDEngFreeUserMem(
__in PKERNEL_PVOID ppv
);
HBITMAP
WINAPI
NtGdiSetBitmapAttributes(
__in HBITMAP hbm,
__in DWORD dwFlags
);
HBITMAP
WINAPI
NtGdiClearBitmapAttributes(
__in HBITMAP hbm,
__in DWORD dwFlags
);
HBRUSH
WINAPI
NtGdiSetBrushAttributes(
__in HBRUSH hbm,
__in DWORD dwFlags
);
HBRUSH
WINAPI
NtGdiClearBrushAttributes(
__in HBRUSH hbr,
__in DWORD dwFlags
);
BOOL
WINAPI
NtGdiDrawStream(
__in HDC hdcDst,
__in ULONG cjIn,
__in PVOID pvIn
);
BOOL
WINAPI
NtGdiMakeObjectXferable(
IN HANDLE h,
IN DWORD dwProcessId
);
BOOL
WINAPI
NtGdiMakeObjectUnXferable(
IN HANDLE h
);
BOOL
NtGdiSfmGetNotificationTokens(
__in UINT cBytes,
__out PUINT pNrOfTokensReturned,
PVOID pTokenBuffer);
// "Private DWM interface"
BOOL
NtGdiSfmRegisterLogicalSurfaceForSignaling(
__in HLSURF hlsurf,
BOOL fSignalOnDirty);
// "Private DWM interface"
BOOL
NtGdiDwmGetHighColorMode(
__out PDXGI_FORMAT pdxgiFormat);
// "Private DWM interface"
BOOL
NtGdiDwmSetHighColorMode(
__in DXGI_FORMAT dxgiFormat);
// "Private DWM interface"
HANDLE
NtGdiDwmCaptureScreen(
__in PRECT prcCapture,
__in DXGI_FORMAT dxgiFormat);
NTSTATUS
WINAPI
NtGdiDdCreateFullscreenSprite(
__in HDC hdc,
__in COLORREF crKey,
__out PHANDLE phSprite,
__out PHDC phdcSprite);
NTSTATUS
WINAPI
NtGdiDdNotifyFullscreenSpriteUpdate(
__in HDC hdc,
__in HANDLE hSprite);
NTSTATUS
WINAPI
NtGdiDdDestroyFullscreenSprite(
__in HDC hdc,
__in HANDLE hSprite);
ULONG
WINAPI
NtGdiDdQueryVisRgnUniqueness();
BOOL
WINAPI
NtGdiHLSurfGetInformation(
__in HLSURF hLsurf,
__in HLSURF_INFORMATION_CLASS InformationClass,
__in_opt PVOID InformationBuffer,
__inout PULONG pulInformationLength
);
BOOL
WINAPI
NtGdiHLSurfSetInformation(
__in HLSURF hLsurf,
__in HLSURF_INFORMATION_CLASS InformationClass,
__in_opt PVOID InformationBuffer,
__in ULONG InformationLength
);
//[DirectX]
typedef HANDLE D3DKMT_HANDLE;
typedef PVOID PD3DKMT_ACQUIREKEYEDMUTEX;
typedef PVOID PD3DKMT_CHECKMONITORPOWERSTATE;
typedef PVOID PD3DKMT_CHECKOCCLUSION;
typedef PVOID PD3DKMT_CHECKSHAREDRESOURCEACCESS;
typedef PVOID PD3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP;
typedef PVOID PD3DKMT_CLOSEADAPTER;
typedef PVOID PD3DKMT_CONFIGURESHAREDRESOURCE;
typedef PVOID PD3DKMT_CREATEALLOCATION;
typedef PVOID PD3DKMT_CREATECONTEXT;
typedef PVOID PD3DKMT_CREATEDCFROMMEMORY;
typedef PVOID PD3DKMT_CREATEDEVICE;
typedef PVOID PD3DKMT_CREATEKEYEDMUTEX;
typedef PVOID PD3DKMT_CREATEOVERLAY;
typedef PVOID PD3DKMT_CREATESYNCHRONIZATIONOBJECT2;
typedef PVOID PD3DKMT_DESTROYALLOCATION;
typedef PVOID PD3DKMT_DESTROYCONTEXT;
typedef PVOID PD3DKMT_DESTROYDCFROMMEMORY;
typedef PVOID PD3DKMT_DESTROYDEVICE;
typedef PVOID PD3DKMT_DESTROYKEYEDMUTEX;
typedef PVOID PD3DKMT_DESTROYOVERLAY;
typedef PVOID PD3DKMT_DESTROYSYNCHRONIZATIONOBJECT;
typedef PVOID PD3DKMT_ESCAPE;
typedef PVOID PD3DKMT_FLIPOVERLAY;
typedef PVOID PD3DKMT_GETCONTEXTSCHEDULINGPRIORITY;
typedef PVOID PD3DKMT_GETDEVICESTATE;
typedef PVOID PD3DKMT_GETDISPLAYMODELIST;
typedef PVOID PD3DKMT_GETMULTISAMPLEMETHODLIST;
typedef PVOID PD3DKMT_GETOVERLAYSTATE;
typedef PVOID PD3DKMT_GETPRESENTHISTORY;
typedef PVOID PD3DKMT_GETRUNTIMEDATA;
typedef PVOID PD3DKMT_GETSCANLINE;
typedef PVOID PD3DKMT_GETSHAREDPRIMARYHANDLE;
typedef PVOID PD3DKMT_INVALIDATEACTIVEVIDPN;
typedef PVOID PD3DKMT_LOCK;
typedef PVOID PD3DKMT_OPENADAPTERFROMDEVICENAME;
typedef PVOID PD3DKMT_OPENADAPTERFROMHDC;
typedef PVOID PD3DKMT_OPENKEYEDMUTEX;
typedef PVOID PD3DKMT_OPENRESOURCE;
typedef PVOID PD3DKMT_OPENSYNCHRONIZATIONOBJECT;
typedef PVOID PD3DKMT_POLLDISPLAYCHILDREN;
typedef PVOID PD3DKMT_PRESENT;
typedef PVOID PD3DKMT_QUERYADAPTERINFO;
typedef PVOID PD3DKMT_QUERYALLOCATIONRESIDENCY;
typedef PVOID PD3DKMT_QUERYRESOURCEINFO;
typedef PVOID PD3DKMT_RELEASEKEYEDMUTEX;
typedef PVOID PD3DKMT_RENDER;
typedef PVOID PD3DKMT_SCHEDULINGPRIORITYCLASS;
typedef PVOID PD3DKMT_SETALLOCATIONPRIORITY;
typedef PVOID PD3DKMT_SETCONTEXTSCHEDULINGPRIORITY;
typedef PVOID PD3DKMT_SETDISPLAYMODE;
typedef PVOID PD3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT;
typedef PVOID PD3DKMT_SETGAMMARAMP;
typedef PVOID PD3DKMT_SETQUEUEDLIMIT;
typedef PVOID PD3DKMT_SETVIDPNSOURCEOWNER;
typedef PVOID PD3DKMT_SHAREDPRIMARYLOCKNOTIFICATION;
typedef PVOID PD3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION;
typedef PVOID PD3DKMT_SIGNALSYNCHRONIZATIONOBJECT2;
typedef PVOID PD3DKMT_UNLOCK;
typedef PVOID PD3DKMT_UPDATEOVERLAY;
typedef PVOID PD3DKMT_WAITFORIDLE;
typedef PVOID PD3DKMT_WAITFORSYNCHRONIZATIONOBJECT2;
typedef PVOID PD3DKMT_WAITFORVERTICALBLANKEVENT;
typedef PVOID PD3DKMT_QUERYSTATISTICS;
typedef ULONG D3DKMT_SCHEDULINGPRIORITYCLASS;
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIAcquireKeyedMutex(
PD3DKMT_ACQUIREKEYEDMUTEX pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDICheckExclusiveOwnership(
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDICheckMonitorPowerState(
PD3DKMT_CHECKMONITORPOWERSTATE pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDICheckOcclusion(
PD3DKMT_CHECKOCCLUSION pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDICheckSharedResourceAccess(
PD3DKMT_CHECKSHAREDRESOURCEACCESS pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDICheckVidPnExclusiveOwnership(
PD3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDICloseAdapter(
PD3DKMT_CLOSEADAPTER pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIConfigureSharedResource(
PD3DKMT_CONFIGURESHAREDRESOURCE pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDICreateAllocation(
PD3DKMT_CREATEALLOCATION pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDICreateContext(
PD3DKMT_CREATECONTEXT pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDICreateDCFromMemory(
PD3DKMT_CREATEDCFROMMEMORY pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDICreateDevice(
PD3DKMT_CREATEDEVICE pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDICreateKeyedMutex(
PD3DKMT_CREATEKEYEDMUTEX pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDICreateOverlay(
PD3DKMT_CREATEOVERLAY pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDICreateSynchronizationObject(
PD3DKMT_CREATESYNCHRONIZATIONOBJECT2 pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIDestroyAllocation(
PD3DKMT_DESTROYALLOCATION pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIDestroyContext(
PD3DKMT_DESTROYCONTEXT pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIDestroyDCFromMemory(
PD3DKMT_DESTROYDCFROMMEMORY pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIDestroyDevice(
PD3DKMT_DESTROYDEVICE pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIDestroyKeyedMutex(
PD3DKMT_DESTROYKEYEDMUTEX pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIDestroyOverlay(
PD3DKMT_DESTROYOVERLAY pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIDestroySynchronizationObject(
PD3DKMT_DESTROYSYNCHRONIZATIONOBJECT pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIEscape(
PD3DKMT_ESCAPE pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIFlipOverlay(
PD3DKMT_FLIPOVERLAY pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIGetContextSchedulingPriority(
PD3DKMT_GETCONTEXTSCHEDULINGPRIORITY pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIGetDeviceState(
PD3DKMT_GETDEVICESTATE pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIGetDisplayModeList(
PD3DKMT_GETDISPLAYMODELIST pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIGetMultisampleMethodList(
PD3DKMT_GETMULTISAMPLEMETHODLIST pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIGetOverlayState(
PD3DKMT_GETOVERLAYSTATE pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIGetPresentHistory(
PD3DKMT_GETPRESENTHISTORY pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIGetPresentQueueEvent(
D3DKMT_HANDLE hAdapter,
PHANDLE pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIGetProcessSchedulingPriorityClass(
HANDLE hProcess,
PD3DKMT_SCHEDULINGPRIORITYCLASS pPriority
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIGetRuntimeData(
PD3DKMT_GETRUNTIMEDATA pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIGetScanLine(
PD3DKMT_GETSCANLINE pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIGetSharedPrimaryHandle(
PD3DKMT_GETSHAREDPRIMARYHANDLE pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIInvalidateActiveVidPn(
PD3DKMT_INVALIDATEACTIVEVIDPN pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDILock(
PD3DKMT_LOCK pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIOpenAdapterFromDeviceName(
PD3DKMT_OPENADAPTERFROMDEVICENAME pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIOpenAdapterFromHdc(
PD3DKMT_OPENADAPTERFROMHDC pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIOpenKeyedMutex(
PD3DKMT_OPENKEYEDMUTEX pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIOpenResource(
PD3DKMT_OPENRESOURCE pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIOpenSynchronizationObject(
PD3DKMT_OPENSYNCHRONIZATIONOBJECT pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIPollDisplayChildren(
PD3DKMT_POLLDISPLAYCHILDREN pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIPresent(
PD3DKMT_PRESENT pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIQueryAdapterInfo(
PD3DKMT_QUERYADAPTERINFO pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIQueryAllocationResidency(
PD3DKMT_QUERYALLOCATIONRESIDENCY pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIQueryResourceInfo(
PD3DKMT_QUERYRESOURCEINFO pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIQueryStatistics(
PD3DKMT_QUERYSTATISTICS pQueryStatistics
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIReleaseKeyedMutex(
PD3DKMT_RELEASEKEYEDMUTEX pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIReleaseProcessVidPnSourceOwners(
HANDLE hProcess
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIRender(
PD3DKMT_RENDER pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDISetAllocationPriority(
PD3DKMT_SETALLOCATIONPRIORITY pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDISetContextSchedulingPriority(
PD3DKMT_SETCONTEXTSCHEDULINGPRIORITY pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDISetDisplayMode(
PD3DKMT_SETDISPLAYMODE pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDISetDisplayPrivateDriverFormat(
PD3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDISetGammaRamp(
PD3DKMT_SETGAMMARAMP pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDISetProcessSchedulingPriorityClass(
HANDLE hProcess,
D3DKMT_SCHEDULINGPRIORITYCLASS Priority
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDISetQueuedLimit(
PD3DKMT_SETQUEUEDLIMIT pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDISetVidPnSourceOwner(
PD3DKMT_SETVIDPNSOURCEOWNER pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDISharedPrimaryLockNotification(
PD3DKMT_SHAREDPRIMARYLOCKNOTIFICATION pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDISharedPrimaryUnLockNotification(
PD3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDISignalSynchronizationObject(
PD3DKMT_SIGNALSYNCHRONIZATIONOBJECT2 pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIUnlock(
PD3DKMT_UNLOCK pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIUpdateOverlay(
PD3DKMT_UPDATEOVERLAY pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIWaitForIdle(
PD3DKMT_WAITFORIDLE pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIWaitForSynchronizationObject(
PD3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 pData
);
//[DirectX]
NTSTATUS
NTAPI
NtGdiDdDDIWaitForVerticalBlankEvent(
PD3DKMT_WAITFORVERTICALBLANKEVENT pData
);
//[OPM]
NTSTATUS
NTAPI
NtGdiConfigureOPMProtectedOutput(
_In_ OPM_PROTECTED_OUTPUT_HANDLE opoOPMProtectedOutput,
_In_ PDXGKMDT_OPM_CONFIGURE_PARAMETERS pParameters,
_In_ ULONG ulAdditionalParametersSize,
_In_ PBYTE pbAdditionalParameters
);
//[Windows2003]
BOOL
NTAPI
NtGdiConsoleTextOut(
__in HDC hdc,
__in PPOLYTEXTW Text,
__in ULONG nItems,
__in PRECTL Bounds
);
//[OPM]
NTSTATUS
NTAPI
NtGdiCreateOPMProtectedOutputs(
_In_ PUNICODE_STRING pstrDeviceName,
_In_ DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS vos,
_In_ DWORD dwOPMProtectedOutputArraySize,
_Out_ PDWORD pdwNumOPMProtectedOutputsInArray,
_Out_ POPM_PROTECTED_OUTPUT_HANDLE pohOPMProtectedOutputArray
);
//[Monitor]
NTSTATUS
NTAPI
NtGdiDDCCIGetCapabilitiesString(
__in HANDLE hMonitor,
__out PSTR pszString,
__in DWORD dwLength
);
//[Monitor]
NTSTATUS
NTAPI
NtGdiDDCCIGetCapabilitiesStringLength(
__in HANDLE hMonitor,
__out PDWORD pdwLength
);
//[Monitor]
NTSTATUS
NTAPI
NtGdiDDCCIGetTimingReport(
__in HANDLE hMonitor,
__out LPMC_TIMING_REPORT pmtr
);
//[Monitor]
NTSTATUS
NTAPI
NtGdiDDCCIGetVCPFeature(
__in HANDLE hMonitor,
__in DWORD dwVCPCode,
__out_opt LPMC_VCP_CODE_TYPE pvct,
__out PDWORD pdwCurrentValue,
__out_opt PDWORD pdwMaximumValue
);
//[Monitor]
NTSTATUS
NTAPI
NtGdiDDCCISaveCurrentSettings(
__in HANDLE hMonitor
);
//[Monitor]
NTSTATUS
NTAPI
NtGdiDDCCISetVCPFeature(
__in HANDLE hMonitor,
__in DWORD dwVCPCode,
__in DWORD dwNewValue
);
//[OPM]
NTSTATUS
NTAPI
NtGdiDestroyOPMProtectedOutput(
_In_ OPM_PROTECTED_OUTPUT_HANDLE opoOPMProtectedOutput
);
//[Monitor]
BOOL
NTAPI
NtGdiDestroyPhysicalMonitor(
__in HANDLE hMonitor
);
//[Window2003]
NTSTATUS
NTAPI
NtGdiEnumFontChunk(
ULONG Unknown,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown
);
//[Window2003]
NTSTATUS
NTAPI
NtGdiEnumFontClose(
ULONG Unknown
);
//[Window2003]
NTSTATUS
NTAPI
NtGdiEnumFontOpen(
ULONG Unknown,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown,
ULONG Unknown
);
//[Other]
NTSTATUS
NTAPI
NtGdiFullscreenControl(
__in ULONG Function,
__in PVOID Input,
__in ULONG InputLength,
__out PVOID Output OPTIONAL,
__in ULONG OutputLength
);
//[OPM]
NTSTATUS
NTAPI
NtGdiGetCOPPCompatibleOPMInformation(
_In_ OPM_PROTECTED_OUTPUT_HANDLE opoOPMProtectedOutput,
_In_ PDXGKMDT_OPM_COPP_COMPATIBLE_GET_INFO_PARAMETERS pParameters,
_Out_ PDXGKMDT_OPM_REQUESTED_INFORMATION pRequestedInformation
);
//[OPM]
NTSTATUS
NTAPI
NtGdiGetCertificate(
_In_ PUNICODE_STRING pstrDeviceName,
_In_ DXGKMDT_CERTIFICATE_TYPE ctPVPCertificateType,
_Out_ PBYTE pbCertificate,
_Out_ ULONG ulCertificateLength
);
//[OPM]
NTSTATUS
NTAPI
NtGdiGetCertificateSize(
_In_ PUNICODE_STRING pstrDeviceName,
_In_ DXGKMDT_CERTIFICATE_TYPE ctPVPCertificateType,
_Out_ PULONG pulCertificateLength
);
//[Monitor]
NTSTATUS
NTAPI
NtGdiGetNumberOfPhysicalMonitors(
__in PUNICODE_STRING pstrDeviceName,
__out PDWORD pdwNumberOfPhysicalMonitors
);
//[OPM]
NTSTATUS
NTAPI
NtGdiGetOPMInformation(
_In_ OPM_PROTECTED_OUTPUT_HANDLE opoOPMProtectedOutput,
_In_ PDXGKMDT_OPM_GET_INFO_PARAMETERS pParameters,
_Out_ PDXGKMDT_OPM_REQUESTED_INFORMATION pRequestedInformation
);
//[OPM]
NTSTATUS
NTAPI
NtGdiGetOPMRandomNumber(
_In_ OPM_PROTECTED_OUTPUT_HANDLE opoOPMProtectedOutput,
_Out_ PDXGKMDT_OPM_RANDOM_NUMBER prnRandomNumber
);
//[Monitor]
NTSTATUS
NTAPI
NtGdiGetPhysicalMonitorDescription(
__in HANDLE hMonitor,
__in DWORD dwPhysicalMonitorDescriptionSizeInChars,
__out PWSTR szPhysicalMonitorDescription
);
//[Monitor]
NTSTATUS
NTAPI
NtGdiGetPhysicalMonitors(
__in PUNICODE_STRING pstrDeviceName,
__in DWORD dwPhysicalMonitorArraySize,
__out PDWORD pdwNumPhysicalMonitorHandlesInArray,
__out PHANDLE phPhysicalMonitorArray
);
//[Other]
NTSTATUS
NTAPI
NtGdiGetSpoolMessage(
PVOID Ptr1,
ULONG Data1,
PVOID Ptr2,
ULONG Data2
);
//[OPM]
NTSTATUS
NTAPI
NtGdiGetSuggestedOPMProtectedOutputArraySize(
_In_ PUNICODE_STRING pstrDeviceName,
_Out_ PDWORD pdwSuggestedOPMProtectedOutputArraySize
);
//[Other]
NTSTATUS
NTAPI
NtGdiInitSpool(
);
//[OPM]
NTSTATUS
NTAPI
NtGdiSetOPMSigningKeyAndSequenceNumbers(
_In_ OPM_PROTECTED_OUTPUT_HANDLE opoOPMProtectedOutput,
_In_ PDXGKMDT_OPM_ENCRYPTED_PARAMETERS pParameters /* MSDN has _Out_ const .. I don't believe it */
);
//[Windows2003]
NTSTATUS
NTAPI
NtGdiSetupPublicCFONT(
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