struct.inc 206 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. This unit contains the record definition for the Win32 API
  5. Copyright (c) 1999-2000 by Florian KLaempfl,
  6. member of the Free Pascal development team.
  7. See the file COPYING.FPC, included in this distribution,
  8. for details about the copyright.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. **********************************************************************}
  13. {
  14. Structures.h
  15. Declarations for all the Windows32 API Structures
  16. Copyright (C) 1996 Free Software Foundation, Inc.
  17. Author: Scott Christley <[email protected]>
  18. Date: 1996
  19. This file is part of the Windows32 API Library.
  20. This library is free software; you can redistribute it and/or
  21. modify it under the terms of the GNU Library General Public
  22. License as published by the Free Software Foundation; either
  23. version 2 of the License, or (at your option) any later version.
  24. This library is distributed in the hope that it will be useful,
  25. but WITHOUT ANY WARRANTY; without even the implied warranty of
  26. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  27. Library General Public License for more details.
  28. If you are interested in a warranty or support for this source code,
  29. contact Scott Christley <[email protected]> for more information.
  30. You should have received a copy of the GNU Library General Public
  31. License along with this library; see the file COPYING.LIB.
  32. If not, write to the Free Software Foundation,
  33. 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  34. }
  35. {$ifdef read_interface}
  36. type
  37. { WARNING
  38. the variable argument list
  39. is not implemented for FPC
  40. va_list is just a dummy record
  41. MvdV: Nevertheless it should be a pointer type, not a record}
  42. va_list = pchar;
  43. ABC = record
  44. abcA : longint;
  45. abcB : UINT;
  46. abcC : longint;
  47. end;
  48. LPABC = ^ABC;
  49. _ABC = ABC;
  50. TABC = ABC;
  51. PABC = ^ABC;
  52. ABCFLOAT = record
  53. abcfA : Single;
  54. abcfB : Single;
  55. abcfC : Single;
  56. end;
  57. LPABCFLOAT = ^ABCFLOAT;
  58. _ABCFLOAT = ABCFLOAT;
  59. TABCFLOAT = ABCFLOAT;
  60. PABCFLOAT = ^ABCFLOAT;
  61. ACCEL = record
  62. fVirt : BYTE;
  63. key : WORD;
  64. cmd : WORD;
  65. end;
  66. LPACCEL = ^ACCEL;
  67. _ACCEL = ACCEL;
  68. TACCEL = ACCEL;
  69. PACCEL = ^ACCEL;
  70. ACE_HEADER = record
  71. AceType : BYTE;
  72. AceFlags : BYTE;
  73. AceSize : WORD;
  74. end;
  75. _ACE_HEADER = ACE_HEADER;
  76. TACE_HEADER = ACE_HEADER;
  77. PACE_HEADER = ^ACE_HEADER;
  78. ACCESS_MASK = DWORD;
  79. REGSAM = ACCESS_MASK;
  80. ACCESS_ALLOWED_ACE = record
  81. Header : ACE_HEADER;
  82. Mask : ACCESS_MASK;
  83. SidStart : DWORD;
  84. end;
  85. _ACCESS_ALLOWED_ACE = ACCESS_ALLOWED_ACE;
  86. TACCESS_ALLOWED_ACE = ACCESS_ALLOWED_ACE;
  87. PACCESS_ALLOWED_ACE = ^ACCESS_ALLOWED_ACE;
  88. ACCESS_DENIED_ACE = record
  89. Header : ACE_HEADER;
  90. Mask : ACCESS_MASK;
  91. SidStart : DWORD;
  92. end;
  93. _ACCESS_DENIED_ACE = ACCESS_DENIED_ACE;
  94. TACCESS_DENIED_ACE = ACCESS_DENIED_ACE;
  95. ACCESSTIMEOUT = record
  96. cbSize : UINT;
  97. dwFlags : DWORD;
  98. iTimeOutMSec : DWORD;
  99. end;
  100. _ACCESSTIMEOUT = ACCESSTIMEOUT;
  101. TACCESSTIMEOUT = ACCESSTIMEOUT;
  102. PACCESSTIMEOUT = ^ACCESSTIMEOUT;
  103. ACL = record
  104. AclRevision : BYTE;
  105. Sbz1 : BYTE;
  106. AclSize : WORD;
  107. AceCount : WORD;
  108. Sbz2 : WORD;
  109. end;
  110. PACL = ^ACL;
  111. _ACL = ACL;
  112. TACL = ACL;
  113. ACL_REVISION_INFORMATION = record
  114. AclRevision : DWORD;
  115. end;
  116. _ACL_REVISION_INFORMATION = ACL_REVISION_INFORMATION;
  117. TACLREVISIONINFORMATION = ACL_REVISION_INFORMATION;
  118. PACLREVISIONINFORMATION = ^ACL_REVISION_INFORMATION;
  119. ACL_SIZE_INFORMATION = record
  120. AceCount : DWORD;
  121. AclBytesInUse : DWORD;
  122. AclBytesFree : DWORD;
  123. end;
  124. _ACL_SIZE_INFORMATION = ACL_SIZE_INFORMATION;
  125. TACLSIZEINFORMATION = ACL_SIZE_INFORMATION;
  126. PACLSIZEINFORMATION = ^ACL_SIZE_INFORMATION;
  127. ACTION_HEADER = record
  128. transport_id : ULONG;
  129. action_code : USHORT;
  130. reserved : USHORT;
  131. end;
  132. _ACTION_HEADER = ACTION_HEADER;
  133. TACTIONHEADER = ACTION_HEADER;
  134. PACTIONHEADER = ^ACTION_HEADER;
  135. ADAPTER_STATUS = record
  136. adapter_address : array[0..5] of UCHAR;
  137. rev_major : UCHAR;
  138. reserved0 : UCHAR;
  139. adapter_type : UCHAR;
  140. rev_minor : UCHAR;
  141. duration : WORD;
  142. frmr_recv : WORD;
  143. frmr_xmit : WORD;
  144. iframe_recv_err : WORD;
  145. xmit_aborts : WORD;
  146. xmit_success : DWORD;
  147. recv_success : DWORD;
  148. iframe_xmit_err : WORD;
  149. recv_buff_unavail : WORD;
  150. t1_timeouts : WORD;
  151. ti_timeouts : WORD;
  152. reserved1 : DWORD;
  153. free_ncbs : WORD;
  154. max_cfg_ncbs : WORD;
  155. max_ncbs : WORD;
  156. xmit_buf_unavail : WORD;
  157. max_dgram_size : WORD;
  158. pending_sess : WORD;
  159. max_cfg_sess : WORD;
  160. max_sess : WORD;
  161. max_sess_pkt_size : WORD;
  162. name_count : WORD;
  163. end;
  164. _ADAPTER_STATUS = ADAPTER_STATUS;
  165. TADAPTERSTATUS = ADAPTER_STATUS;
  166. PADAPTERSTATUS = ^ADAPTER_STATUS;
  167. ADDJOB_INFO_1 = record
  168. Path : LPTSTR;
  169. JobId : DWORD;
  170. end;
  171. _ADDJOB_INFO_1 = ADDJOB_INFO_1;
  172. TADDJOB_INFO_1 = ADDJOB_INFO_1;
  173. PADDJOB_INFO_1 = ^ADDJOB_INFO_1;
  174. ANIMATIONINFO = record
  175. cbSize : UINT;
  176. iMinAnimate : longint;
  177. end;
  178. LPANIMATIONINFO = ^ANIMATIONINFO;
  179. _ANIMATIONINFO = ANIMATIONINFO;
  180. TANIMATIONINFO = ANIMATIONINFO;
  181. PANIMATIONINFO = ^ANIMATIONINFO;
  182. POINT = record
  183. x : LONG;
  184. y : LONG;
  185. end;
  186. LPPOINT = ^POINT;
  187. tagPOINT = POINT;
  188. TPOINT = POINT;
  189. PPOINT = ^POINT;
  190. RECT = record
  191. case Integer of
  192. 0: (Left,Top,Right,Bottom : Longint);
  193. 1: (TopLeft,BottomRight : TPoint);
  194. end;
  195. LPRECT = ^RECT;
  196. _RECT = RECT;
  197. TRECT = RECT;
  198. PRECT = ^RECT;
  199. RECTL = record
  200. left : LONG;
  201. top : LONG;
  202. right : LONG;
  203. bottom : LONG;
  204. end;
  205. _RECTL = RECTL;
  206. TRECTL = RECTL;
  207. PRECTL = ^RECTL;
  208. APPBARDATA = record
  209. cbSize : DWORD;
  210. hWnd : HWND;
  211. uCallbackMessage : UINT;
  212. uEdge : UINT;
  213. rc : RECT;
  214. lParam : LPARAM;
  215. end;
  216. _AppBarData = APPBARDATA;
  217. TAppBarData = APPBARDATA;
  218. PAppBarData = ^APPBARDATA;
  219. BITMAP = record
  220. bmType : LONG;
  221. bmWidth : LONG;
  222. bmHeight : LONG;
  223. bmWidthBytes : LONG;
  224. bmPlanes : WORD;
  225. bmBitsPixel : WORD;
  226. bmBits : LPVOID;
  227. end;
  228. PBITMAP = ^BITMAP;
  229. NPBITMAP = ^BITMAP;
  230. LPBITMAP = ^BITMAP;
  231. tagBITMAP = BITMAP;
  232. TBITMAP = BITMAP;
  233. BITMAPCOREHEADER = record
  234. bcSize : DWORD;
  235. bcWidth : WORD;
  236. bcHeight : WORD;
  237. bcPlanes : WORD;
  238. bcBitCount : WORD;
  239. end;
  240. tagBITMAPCOREHEADER = BITMAPCOREHEADER;
  241. TBITMAPCOREHEADER = BITMAPCOREHEADER;
  242. PBITMAPCOREHEADER = ^BITMAPCOREHEADER;
  243. RGBTRIPLE = record
  244. rgbtBlue : BYTE;
  245. rgbtGreen : BYTE;
  246. rgbtRed : BYTE;
  247. end;
  248. tagRGBTRIPLE = RGBTRIPLE;
  249. TRGBTRIPLE = RGBTRIPLE;
  250. PRGBTRIPLE = ^RGBTRIPLE;
  251. BITMAPCOREINFO = record
  252. bmciHeader : BITMAPCOREHEADER;
  253. bmciColors : array[0..0] of RGBTRIPLE;
  254. end;
  255. PBITMAPCOREINFO = ^BITMAPCOREINFO;
  256. LPBITMAPCOREINFO = ^BITMAPCOREINFO;
  257. _BITMAPCOREINFO = BITMAPCOREINFO;
  258. TBITMAPCOREINFO = BITMAPCOREINFO;
  259. (* error
  260. WORD bfReserved1;
  261. WORD bfReserved2;
  262. in declarator_list *)
  263. BITMAPINFOHEADER = record
  264. biSize : DWORD;
  265. biWidth : LONG;
  266. biHeight : LONG;
  267. biPlanes : WORD;
  268. biBitCount : WORD;
  269. biCompression : DWORD;
  270. biSizeImage : DWORD;
  271. biXPelsPerMeter : LONG;
  272. biYPelsPerMeter : LONG;
  273. biClrUsed : DWORD;
  274. biClrImportant : DWORD;
  275. end;
  276. LPBITMAPINFOHEADER = ^BITMAPINFOHEADER;
  277. TBITMAPINFOHEADER = BITMAPINFOHEADER;
  278. PBITMAPINFOHEADER = ^BITMAPINFOHEADER;
  279. RGBQUAD = record
  280. rgbBlue : BYTE;
  281. rgbGreen : BYTE;
  282. rgbRed : BYTE;
  283. rgbReserved : BYTE;
  284. end;
  285. tagRGBQUAD = RGBQUAD;
  286. TRGBQUAD = RGBQUAD;
  287. PRGBQUAD = ^RGBQUAD;
  288. BITMAPINFO = record
  289. bmiHeader : BITMAPINFOHEADER;
  290. bmiColors : array[0..0] of RGBQUAD;
  291. end;
  292. LPBITMAPINFO = ^BITMAPINFO;
  293. PBITMAPINFO = ^BITMAPINFO;
  294. TBITMAPINFO = BITMAPINFO;
  295. FXPT2DOT30 = longint;
  296. LPFXPT2DOT30 = ^FXPT2DOT30;
  297. TPFXPT2DOT30 = FXPT2DOT30;
  298. PPFXPT2DOT30 = ^FXPT2DOT30;
  299. CIEXYZ = record
  300. ciexyzX : FXPT2DOT30;
  301. ciexyzY : FXPT2DOT30;
  302. ciexyzZ : FXPT2DOT30;
  303. end;
  304. tagCIEXYZ = CIEXYZ;
  305. LPCIEXYZ = ^CIEXYZ;
  306. TPCIEXYZ = CIEXYZ;
  307. PCIEXYZ = ^CIEXYZ;
  308. CIEXYZTRIPLE = record
  309. ciexyzRed : CIEXYZ;
  310. ciexyzGreen : CIEXYZ;
  311. ciexyzBlue : CIEXYZ;
  312. end;
  313. tagCIEXYZTRIPLE = CIEXYZTRIPLE;
  314. LPCIEXYZTRIPLE = ^CIEXYZTRIPLE;
  315. TCIEXYZTRIPLE = CIEXYZTRIPLE;
  316. PCIEXYZTRIPLE = ^CIEXYZTRIPLE;
  317. BITMAPV4HEADER = record
  318. bV4Size : DWORD;
  319. bV4Width : LONG;
  320. bV4Height : LONG;
  321. bV4Planes : WORD;
  322. bV4BitCount : WORD;
  323. bV4V4Compression : DWORD;
  324. bV4SizeImage : DWORD;
  325. bV4XPelsPerMeter : LONG;
  326. bV4YPelsPerMeter : LONG;
  327. bV4ClrUsed : DWORD;
  328. bV4ClrImportant : DWORD;
  329. bV4RedMask : DWORD;
  330. bV4GreenMask : DWORD;
  331. bV4BlueMask : DWORD;
  332. bV4AlphaMask : DWORD;
  333. bV4CSType : DWORD;
  334. bV4Endpoints : CIEXYZTRIPLE;
  335. bV4GammaRed : DWORD;
  336. bV4GammaGreen : DWORD;
  337. bV4GammaBlue : DWORD;
  338. end;
  339. LPBITMAPV4HEADER = ^BITMAPV4HEADER;
  340. TBITMAPV4HEADER = BITMAPV4HEADER;
  341. PBITMAPV4HEADER = ^BITMAPV4HEADER;
  342. BITMAPFILEHEADER = packed record
  343. bfType : Word;
  344. bfSize : DWord;
  345. bfReserved1 : Word;
  346. bfReserved2 : Word;
  347. bfOffBits : DWord;
  348. end;
  349. BLOB = record
  350. cbSize : ULONG;
  351. pBlobData : ^BYTE;
  352. end;
  353. _BLOB = BLOB;
  354. TBLOB = BLOB;
  355. PBLOB = ^BLOB;
  356. SHITEMID = record
  357. cb : USHORT;
  358. abID : array[0..0] of BYTE;
  359. end;
  360. LPSHITEMID = ^SHITEMID;
  361. LPCSHITEMID = ^SHITEMID;
  362. _SHITEMID = SHITEMID;
  363. TSHITEMID = SHITEMID;
  364. PSHITEMID = ^SHITEMID;
  365. ITEMIDLIST = record
  366. mkid : SHITEMID;
  367. end;
  368. LPITEMIDLIST = ^ITEMIDLIST;
  369. LPCITEMIDLIST = ^ITEMIDLIST;
  370. _ITEMIDLIST = ITEMIDLIST;
  371. TITEMIDLIST = ITEMIDLIST;
  372. PITEMIDLIST = ^ITEMIDLIST;
  373. BROWSEINFO = record
  374. hwndOwner : HWND;
  375. pidlRoot : LPCITEMIDLIST;
  376. pszDisplayName : LPSTR;
  377. lpszTitle : LPCSTR;
  378. ulFlags : UINT;
  379. lpfn : BFFCALLBACK;
  380. lParam : LPARAM;
  381. iImage : longint;
  382. end;
  383. LPBROWSEINFO = ^BROWSEINFO;
  384. _browseinfo = BROWSEINFO;
  385. Tbrowseinfo = BROWSEINFO;
  386. PBROWSEINFO = ^BROWSEINFO;
  387. FILETIME = record
  388. dwLowDateTime : DWORD;
  389. dwHighDateTime : DWORD;
  390. end;
  391. LPFILETIME = ^FILETIME;
  392. _FILETIME = FILETIME;
  393. TFILETIME = FILETIME;
  394. PFILETIME = ^FILETIME;
  395. BY_HANDLE_FILE_INFORMATION = record
  396. dwFileAttributes : DWORD;
  397. ftCreationTime : FILETIME;
  398. ftLastAccessTime : FILETIME;
  399. ftLastWriteTime : FILETIME;
  400. dwVolumeSerialNumber : DWORD;
  401. nFileSizeHigh : DWORD;
  402. nFileSizeLow : DWORD;
  403. nNumberOfLinks : DWORD;
  404. nFileIndexHigh : DWORD;
  405. nFileIndexLow : DWORD;
  406. end;
  407. LPBY_HANDLE_FILE_INFORMATION = ^BY_HANDLE_FILE_INFORMATION;
  408. _BY_HANDLE_FILE_INFORMATION = BY_HANDLE_FILE_INFORMATION;
  409. TBYHANDLEFILEINFORMATION = BY_HANDLE_FILE_INFORMATION;
  410. PBYHANDLEFILEINFORMATION = ^BY_HANDLE_FILE_INFORMATION;
  411. FIXED = record
  412. fract : WORD;
  413. value : integer;
  414. end;
  415. _FIXED = FIXED;
  416. TFIXED = FIXED;
  417. PFIXED = ^FIXED;
  418. POINTFX = record
  419. x : FIXED;
  420. y : FIXED;
  421. end;
  422. tagPOINTFX = POINTFX;
  423. TPOINTFX = POINTFX;
  424. PPOINTFX = ^POINTFX;
  425. POINTL = record
  426. x : LONG;
  427. y : LONG;
  428. end;
  429. _POINTL = POINTL;
  430. TPOINTL = POINTL;
  431. PPOINTL = ^POINTL;
  432. TSmallPoint = record
  433. X,
  434. Y : SmallInt;
  435. end;
  436. POINTS = record
  437. x : SHORT;
  438. y : SHORT;
  439. end;
  440. tagPOINTS = POINTS;
  441. TPOINTS = POINTS;
  442. PPOINTS = ^POINTS;
  443. CANDIDATEFORM = record
  444. dwIndex : DWORD;
  445. dwStyle : DWORD;
  446. ptCurrentPos : POINT;
  447. rcArea : RECT;
  448. end;
  449. LPCANDIDATEFORM = ^CANDIDATEFORM;
  450. _tagCANDIDATEFORM = CANDIDATEFORM;
  451. TCANDIDATEFORM = CANDIDATEFORM;
  452. PCANDIDATEFORM = ^CANDIDATEFORM;
  453. CANDIDATELIST = record
  454. dwSize : DWORD;
  455. dwStyle : DWORD;
  456. dwCount : DWORD;
  457. dwSelection : DWORD;
  458. dwPageStart : DWORD;
  459. dwPageSize : DWORD;
  460. dwOffset : array[0..0] of DWORD;
  461. end;
  462. LPCANDIDATELIST = ^CANDIDATELIST;
  463. _tagCANDIDATELIST = CANDIDATELIST;
  464. TCANDIDATELIST = CANDIDATELIST;
  465. PCANDIDATELIST = ^CANDIDATELIST;
  466. CREATESTRUCT = record
  467. lpCreateParams : LPVOID;
  468. hInstance : HINST;
  469. hMenu : HMENU;
  470. hwndParent : HWND;
  471. cy : longint;
  472. cx : longint;
  473. y : longint;
  474. x : longint;
  475. style : LONG;
  476. lpszName : LPCTSTR;
  477. lpszClass : LPCTSTR;
  478. dwExStyle : DWORD;
  479. end;
  480. LPCREATESTRUCT = ^CREATESTRUCT;
  481. tagCREATESTRUCT = CREATESTRUCT;
  482. TCREATESTRUCT = CREATESTRUCT;
  483. PCREATESTRUCT = ^CREATESTRUCT;
  484. CBT_CREATEWND = record
  485. lpcs : LPCREATESTRUCT;
  486. hwndInsertAfter : HWND;
  487. end;
  488. tagCBT_CREATEWND = CBT_CREATEWND;
  489. TCBT_CREATEWND = CBT_CREATEWND;
  490. PCBT_CREATEWND = ^CBT_CREATEWND;
  491. CBTACTIVATESTRUCT = record
  492. fMouse : WINBOOL;
  493. hWndActive : HWND;
  494. end;
  495. tagCBTACTIVATESTRUCT = CBTACTIVATESTRUCT;
  496. TCBTACTIVATESTRUCT = CBTACTIVATESTRUCT;
  497. PCBTACTIVATESTRUCT = ^CBTACTIVATESTRUCT;
  498. CHAR_INFO = record
  499. case longint of
  500. 0 : ( UnicodeChar : WCHAR;
  501. Attributes : Word);
  502. 1 : ( AsciiChar : CHAR );
  503. end;
  504. _CHAR_INFO = CHAR_INFO;
  505. TCHAR_INFO = CHAR_INFO;
  506. PCHAR_INFO = ^CHAR_INFO;
  507. CHARFORMAT = record
  508. cbSize : UINT;
  509. dwMask : DWORD;
  510. dwEffects : DWORD;
  511. yHeight : LONG;
  512. yOffset : LONG;
  513. crTextColor : COLORREF;
  514. bCharSet : BYTE;
  515. bPitchAndFamily : BYTE;
  516. szFaceName : array[0..(LF_FACESIZE)-1] of TCHAR;
  517. end;
  518. _charformat = CHARFORMAT;
  519. Tcharformat = CHARFORMAT;
  520. Pcharformat = ^CHARFORMAT;
  521. CHARRANGE = record
  522. cpMin : LONG;
  523. cpMax : LONG;
  524. end;
  525. _charrange = CHARRANGE;
  526. Tcharrange = CHARRANGE;
  527. Pcharrange = ^CHARRANGE;
  528. CHARSET = record
  529. aflBlock : array[0..2] of DWORD;
  530. flLang : DWORD;
  531. end;
  532. tagCHARSET = CHARSET;
  533. TCHARSET = CHARSET;
  534. PCHARSET = ^CHARSET;
  535. FONTSIGNATURE = record
  536. fsUsb : array[0..3] of DWORD;
  537. fsCsb : array[0..1] of DWORD;
  538. end;
  539. LPFONTSIGNATURE = ^FONTSIGNATURE;
  540. tagFONTSIGNATURE = FONTSIGNATURE;
  541. TFONTSIGNATURE = FONTSIGNATURE;
  542. PFONTSIGNATURE = ^FONTSIGNATURE;
  543. CHARSETINFO = record
  544. ciCharset : UINT;
  545. ciACP : UINT;
  546. fs : FONTSIGNATURE;
  547. end;
  548. LPCHARSETINFO = ^CHARSETINFO;
  549. TCHARSETINFO = CHARSETINFO;
  550. PCHARSETINFO = ^CHARSETINFO;
  551. {CHOOSECOLOR = record confilcts with function ChooseColor }
  552. TCHOOSECOLOR = record
  553. lStructSize : DWORD;
  554. hwndOwner : HWND;
  555. hInstance : HWND;
  556. rgbResult : COLORREF;
  557. lpCustColors : ^COLORREF;
  558. Flags : DWORD;
  559. lCustData : LPARAM;
  560. lpfnHook : LPCCHOOKPROC;
  561. lpTemplateName : LPCTSTR;
  562. end;
  563. LPCHOOSECOLOR = ^TCHOOSECOLOR;
  564. PCHOOSECOLOR = ^TCHOOSECOLOR;
  565. LOGFONT = record
  566. lfHeight : LONG;
  567. lfWidth : LONG;
  568. lfEscapement : LONG;
  569. lfOrientation : LONG;
  570. lfWeight : LONG;
  571. lfItalic : BYTE;
  572. lfUnderline : BYTE;
  573. lfStrikeOut : BYTE;
  574. lfCharSet : BYTE;
  575. lfOutPrecision : BYTE;
  576. lfClipPrecision : BYTE;
  577. lfQuality : BYTE;
  578. lfPitchAndFamily : BYTE;
  579. lfFaceName : array[0..(LF_FACESIZE)-1] of TCHAR;
  580. end;
  581. LPLOGFONT = ^LOGFONT;
  582. TLOGFONT = LOGFONT;
  583. TLOGFONTA = LOGFONT;
  584. PLOGFONT = ^LOGFONT;
  585. PLogFontW = ^TLogFontW;
  586. LOGFONTW = record
  587. lfHeight: LONG;
  588. lfWidth: LONG;
  589. lfEscapement: LONG;
  590. lfOrientation: LONG;
  591. lfWeight: LONG;
  592. lfItalic: BYTE;
  593. lfUnderline: BYTE;
  594. lfStrikeOut: BYTE;
  595. lfCharSet: BYTE;
  596. lfOutPrecision: BYTE;
  597. lfClipPrecision: BYTE;
  598. lfQuality: BYTE;
  599. lfPitchAndFamily: BYTE;
  600. lfFaceName: array [0..LF_FACESIZE - 1] of WCHAR;
  601. end;
  602. LPLOGFONTW = ^LOGFONTW;
  603. NPLOGFONTW = ^LOGFONTW;
  604. TLogFontW = LOGFONTW;
  605. {CHOOSEFONT = record conflicts with ChosseFont function }
  606. TCHOOSEFONT = record
  607. lStructSize : DWORD;
  608. hwndOwner : HWND;
  609. hDC : HDC;
  610. lpLogFont : LPLOGFONT;
  611. iPointSize : WINT;
  612. Flags : DWORD;
  613. rgbColors : DWORD;
  614. lCustData : LPARAM;
  615. lpfnHook : LPCFHOOKPROC;
  616. lpTemplateName : LPCTSTR;
  617. hInstance : HINST;
  618. lpszStyle : LPTSTR;
  619. nFontType : WORD;
  620. ___MISSING_ALIGNMENT__ : WORD;
  621. nSizeMin : WINT;
  622. nSizeMax : WINT;
  623. end;
  624. LPCHOOSEFONT = ^TCHOOSEFONT;
  625. PCHOOSEFONT = ^TCHOOSEFONT;
  626. CIDA = record
  627. cidl : UINT;
  628. aoffset : array[0..0] of UINT;
  629. end;
  630. LPIDA = ^CIDA;
  631. _IDA = CIDA;
  632. TIDA = CIDA;
  633. PIDA = ^CIDA;
  634. CLIENTCREATESTRUCT = record
  635. hWindowMenu : HANDLE;
  636. idFirstChild : UINT;
  637. end;
  638. LPCLIENTCREATESTRUCT = ^CLIENTCREATESTRUCT;
  639. tagCLIENTCREATESTRUCT = CLIENTCREATESTRUCT;
  640. TCLIENTCREATESTRUCT = CLIENTCREATESTRUCT;
  641. PCLIENTCREATESTRUCT = ^CLIENTCREATESTRUCT;
  642. CMINVOKECOMMANDINFO = record
  643. cbSize : DWORD;
  644. fMask : DWORD;
  645. hwnd : HWND;
  646. lpVerb : LPCSTR;
  647. lpParameters : LPCSTR;
  648. lpDirectory : LPCSTR;
  649. nShow : longint;
  650. dwHotKey : DWORD;
  651. hIcon : HANDLE;
  652. end;
  653. LPCMINVOKECOMMANDINFO = ^CMINVOKECOMMANDINFO;
  654. _CMInvokeCommandInfo = CMINVOKECOMMANDINFO;
  655. TCMInvokeCommandInfo = CMINVOKECOMMANDINFO;
  656. PCMInvokeCommandInfo = ^CMINVOKECOMMANDINFO;
  657. COLORADJUSTMENT = record
  658. caSize : WORD;
  659. caFlags : WORD;
  660. caIlluminantIndex : WORD;
  661. caRedGamma : WORD;
  662. caGreenGamma : WORD;
  663. caBlueGamma : WORD;
  664. caReferenceBlack : WORD;
  665. caReferenceWhite : WORD;
  666. caContrast : SHORT;
  667. caBrightness : SHORT;
  668. caColorfulness : SHORT;
  669. caRedGreenTint : SHORT;
  670. end;
  671. LPCOLORADJUSTMENT = ^COLORADJUSTMENT;
  672. tagCOLORADJUSTMENT = COLORADJUSTMENT;
  673. TCOLORADJUSTMENT = COLORADJUSTMENT;
  674. PCOLORADJUSTMENT = ^COLORADJUSTMENT;
  675. COLORMAP = record
  676. from : COLORREF;
  677. _to : COLORREF;
  678. end;
  679. LPCOLORMAP = ^COLORMAP;
  680. _COLORMAP = COLORMAP;
  681. TCOLORMAP = COLORMAP;
  682. PCOLORMAP = ^COLORMAP;
  683. DCB = record
  684. DCBlength : DWORD;
  685. BaudRate : DWORD;
  686. flags : DWORD;
  687. wReserved : WORD;
  688. XonLim : WORD;
  689. XoffLim : WORD;
  690. ByteSize : BYTE;
  691. Parity : BYTE;
  692. StopBits : BYTE;
  693. XonChar : char;
  694. XoffChar : char;
  695. ErrorChar : char;
  696. EofChar : char;
  697. EvtChar : char;
  698. wReserved1 : WORD;
  699. end;
  700. LPDCB = ^DCB;
  701. _DCB = DCB;
  702. TDCB = DCB;
  703. PDCB = ^DCB;
  704. const
  705. bm_DCB_fBinary = $1;
  706. bp_DCB_fBinary = 0;
  707. bm_DCB_fParity = $2;
  708. bp_DCB_fParity = 1;
  709. bm_DCB_fOutxCtsFlow = $4;
  710. bp_DCB_fOutxCtsFlow = 2;
  711. bm_DCB_fOutxDsrFlow = $8;
  712. bp_DCB_fOutxDsrFlow = 3;
  713. bm_DCB_fDtrControl = $30;
  714. bp_DCB_fDtrControl = 4;
  715. bm_DCB_fDsrSensitivity = $40;
  716. bp_DCB_fDsrSensitivity = 6;
  717. bm_DCB_fTXContinueOnXoff = $80;
  718. bp_DCB_fTXContinueOnXoff = 7;
  719. bm_DCB_fOutX = $100;
  720. bp_DCB_fOutX = 8;
  721. bm_DCB_fInX = $200;
  722. bp_DCB_fInX = 9;
  723. bm_DCB_fErrorChar = $400;
  724. bp_DCB_fErrorChar = 10;
  725. bm_DCB_fNull = $800;
  726. bp_DCB_fNull = 11;
  727. bm_DCB_fRtsControl = $3000;
  728. bp_DCB_fRtsControl = 12;
  729. bm_DCB_fAbortOnError = $4000;
  730. bp_DCB_fAbortOnError = 14;
  731. bm_DCB_fDummy2 = $FFFF8000;
  732. bp_DCB_fDummy2 = 15;
  733. function fBinary(var a : DCB) : DWORD;
  734. procedure set_fBinary(var a : DCB; __fBinary : DWORD);
  735. function fParity(var a : DCB) : DWORD;
  736. procedure set_fParity(var a : DCB; __fParity : DWORD);
  737. function fOutxCtsFlow(var a : DCB) : DWORD;
  738. procedure set_fOutxCtsFlow(var a : DCB; __fOutxCtsFlow : DWORD);
  739. function fOutxDsrFlow(var a : DCB) : DWORD;
  740. procedure set_fOutxDsrFlow(var a : DCB; __fOutxDsrFlow : DWORD);
  741. function fDtrControl(var a : DCB) : DWORD;
  742. procedure set_fDtrControl(var a : DCB; __fDtrControl : DWORD);
  743. function fDsrSensitivity(var a : DCB) : DWORD;
  744. procedure set_fDsrSensitivity(var a : DCB; __fDsrSensitivity : DWORD);
  745. function fTXContinueOnXoff(var a : DCB) : DWORD;
  746. procedure set_fTXContinueOnXoff(var a : DCB; __fTXContinueOnXoff : DWORD);
  747. function fOutX(var a : DCB) : DWORD;
  748. procedure set_fOutX(var a : DCB; __fOutX : DWORD);
  749. function fInX(var a : DCB) : DWORD;
  750. procedure set_fInX(var a : DCB; __fInX : DWORD);
  751. function fErrorChar(var a : DCB) : DWORD;
  752. procedure set_fErrorChar(var a : DCB; __fErrorChar : DWORD);
  753. function fNull(var a : DCB) : DWORD;
  754. procedure set_fNull(var a : DCB; __fNull : DWORD);
  755. function fRtsControl(var a : DCB) : DWORD;
  756. procedure set_fRtsControl(var a : DCB; __fRtsControl : DWORD);
  757. function fAbortOnError(var a : DCB) : DWORD;
  758. procedure set_fAbortOnError(var a : DCB; __fAbortOnError : DWORD);
  759. function fDummy2(var a : DCB) : DWORD;
  760. procedure set_fDummy2(var a : DCB; __fDummy2 : DWORD);
  761. type
  762. COMMCONFIG = record
  763. dwSize : DWORD;
  764. wVersion : WORD;
  765. wReserved : WORD;
  766. dcb : DCB;
  767. dwProviderSubType : DWORD;
  768. dwProviderOffset : DWORD;
  769. dwProviderSize : DWORD;
  770. wcProviderData : array[0..0] of WCHAR;
  771. end;
  772. LPCOMMCONFIG = ^COMMCONFIG;
  773. _COMM_CONFIG = COMMCONFIG;
  774. TCOMMCONFIG = COMMCONFIG;
  775. PCOMMCONFIG = ^COMMCONFIG;
  776. COMMPROP = record
  777. wPacketLength : WORD;
  778. wPacketVersion : WORD;
  779. dwServiceMask : DWORD;
  780. dwReserved1 : DWORD;
  781. dwMaxTxQueue : DWORD;
  782. dwMaxRxQueue : DWORD;
  783. dwMaxBaud : DWORD;
  784. dwProvSubType : DWORD;
  785. dwProvCapabilities : DWORD;
  786. dwSettableParams : DWORD;
  787. dwSettableBaud : DWORD;
  788. wSettableData : WORD;
  789. wSettableStopParity : WORD;
  790. dwCurrentTxQueue : DWORD;
  791. dwCurrentRxQueue : DWORD;
  792. dwProvSpec1 : DWORD;
  793. dwProvSpec2 : DWORD;
  794. wcProvChar : array[0..0] of WCHAR;
  795. end;
  796. LPCOMMPROP = ^COMMPROP;
  797. _COMMPROP = COMMPROP;
  798. TCOMMPROP = COMMPROP;
  799. PCOMMPROP = ^COMMPROP;
  800. COMMTIMEOUTS = record
  801. ReadIntervalTimeout : DWORD;
  802. ReadTotalTimeoutMultiplier : DWORD;
  803. ReadTotalTimeoutConstant : DWORD;
  804. WriteTotalTimeoutMultiplier : DWORD;
  805. WriteTotalTimeoutConstant : DWORD;
  806. end;
  807. LPCOMMTIMEOUTS = ^COMMTIMEOUTS;
  808. _COMMTIMEOUTS = COMMTIMEOUTS;
  809. TCOMMTIMEOUTS = COMMTIMEOUTS;
  810. PCOMMTIMEOUTS = ^COMMTIMEOUTS;
  811. COMPAREITEMSTRUCT = record
  812. CtlType : UINT;
  813. CtlID : UINT;
  814. hwndItem : HWND;
  815. itemID1 : UINT;
  816. itemData1 : DWORD;
  817. itemID2 : UINT;
  818. itemData2 : DWORD;
  819. end;
  820. tagCOMPAREITEMSTRUCT = COMPAREITEMSTRUCT;
  821. TCOMPAREITEMSTRUCT = COMPAREITEMSTRUCT;
  822. PCOMPAREITEMSTRUCT = ^COMPAREITEMSTRUCT;
  823. COMPCOLOR = record
  824. crText : COLORREF;
  825. crBackground : COLORREF;
  826. dwEffects : DWORD;
  827. end;
  828. TCOMPCOLOR = COMPCOLOR;
  829. PCOMPCOLOR = ^COMPCOLOR;
  830. COMPOSITIONFORM = record
  831. dwStyle : DWORD;
  832. ptCurrentPos : POINT;
  833. rcArea : RECT;
  834. end;
  835. LPCOMPOSITIONFORM = ^COMPOSITIONFORM;
  836. _tagCOMPOSITIONFORM = COMPOSITIONFORM;
  837. TCOMPOSITIONFORM = COMPOSITIONFORM;
  838. PCOMPOSITIONFORM = ^COMPOSITIONFORM;
  839. COMSTAT = record
  840. flag0 : DWORD;
  841. cbInQue : DWORD;
  842. cbOutQue : DWORD;
  843. end;
  844. LPCOMSTAT = ^COMSTAT;
  845. _COMSTAT = COMSTAT;
  846. TCOMSTAT = COMSTAT;
  847. PCOMSTAT = ^COMSTAT;
  848. const
  849. bm_COMSTAT_fCtsHold = $1;
  850. bp_COMSTAT_fCtsHold = 0;
  851. bm_COMSTAT_fDsrHold = $2;
  852. bp_COMSTAT_fDsrHold = 1;
  853. bm_COMSTAT_fRlsdHold = $4;
  854. bp_COMSTAT_fRlsdHold = 2;
  855. bm_COMSTAT_fXoffHold = $8;
  856. bp_COMSTAT_fXoffHold = 3;
  857. bm_COMSTAT_fXoffSent = $10;
  858. bp_COMSTAT_fXoffSent = 4;
  859. bm_COMSTAT_fEof = $20;
  860. bp_COMSTAT_fEof = 5;
  861. bm_COMSTAT_fTxim = $40;
  862. bp_COMSTAT_fTxim = 6;
  863. bm_COMSTAT_fReserved = $FFFFFF80;
  864. bp_COMSTAT_fReserved = 7;
  865. function fCtsHold(var a : COMSTAT) : DWORD;
  866. procedure set_fCtsHold(var a : COMSTAT; __fCtsHold : DWORD);
  867. function fDsrHold(var a : COMSTAT) : DWORD;
  868. procedure set_fDsrHold(var a : COMSTAT; __fDsrHold : DWORD);
  869. function fRlsdHold(var a : COMSTAT) : DWORD;
  870. procedure set_fRlsdHold(var a : COMSTAT; __fRlsdHold : DWORD);
  871. function fXoffHold(var a : COMSTAT) : DWORD;
  872. procedure set_fXoffHold(var a : COMSTAT; __fXoffHold : DWORD);
  873. function fXoffSent(var a : COMSTAT) : DWORD;
  874. procedure set_fXoffSent(var a : COMSTAT; __fXoffSent : DWORD);
  875. function fEof(var a : COMSTAT) : DWORD;
  876. procedure set_fEof(var a : COMSTAT; __fEof : DWORD);
  877. function fTxim(var a : COMSTAT) : DWORD;
  878. procedure set_fTxim(var a : COMSTAT; __fTxim : DWORD);
  879. function fReserved(var a : COMSTAT) : DWORD;
  880. procedure set_fReserved(var a : COMSTAT; __fReserved : DWORD);
  881. type
  882. CONSOLE_CURSOR_INFO = record
  883. dwSize : DWORD;
  884. bVisible : WINBOOL;
  885. end;
  886. PCONSOLE_CURSOR_INFO = ^CONSOLE_CURSOR_INFO;
  887. _CONSOLE_CURSOR_INFO = CONSOLE_CURSOR_INFO;
  888. TCONSOLECURSORINFO = CONSOLE_CURSOR_INFO;
  889. PCONSOLECURSORINFO = ^CONSOLE_CURSOR_INFO;
  890. TCURSORINFO = CONSOLE_CURSOR_INFO;
  891. COORD = record
  892. X : SHORT;
  893. Y : SHORT;
  894. end;
  895. _COORD = COORD;
  896. TCOORD = COORD;
  897. PCOORD = ^COORD;
  898. SMALL_RECT = record
  899. Left : SHORT;
  900. Top : SHORT;
  901. Right : SHORT;
  902. Bottom : SHORT;
  903. end;
  904. _SMALL_RECT = SMALL_RECT;
  905. TSMALL_RECT = SMALL_RECT;
  906. PSMALL_RECT = ^SMALL_RECT;
  907. CONSOLE_SCREEN_BUFFER_INFO = packed record
  908. dwSize : COORD;
  909. dwCursorPosition : COORD;
  910. wAttributes : WORD;
  911. srWindow : SMALL_RECT;
  912. dwMaximumWindowSize : COORD;
  913. end;
  914. PCONSOLE_SCREEN_BUFFER_INFO = ^CONSOLE_SCREEN_BUFFER_INFO;
  915. _CONSOLE_SCREEN_BUFFER_INFO = CONSOLE_SCREEN_BUFFER_INFO;
  916. TCONSOLESCREENBUFFERINFO = CONSOLE_SCREEN_BUFFER_INFO;
  917. PCONSOLESCREENBUFFERINFO = ^CONSOLE_SCREEN_BUFFER_INFO;
  918. {$ifdef __i386__}
  919. type
  920. FLOATING_SAVE_AREA = record
  921. ControlWord : DWORD;
  922. StatusWord : DWORD;
  923. TagWord : DWORD;
  924. ErrorOffset : DWORD;
  925. ErrorSelector : DWORD;
  926. DataOffset : DWORD;
  927. DataSelector : DWORD;
  928. RegisterArea : array[0..79] of BYTE;
  929. Cr0NpxState : DWORD;
  930. end;
  931. _FLOATING_SAVE_AREA = FLOATING_SAVE_AREA;
  932. TFLOATINGSAVEAREA = FLOATING_SAVE_AREA;
  933. PFLOATINGSAVEAREA = ^FLOATING_SAVE_AREA;
  934. CONTEXT = record
  935. ContextFlags : DWORD;
  936. Dr0 : DWORD;
  937. Dr1 : DWORD;
  938. Dr2 : DWORD;
  939. Dr3 : DWORD;
  940. Dr6 : DWORD;
  941. Dr7 : DWORD;
  942. FloatSave : FLOATING_SAVE_AREA;
  943. SegGs : DWORD;
  944. SegFs : DWORD;
  945. SegEs : DWORD;
  946. SegDs : DWORD;
  947. Edi : DWORD;
  948. Esi : DWORD;
  949. Ebx : DWORD;
  950. Edx : DWORD;
  951. Ecx : DWORD;
  952. Eax : DWORD;
  953. Ebp : DWORD;
  954. Eip : DWORD;
  955. SegCs : DWORD;
  956. EFlags : DWORD;
  957. Esp : DWORD;
  958. SegSs : DWORD;
  959. end;
  960. LPCONTEXT = ^CONTEXT;
  961. _CONTEXT = CONTEXT;
  962. TCONTEXT = CONTEXT;
  963. PCONTEXT = ^CONTEXT;
  964. {$else}
  965. { __ppc__ }
  966. { Floating point registers returned when CONTEXT_FLOATING_POINT is set }
  967. { Integer registers returned when CONTEXT_INTEGER is set. }
  968. { Condition register }
  969. { Fixed point exception register }
  970. { The following are set when CONTEXT_CONTROL is set. }
  971. { Machine status register }
  972. { Instruction address register }
  973. { Link register }
  974. { Control register }
  975. { Control which context values are returned }
  976. { Registers returned if CONTEXT_DEBUG_REGISTERS is set. }
  977. { Breakpoint Register 1 }
  978. { Breakpoint Register 2 }
  979. { Breakpoint Register 3 }
  980. { Breakpoint Register 4 }
  981. { Breakpoint Register 5 }
  982. { Breakpoint Register 6 }
  983. { Debug Status Register }
  984. { Debug Control Register }
  985. type
  986. CONTEXT = record
  987. Fpr0 : double;
  988. Fpr1 : double;
  989. Fpr2 : double;
  990. Fpr3 : double;
  991. Fpr4 : double;
  992. Fpr5 : double;
  993. Fpr6 : double;
  994. Fpr7 : double;
  995. Fpr8 : double;
  996. Fpr9 : double;
  997. Fpr10 : double;
  998. Fpr11 : double;
  999. Fpr12 : double;
  1000. Fpr13 : double;
  1001. Fpr14 : double;
  1002. Fpr15 : double;
  1003. Fpr16 : double;
  1004. Fpr17 : double;
  1005. Fpr18 : double;
  1006. Fpr19 : double;
  1007. Fpr20 : double;
  1008. Fpr21 : double;
  1009. Fpr22 : double;
  1010. Fpr23 : double;
  1011. Fpr24 : double;
  1012. Fpr25 : double;
  1013. Fpr26 : double;
  1014. Fpr27 : double;
  1015. Fpr28 : double;
  1016. Fpr29 : double;
  1017. Fpr30 : double;
  1018. Fpr31 : double;
  1019. Fpscr : double;
  1020. Gpr0 : DWORD;
  1021. Gpr1 : DWORD;
  1022. Gpr2 : DWORD;
  1023. Gpr3 : DWORD;
  1024. Gpr4 : DWORD;
  1025. Gpr5 : DWORD;
  1026. Gpr6 : DWORD;
  1027. Gpr7 : DWORD;
  1028. Gpr8 : DWORD;
  1029. Gpr9 : DWORD;
  1030. Gpr10 : DWORD;
  1031. Gpr11 : DWORD;
  1032. Gpr12 : DWORD;
  1033. Gpr13 : DWORD;
  1034. Gpr14 : DWORD;
  1035. Gpr15 : DWORD;
  1036. Gpr16 : DWORD;
  1037. Gpr17 : DWORD;
  1038. Gpr18 : DWORD;
  1039. Gpr19 : DWORD;
  1040. Gpr20 : DWORD;
  1041. Gpr21 : DWORD;
  1042. Gpr22 : DWORD;
  1043. Gpr23 : DWORD;
  1044. Gpr24 : DWORD;
  1045. Gpr25 : DWORD;
  1046. Gpr26 : DWORD;
  1047. Gpr27 : DWORD;
  1048. Gpr28 : DWORD;
  1049. Gpr29 : DWORD;
  1050. Gpr30 : DWORD;
  1051. Gpr31 : DWORD;
  1052. Cr : DWORD;
  1053. Xer : DWORD;
  1054. Msr : DWORD;
  1055. Iar : DWORD;
  1056. Lr : DWORD;
  1057. Ctr : DWORD;
  1058. ContextFlags : DWORD;
  1059. Fill : array[0..2] of DWORD;
  1060. Dr0 : DWORD;
  1061. Dr1 : DWORD;
  1062. Dr2 : DWORD;
  1063. Dr3 : DWORD;
  1064. Dr4 : DWORD;
  1065. Dr5 : DWORD;
  1066. Dr6 : DWORD;
  1067. Dr7 : DWORD;
  1068. end;
  1069. LPCONTEXT = ^CONTEXT;
  1070. TCONTEXT = CONTEXT;
  1071. PCONTEXT = ^CONTEXT;
  1072. {$endif}
  1073. type
  1074. LIST_ENTRY = record
  1075. Flink : ^_LIST_ENTRY;
  1076. Blink : ^_LIST_ENTRY;
  1077. end;
  1078. _LIST_ENTRY = LIST_ENTRY;
  1079. TLISTENTRY = LIST_ENTRY;
  1080. PLISTENTRY = ^LIST_ENTRY;
  1081. CRITICAL_SECTION_DEBUG = record
  1082. _Type : WORD;
  1083. CreatorBackTraceIndex : WORD;
  1084. CriticalSection : ^_CRITICAL_SECTION;
  1085. ProcessLocksList : LIST_ENTRY;
  1086. EntryCount : DWORD;
  1087. ContentionCount : DWORD;
  1088. Depth : DWORD;
  1089. OwnerBackTrace : array[0..4] of PVOID;
  1090. end;
  1091. LPCRITICAL_SECTION_DEBUG = ^CRITICAL_SECTION_DEBUG;
  1092. PCRITICAL_SECTION_DEBUG = ^CRITICAL_SECTION_DEBUG;
  1093. _CRITICAL_SECTION_DEBUG = CRITICAL_SECTION_DEBUG;
  1094. TCRITICALSECTIONDEBUG = CRITICAL_SECTION_DEBUG;
  1095. PCRITICALSECTIONDEBUG = ^CRITICAL_SECTION_DEBUG;
  1096. CRITICAL_SECTION = record
  1097. DebugInfo : PCRITICAL_SECTION_DEBUG;
  1098. LockCount : LONG;
  1099. RecursionCount : LONG;
  1100. OwningThread : HANDLE;
  1101. LockSemaphore : HANDLE;
  1102. Reserved : DWORD;
  1103. end;
  1104. LPCRITICAL_SECTION = ^CRITICAL_SECTION;
  1105. PCRITICAL_SECTION = ^CRITICAL_SECTION;
  1106. _CRITICAL_SECTION = CRITICAL_SECTION;
  1107. TCRITICALSECTION = CRITICAL_SECTION;
  1108. PCRITICALSECTION = ^CRITICAL_SECTION;
  1109. { SECURITY_CONTEXT_TRACKING_MODE ContextTrackingMode; }
  1110. SECURITY_QUALITY_OF_SERVICE = record
  1111. Length : DWORD;
  1112. ImpersonationLevel : SECURITY_IMPERSONATION_LEVEL;
  1113. ContextTrackingMode : WINBOOL;
  1114. EffectiveOnly : BOOLEAN;
  1115. end;
  1116. PSECURITY_QUALITY_OF_SERVICE = ^SECURITY_QUALITY_OF_SERVICE;
  1117. _SECURITY_QUALITY_OF_SERVICE = SECURITY_QUALITY_OF_SERVICE;
  1118. TSECURITYQUALITYOFSERVICE = SECURITY_QUALITY_OF_SERVICE;
  1119. PSECURITYQUALITYOFSERVICE = ^SECURITY_QUALITY_OF_SERVICE;
  1120. CONVCONTEXT = record
  1121. cb : UINT;
  1122. wFlags : UINT;
  1123. wCountryID : UINT;
  1124. iCodePage : longint;
  1125. dwLangID : DWORD;
  1126. dwSecurity : DWORD;
  1127. qos : SECURITY_QUALITY_OF_SERVICE;
  1128. end;
  1129. tagCONVCONTEXT = CONVCONTEXT;
  1130. TCONVCONTEXT = CONVCONTEXT;
  1131. PCONVCONTEXT = ^CONVCONTEXT;
  1132. CONVINFO = record
  1133. cb : DWORD;
  1134. hUser : DWORD;
  1135. hConvPartner : HCONV;
  1136. hszSvcPartner : HSZ;
  1137. hszServiceReq : HSZ;
  1138. hszTopic : HSZ;
  1139. hszItem : HSZ;
  1140. wFmt : UINT;
  1141. wType : UINT;
  1142. wStatus : UINT;
  1143. wConvst : UINT;
  1144. wLastError : UINT;
  1145. hConvList : HCONVLIST;
  1146. ConvCtxt : CONVCONTEXT;
  1147. _hwnd : HWND;
  1148. hwndPartner : HWND;
  1149. end;
  1150. tagCONVINFO = CONVINFO;
  1151. TCONVINFO = CONVINFO;
  1152. PCONVINFO = ^CONVINFO;
  1153. COPYDATASTRUCT = record
  1154. dwData : DWORD;
  1155. cbData : DWORD;
  1156. lpData : PVOID;
  1157. end;
  1158. tagCOPYDATASTRUCT = COPYDATASTRUCT;
  1159. TCOPYDATASTRUCT = COPYDATASTRUCT;
  1160. PCOPYDATASTRUCT = ^COPYDATASTRUCT;
  1161. CPINFO = record
  1162. MaxCharSize : UINT;
  1163. DefaultChar : array[0..(MAX_DEFAULTCHAR)-1] of BYTE;
  1164. LeadByte : array[0..(MAX_LEADBYTES)-1] of BYTE;
  1165. end;
  1166. LPCPINFO = ^CPINFO;
  1167. _cpinfo = CPINFO;
  1168. Tcpinfo = CPINFO;
  1169. Pcpinfo = ^CPINFO;
  1170. CPLINFO = record
  1171. idIcon : longint;
  1172. idName : longint;
  1173. idInfo : longint;
  1174. lData : LONG;
  1175. end;
  1176. tagCPLINFO = CPLINFO;
  1177. TCPLINFO = CPLINFO;
  1178. PCPLINFO = ^CPLINFO;
  1179. CREATE_PROCESS_DEBUG_INFO = record
  1180. hFile : HANDLE;
  1181. hProcess : HANDLE;
  1182. hThread : HANDLE;
  1183. lpBaseOfImage : LPVOID;
  1184. dwDebugInfoFileOffset : DWORD;
  1185. nDebugInfoSize : DWORD;
  1186. lpThreadLocalBase : LPVOID;
  1187. lpStartAddress : LPTHREAD_START_ROUTINE;
  1188. lpImageName : LPVOID;
  1189. fUnicode : WORD;
  1190. end;
  1191. _CREATE_PROCESS_DEBUG_INFO = CREATE_PROCESS_DEBUG_INFO;
  1192. TCREATEPROCESSDEBUGINFO = CREATE_PROCESS_DEBUG_INFO;
  1193. PCREATEPROCESSDEBUGINFO = ^CREATE_PROCESS_DEBUG_INFO;
  1194. CREATE_THREAD_DEBUG_INFO = record
  1195. hThread : HANDLE;
  1196. lpThreadLocalBase : LPVOID;
  1197. lpStartAddress : LPTHREAD_START_ROUTINE;
  1198. end;
  1199. _CREATE_THREAD_DEBUG_INFO = CREATE_THREAD_DEBUG_INFO;
  1200. TCREATETHREADDEBUGINFO = CREATE_THREAD_DEBUG_INFO;
  1201. PCREATETHREADDEBUGINFO = ^CREATE_THREAD_DEBUG_INFO;
  1202. (*
  1203. TODO: sockets
  1204. typedef struct _SOCKET_ADDRESS {
  1205. LPSOCKADDR lpSockaddr ;
  1206. INT iSockaddrLength ;
  1207. } SOCKET_ADDRESS, PSOCKET_ADDRESS, LPSOCKET_ADDRESS;
  1208. }
  1209. {
  1210. typedef struct _CSADDR_INFO {
  1211. SOCKET_ADDRESS LocalAddr;
  1212. SOCKET_ADDRESS RemoteAddr;
  1213. INT iSocketType;
  1214. INT iProtocol;
  1215. } CSADDR_INFO;
  1216. *)
  1217. CURRENCYFMT = record
  1218. NumDigits : UINT;
  1219. LeadingZero : UINT;
  1220. Grouping : UINT;
  1221. lpDecimalSep : LPTSTR;
  1222. lpThousandSep : LPTSTR;
  1223. NegativeOrder : UINT;
  1224. PositiveOrder : UINT;
  1225. lpCurrencySymbol : LPTSTR;
  1226. end;
  1227. _currencyfmt = CURRENCYFMT;
  1228. Tcurrencyfmt = CURRENCYFMT;
  1229. Pcurrencyfmt = ^CURRENCYFMT;
  1230. CURSORSHAPE = record
  1231. xHotSpot : longint;
  1232. yHotSpot : longint;
  1233. cx : longint;
  1234. cy : longint;
  1235. cbWidth : longint;
  1236. Planes : BYTE;
  1237. BitsPixel : BYTE;
  1238. end;
  1239. LPCURSORSHAPE = ^CURSORSHAPE;
  1240. tagCURSORSHAPE = CURSORSHAPE;
  1241. TCURSORSHAPE = CURSORSHAPE;
  1242. PCURSORSHAPE = ^CURSORSHAPE;
  1243. CWPRETSTRUCT = record
  1244. lResult : LRESULT;
  1245. lParam : LPARAM;
  1246. wParam : WPARAM;
  1247. message : DWORD;
  1248. hwnd : HWND;
  1249. end;
  1250. tagCWPRETSTRUCT = CWPRETSTRUCT;
  1251. TCWPRETSTRUCT = CWPRETSTRUCT;
  1252. PCWPRETSTRUCT = ^CWPRETSTRUCT;
  1253. CWPSTRUCT = record
  1254. lParam : LPARAM;
  1255. wParam : WPARAM;
  1256. message : UINT;
  1257. hwnd : HWND;
  1258. end;
  1259. tagCWPSTRUCT = CWPSTRUCT;
  1260. TCWPSTRUCT = CWPSTRUCT;
  1261. PCWPSTRUCT = ^CWPSTRUCT;
  1262. DATATYPES_INFO_1 = record
  1263. pName : LPTSTR;
  1264. end;
  1265. _DATATYPES_INFO_1 = DATATYPES_INFO_1;
  1266. TDATATYPESINFO1 = DATATYPES_INFO_1;
  1267. PDATATYPESINFO1 = ^DATATYPES_INFO_1;
  1268. DDEACK = record
  1269. flag0 : word;
  1270. end;
  1271. TDDEACK = DDEACK;
  1272. PDDEACK = ^DDEACK;
  1273. const
  1274. bm_DDEACK_bAppReturnCode = $FF;
  1275. bp_DDEACK_bAppReturnCode = 0;
  1276. bm_DDEACK_reserved = $3F00;
  1277. bp_DDEACK_reserved = 8;
  1278. bm_DDEACK_fBusy = $4000;
  1279. bp_DDEACK_fBusy = 14;
  1280. bm_DDEACK_fAck = $8000;
  1281. bp_DDEACK_fAck = 15;
  1282. function bAppReturnCode(var a : DDEACK) : word;
  1283. procedure set_bAppReturnCode(var a : DDEACK; __bAppReturnCode : word);
  1284. function reserved(var a : DDEACK) : word;
  1285. procedure set_reserved(var a : DDEACK; __reserved : word);
  1286. function fBusy(var a : DDEACK) : word;
  1287. procedure set_fBusy(var a : DDEACK; __fBusy : word);
  1288. function fAck(var a : DDEACK) : word;
  1289. procedure set_fAck(var a : DDEACK; __fAck : word);
  1290. type
  1291. DDEADVISE = record
  1292. flag0 : word;
  1293. cfFormat : integer;
  1294. end;
  1295. TDDEADVISE = DDEADVISE;
  1296. PDDEADVISE = ^DDEADVISE;
  1297. const
  1298. bm_DDEADVISE_reserved = $3FFF;
  1299. bp_DDEADVISE_reserved = 0;
  1300. bm_DDEADVISE_fDeferUpd = $4000;
  1301. bp_DDEADVISE_fDeferUpd = 14;
  1302. bm_DDEADVISE_fAckReq = $8000;
  1303. bp_DDEADVISE_fAckReq = 15;
  1304. function reserved(var a : DDEADVISE) : word;
  1305. procedure set_reserved(var a : DDEADVISE; __reserved : word);
  1306. function fDeferUpd(var a : DDEADVISE) : word;
  1307. procedure set_fDeferUpd(var a : DDEADVISE; __fDeferUpd : word);
  1308. function fAckReq(var a : DDEADVISE) : word;
  1309. procedure set_fAckReq(var a : DDEADVISE; __fAckReq : word);
  1310. type
  1311. DDEDATA = record
  1312. flag0 : word;
  1313. cfFormat : integer;
  1314. Value : array[0..0] of BYTE;
  1315. end;
  1316. PDDEDATA = ^DDEDATA;
  1317. const
  1318. bm_DDEDATA_unused = $FFF;
  1319. bp_DDEDATA_unused = 0;
  1320. bm_DDEDATA_fResponse = $1000;
  1321. bp_DDEDATA_fResponse = 12;
  1322. bm_DDEDATA_fRelease = $2000;
  1323. bp_DDEDATA_fRelease = 13;
  1324. bm_DDEDATA_reserved = $4000;
  1325. bp_DDEDATA_reserved = 14;
  1326. bm_DDEDATA_fAckReq = $8000;
  1327. bp_DDEDATA_fAckReq = 15;
  1328. function unused(var a : DDEDATA) : word;
  1329. procedure set_unused(var a : DDEDATA; __unused : word);
  1330. function fResponse(var a : DDEDATA) : word;
  1331. procedure set_fResponse(var a : DDEDATA; __fResponse : word);
  1332. function fRelease(var a : DDEDATA) : word;
  1333. procedure set_fRelease(var a : DDEDATA; __fRelease : word);
  1334. function reserved(var a : DDEDATA) : word;
  1335. procedure set_reserved(var a : DDEDATA; __reserved : word);
  1336. function fAckReq(var a : DDEDATA) : word;
  1337. procedure set_fAckReq(var a : DDEDATA; __fAckReq : word);
  1338. type
  1339. DDELN = record
  1340. flag0 : word;
  1341. cfFormat : integer;
  1342. end;
  1343. TDDELN = DDELN;
  1344. PDDELN = ^DDELN;
  1345. const
  1346. bm_DDELN_unused = $1FFF;
  1347. bp_DDELN_unused = 0;
  1348. bm_DDELN_fRelease = $2000;
  1349. bp_DDELN_fRelease = 13;
  1350. bm_DDELN_fDeferUpd = $4000;
  1351. bp_DDELN_fDeferUpd = 14;
  1352. bm_DDELN_fAckReq = $8000;
  1353. bp_DDELN_fAckReq = 15;
  1354. function unused(var a : DDELN) : word;
  1355. procedure set_unused(var a : DDELN; __unused : word);
  1356. function fRelease(var a : DDELN) : word;
  1357. procedure set_fRelease(var a : DDELN; __fRelease : word);
  1358. function fDeferUpd(var a : DDELN) : word;
  1359. procedure set_fDeferUpd(var a : DDELN; __fDeferUpd : word);
  1360. function fAckReq(var a : DDELN) : word;
  1361. procedure set_fAckReq(var a : DDELN; __fAckReq : word);
  1362. type
  1363. DDEML_MSG_HOOK_DATA = record
  1364. uiLo : UINT;
  1365. uiHi : UINT;
  1366. cbData : DWORD;
  1367. Data : array[0..7] of DWORD;
  1368. end;
  1369. tagDDEML_MSG_HOOK_DATA = DDEML_MSG_HOOK_DATA;
  1370. TDDEMLMSGHOOKDATA = DDEML_MSG_HOOK_DATA;
  1371. PDDEMLMSGHOOKDATA = ^DDEML_MSG_HOOK_DATA;
  1372. DDEPOKE = record
  1373. flag0 : word;
  1374. cfFormat : integer;
  1375. Value : array[0..0] of BYTE;
  1376. end;
  1377. TDDEPOKE = DDEPOKE;
  1378. PDDEPOKE = ^DDEPOKE;
  1379. const
  1380. bm_DDEPOKE_unused = $1FFF;
  1381. bp_DDEPOKE_unused = 0;
  1382. bm_DDEPOKE_fRelease = $2000;
  1383. bp_DDEPOKE_fRelease = 13;
  1384. bm_DDEPOKE_fReserved = $C000;
  1385. bp_DDEPOKE_fReserved = 14;
  1386. function unused(var a : DDEPOKE) : word;
  1387. procedure set_unused(var a : DDEPOKE; __unused : word);
  1388. function fRelease(var a : DDEPOKE) : word;
  1389. procedure set_fRelease(var a : DDEPOKE; __fRelease : word);
  1390. function fReserved(var a : DDEPOKE) : word;
  1391. procedure set_fReserved(var a : DDEPOKE; __fReserved : word);
  1392. type
  1393. DDEUP = record
  1394. flag0 : word;
  1395. cfFormat : integer;
  1396. rgb : array[0..0] of BYTE;
  1397. end;
  1398. TDDEUP = DDEUP;
  1399. PDDEUP = ^DDEUP;
  1400. const
  1401. bm_DDEUP_unused = $FFF;
  1402. bp_DDEUP_unused = 0;
  1403. bm_DDEUP_fAck = $1000;
  1404. bp_DDEUP_fAck = 12;
  1405. bm_DDEUP_fRelease = $2000;
  1406. bp_DDEUP_fRelease = 13;
  1407. bm_DDEUP_fReserved = $4000;
  1408. bp_DDEUP_fReserved = 14;
  1409. bm_DDEUP_fAckReq = $8000;
  1410. bp_DDEUP_fAckReq = 15;
  1411. function unused(var a : DDEUP) : word;
  1412. procedure set_unused(var a : DDEUP; __unused : word);
  1413. function fAck(var a : DDEUP) : word;
  1414. procedure set_fAck(var a : DDEUP; __fAck : word);
  1415. function fRelease(var a : DDEUP) : word;
  1416. procedure set_fRelease(var a : DDEUP; __fRelease : word);
  1417. function fReserved(var a : DDEUP) : word;
  1418. procedure set_fReserved(var a : DDEUP; __fReserved : word);
  1419. function fAckReq(var a : DDEUP) : word;
  1420. procedure set_fAckReq(var a : DDEUP; __fAckReq : word);
  1421. type
  1422. EXCEPTION_RECORD = record
  1423. ExceptionCode : DWORD;
  1424. ExceptionFlags : DWORD;
  1425. ExceptionRecord : ^_EXCEPTION_RECORD;
  1426. ExceptionAddress : PVOID;
  1427. NumberParameters : DWORD;
  1428. ExceptionInformation : array[0..(EXCEPTION_MAXIMUM_PARAMETERS)-1] of DWORD;
  1429. end;
  1430. PEXCEPTION_RECORD = ^EXCEPTION_RECORD;
  1431. _EXCEPTION_RECORD = EXCEPTION_RECORD;
  1432. TEXCEPTIONRECORD = EXCEPTION_RECORD;
  1433. PEXCEPTIONRECORD = ^EXCEPTION_RECORD;
  1434. EXCEPTION_DEBUG_INFO = record
  1435. ExceptionRecord : EXCEPTION_RECORD;
  1436. dwFirstChance : DWORD;
  1437. end;
  1438. PEXCEPTION_DEBUG_INFO = ^EXCEPTION_DEBUG_INFO;
  1439. _EXCEPTION_DEBUG_INFO = EXCEPTION_DEBUG_INFO;
  1440. TEXCEPTIONDEBUGINFO = EXCEPTION_DEBUG_INFO;
  1441. PEXCEPTIONDEBUGINFO = ^EXCEPTION_DEBUG_INFO;
  1442. EXIT_PROCESS_DEBUG_INFO = record
  1443. dwExitCode : DWORD;
  1444. end;
  1445. _EXIT_PROCESS_DEBUG_INFO = EXIT_PROCESS_DEBUG_INFO;
  1446. TEXITPROCESSDEBUGINFO = EXIT_PROCESS_DEBUG_INFO;
  1447. PEXITPROCESSDEBUGINFO = ^EXIT_PROCESS_DEBUG_INFO;
  1448. EXIT_THREAD_DEBUG_INFO = record
  1449. dwExitCode : DWORD;
  1450. end;
  1451. _EXIT_THREAD_DEBUG_INFO = EXIT_THREAD_DEBUG_INFO;
  1452. TEXITTHREADDEBUGINFO = EXIT_THREAD_DEBUG_INFO;
  1453. PEXITTHREADDEBUGINFO = ^EXIT_THREAD_DEBUG_INFO;
  1454. LOAD_DLL_DEBUG_INFO = record
  1455. hFile : HANDLE;
  1456. lpBaseOfDll : LPVOID;
  1457. dwDebugInfoFileOffset : DWORD;
  1458. nDebugInfoSize : DWORD;
  1459. lpImageName : LPVOID;
  1460. fUnicode : WORD;
  1461. end;
  1462. _LOAD_DLL_DEBUG_INFO = LOAD_DLL_DEBUG_INFO;
  1463. TLOADDLLDEBUGINFO = LOAD_DLL_DEBUG_INFO;
  1464. PLOADDLLDEBUGINFO = ^LOAD_DLL_DEBUG_INFO;
  1465. UNLOAD_DLL_DEBUG_INFO = record
  1466. lpBaseOfDll : LPVOID;
  1467. end;
  1468. _UNLOAD_DLL_DEBUG_INFO = UNLOAD_DLL_DEBUG_INFO;
  1469. TUNLOADDLLDEBUGINFO = UNLOAD_DLL_DEBUG_INFO;
  1470. PUNLOADDLLDEBUGINFO = ^UNLOAD_DLL_DEBUG_INFO;
  1471. OUTPUT_DEBUG_STRING_INFO = record
  1472. lpDebugStringData : LPSTR;
  1473. fUnicode : WORD;
  1474. nDebugStringLength : WORD;
  1475. end;
  1476. _OUTPUT_DEBUG_STRING_INFO = OUTPUT_DEBUG_STRING_INFO;
  1477. TOUTPUTDEBUGSTRINGINFO = OUTPUT_DEBUG_STRING_INFO;
  1478. POUTPUTDEBUGSTRINGINFO = ^OUTPUT_DEBUG_STRING_INFO;
  1479. RIP_INFO = record
  1480. dwError : DWORD;
  1481. dwType : DWORD;
  1482. end;
  1483. _RIP_INFO = RIP_INFO;
  1484. TRIPINFO = RIP_INFO;
  1485. PRIPINFO = ^RIP_INFO;
  1486. DEBUG_EVENT = record
  1487. dwDebugEventCode : DWORD;
  1488. dwProcessId : DWORD;
  1489. dwThreadId : DWORD;
  1490. u : record
  1491. case longint of
  1492. 0 : ( Exception : EXCEPTION_DEBUG_INFO );
  1493. 1 : ( CreateThread : CREATE_THREAD_DEBUG_INFO );
  1494. 2 : ( CreateProcessInfo : CREATE_PROCESS_DEBUG_INFO );
  1495. 3 : ( ExitThread : EXIT_THREAD_DEBUG_INFO );
  1496. 4 : ( ExitProcess : EXIT_PROCESS_DEBUG_INFO );
  1497. 5 : ( LoadDll : LOAD_DLL_DEBUG_INFO );
  1498. 6 : ( UnloadDll : UNLOAD_DLL_DEBUG_INFO );
  1499. 7 : ( DebugString : OUTPUT_DEBUG_STRING_INFO );
  1500. 8 : ( RipInfo : RIP_INFO );
  1501. end;
  1502. end;
  1503. LPDEBUG_EVENT = ^DEBUG_EVENT;
  1504. _DEBUG_EVENT = DEBUG_EVENT;
  1505. TDEBUGEVENT = DEBUG_EVENT;
  1506. PDEBUGEVENT = ^DEBUG_EVENT;
  1507. DEBUGHOOKINFO = record
  1508. idThread : DWORD;
  1509. idThreadInstaller : DWORD;
  1510. lParam : LPARAM;
  1511. wParam : WPARAM;
  1512. code : longint;
  1513. end;
  1514. tagDEBUGHOOKINFO = DEBUGHOOKINFO;
  1515. TDEBUGHOOKINFO = DEBUGHOOKINFO;
  1516. PDEBUGHOOKINFO = ^DEBUGHOOKINFO;
  1517. DELETEITEMSTRUCT = record
  1518. CtlType : UINT;
  1519. CtlID : UINT;
  1520. itemID : UINT;
  1521. hwndItem : HWND;
  1522. itemData : UINT;
  1523. end;
  1524. tagDELETEITEMSTRUCT = DELETEITEMSTRUCT;
  1525. TDELETEITEMSTRUCT = DELETEITEMSTRUCT;
  1526. PDELETEITEMSTRUCT = ^DELETEITEMSTRUCT;
  1527. DEV_BROADCAST_HDR = record
  1528. dbch_size : ULONG;
  1529. dbch_devicetype : ULONG;
  1530. dbch_reserved : ULONG;
  1531. end;
  1532. PDEV_BROADCAST_HDR = ^DEV_BROADCAST_HDR;
  1533. _DEV_BROADCAST_HDR = DEV_BROADCAST_HDR;
  1534. TDEVBROADCASTHDR = DEV_BROADCAST_HDR;
  1535. PDEVBROADCASTHDR = ^DEV_BROADCAST_HDR;
  1536. DEV_BROADCAST_OEM = record
  1537. dbco_size : ULONG;
  1538. dbco_devicetype : ULONG;
  1539. dbco_reserved : ULONG;
  1540. dbco_identifier : ULONG;
  1541. dbco_suppfunc : ULONG;
  1542. end;
  1543. PDEV_BROADCAST_OEM = ^DEV_BROADCAST_OEM;
  1544. _DEV_BROADCAST_OEM = DEV_BROADCAST_OEM;
  1545. TDEVBROADCASTOEM = DEV_BROADCAST_OEM;
  1546. PDEVBROADCASTOEM = ^DEV_BROADCAST_OEM;
  1547. DEV_BROADCAST_PORT = record
  1548. dbcp_size : ULONG;
  1549. dbcp_devicetype : ULONG;
  1550. dbcp_reserved : ULONG;
  1551. dbcp_name : array[0..0] of char;
  1552. end;
  1553. PDEV_BROADCAST_PORT = ^DEV_BROADCAST_PORT;
  1554. _DEV_BROADCAST_PORT = DEV_BROADCAST_PORT;
  1555. TDEVBROADCASTPORT = DEV_BROADCAST_PORT;
  1556. PDEVBROADCASTPORT = ^DEV_BROADCAST_PORT;
  1557. _DEV_BROADCAST_USERDEFINED = record
  1558. dbud_dbh : _DEV_BROADCAST_HDR;
  1559. dbud_szName : array[0..0] of char;
  1560. dbud_rgbUserDefined : array[0..0] of BYTE;
  1561. end;
  1562. TDEVBROADCASTUSERDEFINED = _DEV_BROADCAST_USERDEFINED;
  1563. PDEVBROADCASTUSERDEFINED = ^_DEV_BROADCAST_USERDEFINED;
  1564. DEV_BROADCAST_VOLUME = record
  1565. dbcv_size : ULONG;
  1566. dbcv_devicetype : ULONG;
  1567. dbcv_reserved : ULONG;
  1568. dbcv_unitmask : ULONG;
  1569. dbcv_flags : USHORT;
  1570. end;
  1571. PDEV_BROADCAST_VOLUME = ^DEV_BROADCAST_VOLUME;
  1572. _DEV_BROADCAST_VOLUME = DEV_BROADCAST_VOLUME;
  1573. TDEVBROADCASTVOLUME = DEV_BROADCAST_VOLUME;
  1574. PDEVBROADCASTVOLUME = ^DEV_BROADCAST_VOLUME;
  1575. DEVMODE = record
  1576. dmDeviceName : array[0..(CCHDEVICENAME)-1] of BCHAR;
  1577. dmSpecVersion : WORD;
  1578. dmDriverVersion : WORD;
  1579. dmSize : WORD;
  1580. dmDriverExtra : WORD;
  1581. dmFields : DWORD;
  1582. case byte of
  1583. 1: (dmOrientation : SmallInt;
  1584. dmPaperSize : SmallInt;
  1585. dmPaperLength : SmallInt;
  1586. dmPaperWidth : SmallInt;
  1587. dmScale : SmallInt;
  1588. dmCopies : SmallInt;
  1589. dmDefaultSource : SmallInt;
  1590. dmPrintQuality : SmallInt;
  1591. dmColor : SmallInt;
  1592. dmDuplex : SmallInt;
  1593. dmYResolution : SmallInt;
  1594. dmTTOption : SmallInt;
  1595. dmCollate : SmallInt;
  1596. dmFormName : array[0..(CCHFORMNAME)-1] of BCHAR;
  1597. dmLogPixels : WORD;
  1598. dmBitsPerPel : DWORD;
  1599. dmPelsWidth : DWORD;
  1600. dmPelsHeight : DWORD;
  1601. dmDisplayFlags : DWORD;
  1602. dmDisplayFrequency : DWORD;
  1603. dmICMMethod : DWORD;
  1604. dmICMIntent : DWORD;
  1605. dmMediaType : DWORD;
  1606. dmDitherType : DWORD;
  1607. dmICCManufacturer : DWORD;
  1608. dmICCModel : DWORD
  1609. );
  1610. 2: (dmPosition: POINTL;
  1611. dmDisplayOrientation: DWORD;
  1612. dmDisplayFixedOutput: DWORD;
  1613. );
  1614. end;
  1615. LPDEVMODE = ^DEVMODE;
  1616. _devicemode = DEVMODE;
  1617. devicemode = DEVMODE;
  1618. tdevicemode = DEVMODE;
  1619. tdevicemodeA = DEVMODE;
  1620. TDEVMODE = DEVMODE;
  1621. PDEVMODE = ^DEVMODE;
  1622. devmodeW = record
  1623. dmDeviceName : array[0.. CCHDEVICENAME-1] of WCHAR;
  1624. dmSpecVersion : WORD;
  1625. dmDriverVersion: WORD;
  1626. dmSize : WORD;
  1627. dmDriverExtra : WORD;
  1628. dmFields : DWORD;
  1629. dmOrientation : short;
  1630. dmPaperSize : short;
  1631. dmPaperLength : short;
  1632. dmPaperWidth : short;
  1633. dmScale : short;
  1634. dmCopies : short;
  1635. dmDefaultSource: short;
  1636. dmPrintQuality : short;
  1637. dmColor : short;
  1638. dmDuplex : short;
  1639. dmYResolution : short;
  1640. dmTTOption : short;
  1641. dmCollate : short;
  1642. dmFormName : array [0..CCHFORMNAME-1] of wchar;
  1643. dmLogPixels : WORD;
  1644. dmBitsPerPel : DWORD;
  1645. dmPelsWidth : DWORD;
  1646. dmPelsHeight : DWORD;
  1647. dmDisplayFlags : DWORD;
  1648. dmDisplayFrequency : DWORD;
  1649. dmICMMethod : DWORD;
  1650. dmICMIntent : DWORD;
  1651. dmMediaType : DWORD;
  1652. dmDitherType : DWORD;
  1653. dmReserved1 : DWORD;
  1654. dmReserved2 : DWORD;
  1655. dmPanningWidth : DWORD;
  1656. dmPanningHeight: DWORD;
  1657. end;
  1658. LPDEVMODEW = ^DEVMODEW;
  1659. _devicemodeW = DEVMODEW;
  1660. devicemodeW = DEVMODEW;
  1661. tdevicemodeW = DEVMODEW;
  1662. TDEVMODEW = DEVMODEW;
  1663. PDEVMODEW = ^DEVMODEW;
  1664. DEVNAMES = record
  1665. wDriverOffset : WORD;
  1666. wDeviceOffset : WORD;
  1667. wOutputOffset : WORD;
  1668. wDefault : WORD;
  1669. end;
  1670. LPDEVNAMES = ^DEVNAMES;
  1671. tagDEVNAMES = DEVNAMES;
  1672. TDEVNAMES = DEVNAMES;
  1673. PDEVNAMES = ^DEVNAMES;
  1674. DIBSECTION = record
  1675. dsBm : BITMAP;
  1676. dsBmih : BITMAPINFOHEADER;
  1677. dsBitfields : array[0..2] of DWORD;
  1678. dshSection : HANDLE;
  1679. dsOffset : DWORD;
  1680. end;
  1681. tagDIBSECTION = DIBSECTION;
  1682. TDIBSECTION = DIBSECTION;
  1683. PDIBSECTION = ^DIBSECTION;
  1684. LARGE_INTEGER = record
  1685. case byte of
  1686. 0: (LowPart : DWORD;
  1687. HighPart : LONG);
  1688. 1: (QuadPart : LONGLONG);
  1689. end;
  1690. PLARGE_INTEGER = ^LARGE_INTEGER;
  1691. _LARGE_INTEGER = LARGE_INTEGER;
  1692. TLargeInteger = Int64;
  1693. PLargeInteger = ^TLargeInteger;
  1694. ULARGE_INTEGER = record
  1695. case byte of
  1696. 0: (LowPart : DWORD;
  1697. HighPart : DWORD);
  1698. 1: (QuadPart : LONGLONG);
  1699. end;
  1700. PULARGE_INTEGER = ^ULARGE_INTEGER;
  1701. _ULARGE_INTEGER = ULARGE_INTEGER;
  1702. TULargeInteger = QWord;
  1703. PULargeInteger = ^TULargeInteger;
  1704. DISK_GEOMETRY = record
  1705. Cylinders : LARGE_INTEGER;
  1706. MediaType : MEDIA_TYPE;
  1707. TracksPerCylinder : DWORD;
  1708. SectorsPerTrack : DWORD;
  1709. BytesPerSector : DWORD;
  1710. end;
  1711. _DISK_GEOMETRY = DISK_GEOMETRY;
  1712. TDISKGEOMETRY = DISK_GEOMETRY;
  1713. PDISKGEOMETRY = ^DISK_GEOMETRY;
  1714. DISK_PERFORMANCE = record
  1715. BytesRead : LARGE_INTEGER;
  1716. BytesWritten : LARGE_INTEGER;
  1717. ReadTime : LARGE_INTEGER;
  1718. WriteTime : LARGE_INTEGER;
  1719. ReadCount : DWORD;
  1720. WriteCount : DWORD;
  1721. QueueDepth : DWORD;
  1722. end;
  1723. _DISK_PERFORMANCE = DISK_PERFORMANCE;
  1724. TDISKPERFORMANCE = DISK_PERFORMANCE;
  1725. PDISKPERFORMANCE = ^DISK_PERFORMANCE;
  1726. DLGITEMTEMPLATE = packed record
  1727. style : DWORD;
  1728. dwExtendedStyle : DWORD;
  1729. x : integer;
  1730. y : integer;
  1731. cx : integer;
  1732. cy : integer;
  1733. id : WORD;
  1734. end;
  1735. LPDLGITEMTEMPLATE = ^DLGITEMTEMPLATE;
  1736. TDLGITEMTEMPLATE = DLGITEMTEMPLATE;
  1737. PDLGITEMTEMPLATE = ^DLGITEMTEMPLATE;
  1738. DLGTEMPLATE = packed record
  1739. style : DWORD;
  1740. dwExtendedStyle : DWORD;
  1741. cdit : WORD;
  1742. x : integer;
  1743. y : integer;
  1744. cx : integer;
  1745. cy : integer;
  1746. end;
  1747. LPDLGTEMPLATE = ^DLGTEMPLATE;
  1748. LPCDLGTEMPLATE = ^DLGTEMPLATE;
  1749. TDLGTEMPLATE = DLGTEMPLATE;
  1750. PDLGTEMPLATE = ^DLGTEMPLATE;
  1751. DOC_INFO_1 = record
  1752. pDocName : LPTSTR;
  1753. pOutputFile : LPTSTR;
  1754. pDatatype : LPTSTR;
  1755. end;
  1756. _DOC_INFO_1 = DOC_INFO_1;
  1757. TDOCINFO1 = DOC_INFO_1;
  1758. PDOCINFO1 = ^DOC_INFO_1;
  1759. DOC_INFO_2 = record
  1760. pDocName : LPTSTR;
  1761. pOutputFile : LPTSTR;
  1762. pDatatype : LPTSTR;
  1763. dwMode : DWORD;
  1764. JobId : DWORD;
  1765. end;
  1766. _DOC_INFO_2 = DOC_INFO_2;
  1767. TDOCINFO2 = DOC_INFO_2;
  1768. PDOCINFO2 = ^DOC_INFO_2;
  1769. DOCINFO = record
  1770. cbSize : longint;
  1771. lpszDocName : LPCTSTR;
  1772. lpszOutput : LPCTSTR;
  1773. lpszDatatype : LPCTSTR;
  1774. fwType : DWORD;
  1775. end;
  1776. TDOCINFO = DOCINFO;
  1777. TDOCINFOA = DOCINFO;
  1778. PDOCINFO = ^DOCINFO;
  1779. DRAGLISTINFO = record
  1780. uNotification : UINT;
  1781. hWnd : HWND;
  1782. ptCursor : POINT;
  1783. end;
  1784. LPDRAGLISTINFO = ^DRAGLISTINFO;
  1785. TDRAGLISTINFO = DRAGLISTINFO;
  1786. PDRAGLISTINFO = ^DRAGLISTINFO;
  1787. DRAWITEMSTRUCT = record
  1788. CtlType : UINT;
  1789. CtlID : UINT;
  1790. itemID : UINT;
  1791. itemAction : UINT;
  1792. itemState : UINT;
  1793. hwndItem : HWND;
  1794. hDC : HDC;
  1795. rcItem : RECT;
  1796. itemData : DWORD;
  1797. end;
  1798. LPDRAWITEMSTRUCT = ^DRAWITEMSTRUCT;
  1799. tagDRAWITEMSTRUCT = DRAWITEMSTRUCT;
  1800. TDRAWITEMSTRUCT = DRAWITEMSTRUCT;
  1801. PDRAWITEMSTRUCT = ^DRAWITEMSTRUCT;
  1802. DRAWTEXTPARAMS = record
  1803. cbSize : UINT;
  1804. iTabLength : longint;
  1805. iLeftMargin : longint;
  1806. iRightMargin : longint;
  1807. uiLengthDrawn : UINT;
  1808. end;
  1809. LPDRAWTEXTPARAMS = ^DRAWTEXTPARAMS;
  1810. TDRAWTEXTPARAMS = DRAWTEXTPARAMS;
  1811. PDRAWTEXTPARAMS = ^DRAWTEXTPARAMS;
  1812. PARTITION_INFORMATION = record
  1813. PartitionType : BYTE;
  1814. BootIndicator : BOOLEAN;
  1815. RecognizedPartition : BOOLEAN;
  1816. RewritePartition : BOOLEAN;
  1817. StartingOffset : LARGE_INTEGER;
  1818. PartitionLength : LARGE_INTEGER;
  1819. HiddenSectors : LARGE_INTEGER;
  1820. end;
  1821. _PARTITION_INFORMATION = PARTITION_INFORMATION;
  1822. TPARTITIONINFORMATION = PARTITION_INFORMATION;
  1823. PPARTITIONINFORMATION = ^PARTITION_INFORMATION;
  1824. DRIVE_LAYOUT_INFORMATION = record
  1825. PartitionCount : DWORD;
  1826. Signature : DWORD;
  1827. PartitionEntry : array[0..0] of PARTITION_INFORMATION;
  1828. end;
  1829. _DRIVE_LAYOUT_INFORMATION = DRIVE_LAYOUT_INFORMATION;
  1830. TDRIVELAYOUTINFORMATION = DRIVE_LAYOUT_INFORMATION;
  1831. PDRIVELAYOUTINFORMATION = ^DRIVE_LAYOUT_INFORMATION;
  1832. DRIVER_INFO_1 = record
  1833. pName : LPTSTR;
  1834. end;
  1835. _DRIVER_INFO_1 = DRIVER_INFO_1;
  1836. TDRIVERINFO1 = DRIVER_INFO_1;
  1837. PDRIVERINFO1 = ^DRIVER_INFO_1;
  1838. DRIVER_INFO_2 = record
  1839. cVersion : DWORD;
  1840. pName : LPTSTR;
  1841. pEnvironment : LPTSTR;
  1842. pDriverPath : LPTSTR;
  1843. pDataFile : LPTSTR;
  1844. pConfigFile : LPTSTR;
  1845. end;
  1846. _DRIVER_INFO_2 = DRIVER_INFO_2;
  1847. TDRIVERINFO2 = DRIVER_INFO_2;
  1848. PDRIVERINFO2 = ^DRIVER_INFO_2;
  1849. DRIVER_INFO_3 = record
  1850. cVersion : DWORD;
  1851. pName : LPTSTR;
  1852. pEnvironment : LPTSTR;
  1853. pDriverPath : LPTSTR;
  1854. pDataFile : LPTSTR;
  1855. pConfigFile : LPTSTR;
  1856. pHelpFile : LPTSTR;
  1857. pDependentFiles : LPTSTR;
  1858. pMonitorName : LPTSTR;
  1859. pDefaultDataType : LPTSTR;
  1860. end;
  1861. _DRIVER_INFO_3 = DRIVER_INFO_3;
  1862. TDRIVERINFO3 = DRIVER_INFO_3;
  1863. PDRIVERINFO3 = ^DRIVER_INFO_3;
  1864. EDITSTREAM = record
  1865. dwCookie : DWORD;
  1866. dwError : DWORD;
  1867. pfnCallback : EDITSTREAMCALLBACK;
  1868. end;
  1869. _editstream = EDITSTREAM;
  1870. Teditstream = EDITSTREAM;
  1871. Peditstream = ^EDITSTREAM;
  1872. EMR = record
  1873. iType : DWORD;
  1874. nSize : DWORD;
  1875. end;
  1876. tagEMR = EMR;
  1877. TEMR = EMR;
  1878. PEMR = ^EMR;
  1879. EMRANGLEARC = record
  1880. emr : EMR;
  1881. ptlCenter : POINTL;
  1882. nRadius : DWORD;
  1883. eStartAngle : Single;
  1884. eSweepAngle : Single;
  1885. end;
  1886. tagEMRANGLEARC = EMRANGLEARC;
  1887. TEMRANGLEARC = EMRANGLEARC;
  1888. PEMRANGLEARC = ^EMRANGLEARC;
  1889. EMRARC = record
  1890. emr : EMR;
  1891. rclBox : RECTL;
  1892. ptlStart : POINTL;
  1893. ptlEnd : POINTL;
  1894. end;
  1895. tagEMRARC = EMRARC;
  1896. TEMRARC = EMRARC;
  1897. PEMRARC = ^EMRARC;
  1898. EMRARCTO = EMRARC;
  1899. TEMRARCTO = EMRARC;
  1900. PEMRARCTO = ^EMRARC;
  1901. EMRCHORD = EMRARC;
  1902. TEMRCHORD = EMRARC;
  1903. PEMRCHORD = ^EMRARC;
  1904. EMRPIE = EMRARC;
  1905. TEMRPIE = EMRARC;
  1906. PEMRPIE = ^EMRARC;
  1907. XFORM = record
  1908. eM11 : Single;
  1909. eM12 : Single;
  1910. eM21 : Single;
  1911. eM22 : Single;
  1912. eDx : Single;
  1913. eDy : Single;
  1914. end;
  1915. LPXFORM = ^XFORM;
  1916. _XFORM = XFORM;
  1917. TXFORM = XFORM;
  1918. PXFORM = ^XFORM;
  1919. EMRBITBLT = record
  1920. emr : EMR;
  1921. rclBounds : RECTL;
  1922. xDest : LONG;
  1923. yDest : LONG;
  1924. cxDest : LONG;
  1925. cyDest : LONG;
  1926. dwRop : DWORD;
  1927. xSrc : LONG;
  1928. ySrc : LONG;
  1929. xformSrc : XFORM;
  1930. crBkColorSrc : COLORREF;
  1931. iUsageSrc : DWORD;
  1932. offBmiSrc : DWORD;
  1933. offBitsSrc : DWORD;
  1934. cbBitsSrc : DWORD;
  1935. end;
  1936. tagEMRBITBLT = EMRBITBLT;
  1937. TEMRBITBLT = EMRBITBLT;
  1938. PEMRBITBLT = ^EMRBITBLT;
  1939. LOGBRUSH = record
  1940. lbStyle : UINT;
  1941. lbColor : COLORREF;
  1942. lbHatch : LONG;
  1943. end;
  1944. tagLOGBRUSH = LOGBRUSH;
  1945. TLOGBRUSH = LOGBRUSH;
  1946. PLOGBRUSH = ^LOGBRUSH;
  1947. EMRCREATEBRUSHINDIRECT = record
  1948. emr : EMR;
  1949. ihBrush : DWORD;
  1950. lb : LOGBRUSH;
  1951. end;
  1952. tagEMRCREATEBRUSHINDIRECT = EMRCREATEBRUSHINDIRECT;
  1953. TEMRCREATEBRUSHINDIRECT = EMRCREATEBRUSHINDIRECT;
  1954. PEMRCREATEBRUSHINDIRECT = ^EMRCREATEBRUSHINDIRECT;
  1955. LCSCSTYPE = LONG;
  1956. LCSGAMUTMATCH = LONG;
  1957. LOGCOLORSPACE = record
  1958. lcsSignature : DWORD;
  1959. lcsVersion : DWORD;
  1960. lcsSize : DWORD;
  1961. lcsCSType : LCSCSTYPE;
  1962. lcsIntent : LCSGAMUTMATCH;
  1963. lcsEndpoints : CIEXYZTRIPLE;
  1964. lcsGammaRed : DWORD;
  1965. lcsGammaGreen : DWORD;
  1966. lcsGammaBlue : DWORD;
  1967. lcsFilename : array[0..(MAX_PATH)-1] of TCHAR;
  1968. end;
  1969. LPLOGCOLORSPACE = ^LOGCOLORSPACE;
  1970. tagLOGCOLORSPACE = LOGCOLORSPACE;
  1971. TLOGCOLORSPACE = LOGCOLORSPACE;
  1972. TLOGCOLORSPACEA = LOGCOLORSPACE;
  1973. PLOGCOLORSPACE = ^LOGCOLORSPACE;
  1974. EMRCREATECOLORSPACE = record
  1975. emr : EMR;
  1976. ihCS : DWORD;
  1977. lcs : LOGCOLORSPACE;
  1978. end;
  1979. tagEMRCREATECOLORSPACE = EMRCREATECOLORSPACE;
  1980. TEMRCREATECOLORSPACE = EMRCREATECOLORSPACE;
  1981. PEMRCREATECOLORSPACE = ^EMRCREATECOLORSPACE;
  1982. EMRCREATEDIBPATTERNBRUSHPT = record
  1983. emr : EMR;
  1984. ihBrush : DWORD;
  1985. iUsage : DWORD;
  1986. offBmi : DWORD;
  1987. cbBmi : DWORD;
  1988. offBits : DWORD;
  1989. cbBits : DWORD;
  1990. end;
  1991. tagEMRCREATEDIBPATTERNBRUSHPT = EMRCREATEDIBPATTERNBRUSHPT;
  1992. TEMRCREATEDIBPATTERNBRUSHPT = EMRCREATEDIBPATTERNBRUSHPT;
  1993. PEMRCREATEDIBPATTERNBRUSHPT = EMRCREATEDIBPATTERNBRUSHPT;
  1994. EMRCREATEMONOBRUSH = record
  1995. emr : EMR;
  1996. ihBrush : DWORD;
  1997. iUsage : DWORD;
  1998. offBmi : DWORD;
  1999. cbBmi : DWORD;
  2000. offBits : DWORD;
  2001. cbBits : DWORD;
  2002. end;
  2003. tagEMRCREATEMONOBRUSH = EMRCREATEMONOBRUSH;
  2004. TEMRCREATEMONOBRUSH = EMRCREATEMONOBRUSH;
  2005. PEMRCREATEMONOBRUSH = ^EMRCREATEMONOBRUSH;
  2006. PALETTEENTRY = record
  2007. peRed : BYTE;
  2008. peGreen : BYTE;
  2009. peBlue : BYTE;
  2010. peFlags : BYTE;
  2011. end;
  2012. LPPALETTEENTRY = ^PALETTEENTRY;
  2013. tagPALETTEENTRY = PALETTEENTRY;
  2014. TPALETTEENTRY = PALETTEENTRY;
  2015. PPALETTEENTRY = ^PALETTEENTRY;
  2016. LOGPALETTE = record
  2017. palVersion : WORD;
  2018. palNumEntries : WORD;
  2019. palPalEntry : array[0..0] of PALETTEENTRY;
  2020. end;
  2021. LPLOGPALETTE = ^LOGPALETTE;
  2022. tagLOGPALETTE = LOGPALETTE;
  2023. TLOGPALETTE = LOGPALETTE;
  2024. PLOGPALETTE = ^LOGPALETTE;
  2025. EMRCREATEPALETTE = record
  2026. emr : EMR;
  2027. ihPal : DWORD;
  2028. lgpl : LOGPALETTE;
  2029. end;
  2030. tagEMRCREATEPALETTE = EMRCREATEPALETTE;
  2031. TEMRCREATEPALETTE = EMRCREATEPALETTE;
  2032. PEMRCREATEPALETTE = ^EMRCREATEPALETTE;
  2033. LOGPEN = record
  2034. lopnStyle : UINT;
  2035. lopnWidth : POINT;
  2036. lopnColor : COLORREF;
  2037. end;
  2038. tagLOGPEN = LOGPEN;
  2039. TLOGPEN = LOGPEN;
  2040. PLOGPEN = ^LOGPEN;
  2041. EMRCREATEPEN = record
  2042. emr : EMR;
  2043. ihPen : DWORD;
  2044. lopn : LOGPEN;
  2045. end;
  2046. tagEMRCREATEPEN = EMRCREATEPEN;
  2047. TEMRCREATEPEN = EMRCREATEPEN;
  2048. PEMRCREATEPEN = ^EMRCREATEPEN;
  2049. EMRELLIPSE = record
  2050. emr : EMR;
  2051. rclBox : RECTL;
  2052. end;
  2053. tagEMRELLIPSE = EMRELLIPSE;
  2054. TEMRELLIPSE = EMRELLIPSE;
  2055. PEMRELLIPSE = ^EMRELLIPSE;
  2056. EMRRECTANGLE = EMRELLIPSE;
  2057. TEMRRECTANGLE = EMRELLIPSE;
  2058. PEMRRECTANGLE = ^EMRELLIPSE;
  2059. EMREOF = record
  2060. emr : EMR;
  2061. nPalEntries : DWORD;
  2062. offPalEntries : DWORD;
  2063. nSizeLast : DWORD;
  2064. end;
  2065. tagEMREOF = EMREOF;
  2066. TEMREOF = EMREOF;
  2067. PEMREOF = ^EMREOF;
  2068. EMREXCLUDECLIPRECT = record
  2069. emr : EMR;
  2070. rclClip : RECTL;
  2071. end;
  2072. tagEMREXCLUDECLIPRECT = EMREXCLUDECLIPRECT;
  2073. TEMREXCLUDECLIPRECT = EMREXCLUDECLIPRECT;
  2074. PEMREXCLUDECLIPRECT = ^EMREXCLUDECLIPRECT;
  2075. EMRINTERSECTCLIPRECT = EMREXCLUDECLIPRECT;
  2076. TEMRINTERSECTCLIPRECT = EMREXCLUDECLIPRECT;
  2077. PEMRINTERSECTCLIPRECT = ^EMREXCLUDECLIPRECT;
  2078. PANOSE = record
  2079. bFamilyType : BYTE;
  2080. bSerifStyle : BYTE;
  2081. bWeight : BYTE;
  2082. bProportion : BYTE;
  2083. bContrast : BYTE;
  2084. bStrokeVariation : BYTE;
  2085. bArmStyle : BYTE;
  2086. bLetterform : BYTE;
  2087. bMidline : BYTE;
  2088. bXHeight : BYTE;
  2089. end;
  2090. tagPANOSE = PANOSE;
  2091. TPANOSE = PANOSE;
  2092. PPANOSE = ^PANOSE;
  2093. EXTLOGFONT = record
  2094. elfLogFont : LOGFONT;
  2095. elfFullName : array[0..(LF_FULLFACESIZE)-1] of BCHAR;
  2096. elfStyle : array[0..(LF_FACESIZE)-1] of BCHAR;
  2097. elfVersion : DWORD;
  2098. elfStyleSize : DWORD;
  2099. elfMatch : DWORD;
  2100. elfReserved : DWORD;
  2101. elfVendorId : array[0..(ELF_VENDOR_SIZE)-1] of BYTE;
  2102. elfCulture : DWORD;
  2103. elfPanose : PANOSE;
  2104. end;
  2105. tagEXTLOGFONT = EXTLOGFONT;
  2106. TEXTLOGFONT = EXTLOGFONT;
  2107. PEXTLOGFONT = ^EXTLOGFONT;
  2108. EMREXTCREATEFONTINDIRECTW = record
  2109. emr : EMR;
  2110. ihFont : DWORD;
  2111. elfw : EXTLOGFONT;
  2112. end;
  2113. tagEMREXTCREATEFONTINDIRECTW = EMREXTCREATEFONTINDIRECTW;
  2114. TEMREXTCREATEFONTINDIRECTW = EMREXTCREATEFONTINDIRECTW;
  2115. PEMREXTCREATEFONTINDIRECTW = ^EMREXTCREATEFONTINDIRECTW;
  2116. EXTLOGPEN = record
  2117. elpPenStyle : UINT;
  2118. elpWidth : UINT;
  2119. elpBrushStyle : UINT;
  2120. elpColor : COLORREF;
  2121. elpHatch : LONG;
  2122. elpNumEntries : DWORD;
  2123. elpStyleEntry : array[0..0] of DWORD;
  2124. end;
  2125. tagEXTLOGPEN = EXTLOGPEN;
  2126. TEXTLOGPEN = EXTLOGPEN;
  2127. PEXTLOGPEN = ^EXTLOGPEN;
  2128. EMREXTCREATEPEN = record
  2129. emr : EMR;
  2130. ihPen : DWORD;
  2131. offBmi : DWORD;
  2132. cbBmi : DWORD;
  2133. offBits : DWORD;
  2134. cbBits : DWORD;
  2135. elp : EXTLOGPEN;
  2136. end;
  2137. tagEMREXTCREATEPEN = EMREXTCREATEPEN;
  2138. TEMREXTCREATEPEN = EMREXTCREATEPEN;
  2139. PEMREXTCREATEPEN = ^EMREXTCREATEPEN;
  2140. EMREXTFLOODFILL = record
  2141. emr : EMR;
  2142. ptlStart : POINTL;
  2143. crColor : COLORREF;
  2144. iMode : DWORD;
  2145. end;
  2146. tagEMREXTFLOODFILL = EMREXTFLOODFILL;
  2147. TEMREXTFLOODFILL = EMREXTFLOODFILL;
  2148. PEMREXTFLOODFILL = ^EMREXTFLOODFILL;
  2149. EMREXTSELECTCLIPRGN = record
  2150. emr : EMR;
  2151. cbRgnData : DWORD;
  2152. iMode : DWORD;
  2153. RgnData : array[0..0] of BYTE;
  2154. end;
  2155. tagEMREXTSELECTCLIPRGN = EMREXTSELECTCLIPRGN;
  2156. TEMREXTSELECTCLIPRGN = EMREXTSELECTCLIPRGN;
  2157. PEMREXTSELECTCLIPRGN = ^EMREXTSELECTCLIPRGN;
  2158. EMRTEXT = record
  2159. ptlReference : POINTL;
  2160. nChars : DWORD;
  2161. offString : DWORD;
  2162. fOptions : DWORD;
  2163. rcl : RECTL;
  2164. offDx : DWORD;
  2165. end;
  2166. tagEMRTEXT = EMRTEXT;
  2167. TEMRTEXT = EMRTEXT;
  2168. PEMRTEXT = ^EMRTEXT;
  2169. EMREXTTEXTOUTA = record
  2170. emr : EMR;
  2171. rclBounds : RECTL;
  2172. iGraphicsMode : DWORD;
  2173. exScale : Single;
  2174. eyScale : Single;
  2175. emrtext : EMRTEXT;
  2176. end;
  2177. tagEMREXTTEXTOUTA = EMREXTTEXTOUTA;
  2178. TEMREXTTEXTOUTA = EMREXTTEXTOUTA;
  2179. PEMREXTTEXTOUTA = ^EMREXTTEXTOUTA;
  2180. EMREXTTEXTOUTW = EMREXTTEXTOUTA;
  2181. TEMREXTTEXTOUTW = EMREXTTEXTOUTA;
  2182. PEMREXTTEXTOUTW = ^EMREXTTEXTOUTA;
  2183. EMRFILLPATH = record
  2184. emr : EMR;
  2185. rclBounds : RECTL;
  2186. end;
  2187. tagEMRFILLPATH = EMRFILLPATH;
  2188. TEMRFILLPATH = EMRFILLPATH;
  2189. PEMRFILLPATH = ^EMRFILLPATH;
  2190. EMRSTROKEANDFILLPATH = EMRFILLPATH;
  2191. TEMRSTROKEANDFILLPATH = EMRFILLPATH;
  2192. PEMRSTROKEANDFILLPATH = ^EMRFILLPATH;
  2193. EMRSTROKEPATH = EMRFILLPATH;
  2194. TEMRSTROKEPATH = EMRFILLPATH;
  2195. PEMRSTROKEPATH = ^EMRFILLPATH;
  2196. EMRFILLRGN = record
  2197. emr : EMR;
  2198. rclBounds : RECTL;
  2199. cbRgnData : DWORD;
  2200. ihBrush : DWORD;
  2201. RgnData : array[0..0] of BYTE;
  2202. end;
  2203. tagEMRFILLRGN = EMRFILLRGN;
  2204. TEMRFILLRGN = EMRFILLRGN;
  2205. PEMRFILLRGN = ^EMRFILLRGN;
  2206. EMRFORMAT = record
  2207. dSignature : DWORD;
  2208. nVersion : DWORD;
  2209. cbData : DWORD;
  2210. offData : DWORD;
  2211. end;
  2212. tagEMRFORMAT = EMRFORMAT;
  2213. TEMRFORMAT = EMRFORMAT;
  2214. PEMRFORMAT = ^EMRFORMAT;
  2215. SIZE = record
  2216. cx : LONG;
  2217. cy : LONG;
  2218. end;
  2219. LPSIZE = ^SIZE;
  2220. tagSIZE = SIZE;
  2221. TSIZE = SIZE;
  2222. PSIZE = ^SIZE;
  2223. SIZEL = SIZE;
  2224. TSIZEL = SIZE;
  2225. PSIZEL = ^SIZE;
  2226. LPSIZEL = ^SIZE;
  2227. EMRFRAMERGN = record
  2228. emr : EMR;
  2229. rclBounds : RECTL;
  2230. cbRgnData : DWORD;
  2231. ihBrush : DWORD;
  2232. szlStroke : SIZEL;
  2233. RgnData : array[0..0] of BYTE;
  2234. end;
  2235. tagEMRFRAMERGN = EMRFRAMERGN;
  2236. TEMRFRAMERGN = EMRFRAMERGN;
  2237. PEMRFRAMERGN = ^EMRFRAMERGN;
  2238. EMRGDICOMMENT = record
  2239. emr : EMR;
  2240. cbData : DWORD;
  2241. Data : array[0..0] of BYTE;
  2242. end;
  2243. tagEMRGDICOMMENT = EMRGDICOMMENT;
  2244. TEMRGDICOMMENT = EMRGDICOMMENT;
  2245. PEMRGDICOMMENT = ^EMRGDICOMMENT;
  2246. EMRINVERTRGN = record
  2247. emr : EMR;
  2248. rclBounds : RECTL;
  2249. cbRgnData : DWORD;
  2250. RgnData : array[0..0] of BYTE;
  2251. end;
  2252. tagEMRINVERTRGN = EMRINVERTRGN;
  2253. TEMRINVERTRGN = EMRINVERTRGN;
  2254. PEMRINVERTRGN = ^EMRINVERTRGN;
  2255. EMRPAINTRGN = EMRINVERTRGN;
  2256. TEMRPAINTRGN = EMRINVERTRGN;
  2257. PEMRPAINTRGN = ^EMRINVERTRGN;
  2258. EMRLINETO = record
  2259. emr : EMR;
  2260. ptl : POINTL;
  2261. end;
  2262. tagEMRLINETO = EMRLINETO;
  2263. TEMRLINETO = EMRLINETO;
  2264. PEMRLINETO = ^EMRLINETO;
  2265. EMRMOVETOEX = EMRLINETO;
  2266. TEMRMOVETOEX = EMRLINETO;
  2267. PEMRMOVETOEX = ^EMRLINETO;
  2268. EMRMASKBLT = record
  2269. emr : EMR;
  2270. rclBounds : RECTL;
  2271. xDest : LONG;
  2272. yDest : LONG;
  2273. cxDest : LONG;
  2274. cyDest : LONG;
  2275. dwRop : DWORD;
  2276. xSrc : LONG;
  2277. ySrc : LONG;
  2278. xformSrc : XFORM;
  2279. crBkColorSrc : COLORREF;
  2280. iUsageSrc : DWORD;
  2281. offBmiSrc : DWORD;
  2282. cbBmiSrc : DWORD;
  2283. offBitsSrc : DWORD;
  2284. cbBitsSrc : DWORD;
  2285. xMask : LONG;
  2286. yMask : LONG;
  2287. iUsageMask : DWORD;
  2288. offBmiMask : DWORD;
  2289. cbBmiMask : DWORD;
  2290. offBitsMask : DWORD;
  2291. cbBitsMask : DWORD;
  2292. end;
  2293. tagEMRMASKBLT = EMRMASKBLT;
  2294. TEMRMASKBLT = EMRMASKBLT;
  2295. PEMRMASKBLT = ^EMRMASKBLT;
  2296. EMRMODIFYWORLDTRANSFORM = record
  2297. emr : EMR;
  2298. xform : XFORM;
  2299. iMode : DWORD;
  2300. end;
  2301. tagEMRMODIFYWORLDTRANSFORM = EMRMODIFYWORLDTRANSFORM;
  2302. TEMRMODIFYWORLDTRANSFORM = EMRMODIFYWORLDTRANSFORM;
  2303. PEMRMODIFYWORLDTRANSFORM = EMRMODIFYWORLDTRANSFORM;
  2304. EMROFFSETCLIPRGN = record
  2305. emr : EMR;
  2306. ptlOffset : POINTL;
  2307. end;
  2308. tagEMROFFSETCLIPRGN = EMROFFSETCLIPRGN;
  2309. TEMROFFSETCLIPRGN = EMROFFSETCLIPRGN;
  2310. PEMROFFSETCLIPRGN = ^EMROFFSETCLIPRGN;
  2311. EMRPLGBLT = record
  2312. emr : EMR;
  2313. rclBounds : RECTL;
  2314. aptlDest : array[0..2] of POINTL;
  2315. xSrc : LONG;
  2316. ySrc : LONG;
  2317. cxSrc : LONG;
  2318. cySrc : LONG;
  2319. xformSrc : XFORM;
  2320. crBkColorSrc : COLORREF;
  2321. iUsageSrc : DWORD;
  2322. offBmiSrc : DWORD;
  2323. cbBmiSrc : DWORD;
  2324. offBitsSrc : DWORD;
  2325. cbBitsSrc : DWORD;
  2326. xMask : LONG;
  2327. yMask : LONG;
  2328. iUsageMask : DWORD;
  2329. offBmiMask : DWORD;
  2330. cbBmiMask : DWORD;
  2331. offBitsMask : DWORD;
  2332. cbBitsMask : DWORD;
  2333. end;
  2334. tagEMRPLGBLT = EMRPLGBLT;
  2335. TEMRPLGBLT = EMRPLGBLT;
  2336. PEMRPLGBLT = ^EMRPLGBLT;
  2337. EMRPOLYDRAW = record
  2338. emr : EMR;
  2339. rclBounds : RECTL;
  2340. cptl : DWORD;
  2341. aptl : array[0..0] of POINTL;
  2342. abTypes : array[0..0] of BYTE;
  2343. end;
  2344. tagEMRPOLYDRAW = EMRPOLYDRAW;
  2345. TEMRPOLYDRAW = EMRPOLYDRAW;
  2346. PEMRPOLYDRAW = ^EMRPOLYDRAW;
  2347. EMRPOLYDRAW16 = record
  2348. emr : EMR;
  2349. rclBounds : RECTL;
  2350. cpts : DWORD;
  2351. apts : array[0..0] of POINTS;
  2352. abTypes : array[0..0] of BYTE;
  2353. end;
  2354. tagEMRPOLYDRAW16 = EMRPOLYDRAW16;
  2355. TEMRPOLYDRAW16 = EMRPOLYDRAW16;
  2356. PEMRPOLYDRAW16 = ^EMRPOLYDRAW16;
  2357. EMRPOLYLINE = record
  2358. emr : EMR;
  2359. rclBounds : RECTL;
  2360. cptl : DWORD;
  2361. aptl : array[0..0] of POINTL;
  2362. end;
  2363. tagEMRPOLYLINE = EMRPOLYLINE;
  2364. TEMRPOLYLINE = EMRPOLYLINE;
  2365. PEMRPOLYLINE = ^EMRPOLYLINE;
  2366. EMRPOLYBEZIER = EMRPOLYLINE;
  2367. TEMRPOLYBEZIER = EMRPOLYLINE;
  2368. PEMRPOLYBEZIER = ^EMRPOLYLINE;
  2369. EMRPOLYGON = EMRPOLYLINE;
  2370. TEMRPOLYGON = EMRPOLYLINE;
  2371. PEMRPOLYGON = ^EMRPOLYLINE;
  2372. EMRPOLYBEZIERTO = EMRPOLYLINE;
  2373. TEMRPOLYBEZIERTO = EMRPOLYLINE;
  2374. PEMRPOLYBEZIERTO = ^EMRPOLYLINE;
  2375. EMRPOLYLINETO = EMRPOLYLINE;
  2376. TEMRPOLYLINETO = EMRPOLYLINE;
  2377. PEMRPOLYLINETO = ^EMRPOLYLINE;
  2378. EMRPOLYLINE16 = record
  2379. emr : EMR;
  2380. rclBounds : RECTL;
  2381. cpts : DWORD;
  2382. apts : array[0..0] of POINTL;
  2383. end;
  2384. tagEMRPOLYLINE16 = EMRPOLYLINE16;
  2385. TEMRPOLYLINE16 = EMRPOLYLINE16;
  2386. PEMRPOLYLINE16 = ^EMRPOLYLINE16;
  2387. EMRPOLYBEZIER16 = EMRPOLYLINE16;
  2388. TEMRPOLYBEZIER16 = EMRPOLYLINE16;
  2389. PEMRPOLYBEZIER16 = ^EMRPOLYLINE16;
  2390. EMRPOLYGON16 = EMRPOLYLINE16;
  2391. TEMRPOLYGON16 = EMRPOLYLINE16;
  2392. PEMRPOLYGON16 = ^EMRPOLYLINE16;
  2393. EMRPOLYBEZIERTO16 = EMRPOLYLINE16;
  2394. TEMRPOLYBEZIERTO16 = EMRPOLYLINE16;
  2395. PEMRPOLYBEZIERTO16 = ^EMRPOLYLINE16;
  2396. EMRPOLYLINETO16 = EMRPOLYLINE16;
  2397. TEMRPOLYLINETO16 = EMRPOLYLINE16;
  2398. PEMRPOLYLINETO16 = ^EMRPOLYLINE16;
  2399. EMRPOLYPOLYLINE = record
  2400. emr : EMR;
  2401. rclBounds : RECTL;
  2402. nPolys : DWORD;
  2403. cptl : DWORD;
  2404. aPolyCounts : array[0..0] of DWORD;
  2405. aptl : array[0..0] of POINTL;
  2406. end;
  2407. tagEMRPOLYPOLYLINE = EMRPOLYPOLYLINE;
  2408. TEMRPOLYPOLYLINE = EMRPOLYPOLYLINE;
  2409. PEMRPOLYPOLYLINE = ^EMRPOLYPOLYLINE;
  2410. EMRPOLYPOLYGON = EMRPOLYPOLYLINE;
  2411. TEMRPOLYPOLYGON = EMRPOLYPOLYLINE;
  2412. PEMRPOLYPOLYGON = ^EMRPOLYPOLYLINE;
  2413. EMRPOLYPOLYLINE16 = record
  2414. emr : EMR;
  2415. rclBounds : RECTL;
  2416. nPolys : DWORD;
  2417. cpts : DWORD;
  2418. aPolyCounts : array[0..0] of DWORD;
  2419. apts : array[0..0] of POINTS;
  2420. end;
  2421. tagEMRPOLYPOLYLINE16 = EMRPOLYPOLYLINE16;
  2422. TEMRPOLYPOLYLINE16 = EMRPOLYPOLYLINE16;
  2423. PEMRPOLYPOLYLINE16 = ^EMRPOLYPOLYLINE16;
  2424. EMRPOLYPOLYGON16 = EMRPOLYPOLYLINE16;
  2425. TEMRPOLYPOLYGON16 = EMRPOLYPOLYLINE16;
  2426. PEMRPOLYPOLYGON16 = ^EMRPOLYPOLYLINE16;
  2427. EMRPOLYTEXTOUTA = record
  2428. emr : EMR;
  2429. rclBounds : RECTL;
  2430. iGraphicsMode : DWORD;
  2431. exScale : Single;
  2432. eyScale : Single;
  2433. cStrings : LONG;
  2434. aemrtext : array[0..0] of EMRTEXT;
  2435. end;
  2436. tagEMRPOLYTEXTOUTA = EMRPOLYTEXTOUTA;
  2437. TEMRPOLYTEXTOUTA = EMRPOLYTEXTOUTA;
  2438. PEMRPOLYTEXTOUTA = ^EMRPOLYTEXTOUTA;
  2439. EMRPOLYTEXTOUTW = EMRPOLYTEXTOUTA;
  2440. TEMRPOLYTEXTOUTW = EMRPOLYTEXTOUTA;
  2441. PEMRPOLYTEXTOUTW = ^EMRPOLYTEXTOUTA;
  2442. EMRRESIZEPALETTE = record
  2443. emr : EMR;
  2444. ihPal : DWORD;
  2445. cEntries : DWORD;
  2446. end;
  2447. tagEMRRESIZEPALETTE = EMRRESIZEPALETTE;
  2448. TEMRRESIZEPALETTE = EMRRESIZEPALETTE;
  2449. PEMRRESIZEPALETTE = ^EMRRESIZEPALETTE;
  2450. EMRRESTOREDC = record
  2451. emr : EMR;
  2452. iRelative : LONG;
  2453. end;
  2454. tagEMRRESTOREDC = EMRRESTOREDC;
  2455. TEMRRESTOREDC = EMRRESTOREDC;
  2456. PEMRRESTOREDC = ^EMRRESTOREDC;
  2457. EMRROUNDRECT = record
  2458. emr : EMR;
  2459. rclBox : RECTL;
  2460. szlCorner : SIZEL;
  2461. end;
  2462. tagEMRROUNDRECT = EMRROUNDRECT;
  2463. TEMRROUNDRECT = EMRROUNDRECT;
  2464. PEMRROUNDRECT = ^EMRROUNDRECT;
  2465. EMRSCALEVIEWPORTEXTEX = record
  2466. emr : EMR;
  2467. xNum : LONG;
  2468. xDenom : LONG;
  2469. yNum : LONG;
  2470. yDenom : LONG;
  2471. end;
  2472. tagEMRSCALEVIEWPORTEXTEX = EMRSCALEVIEWPORTEXTEX;
  2473. TEMRSCALEVIEWPORTEXTEX = EMRSCALEVIEWPORTEXTEX;
  2474. PEMRSCALEVIEWPORTEXTEX = ^EMRSCALEVIEWPORTEXTEX;
  2475. EMRSCALEWINDOWEXTEX = EMRSCALEVIEWPORTEXTEX;
  2476. TEMRSCALEWINDOWEXTEX = EMRSCALEVIEWPORTEXTEX;
  2477. PEMRSCALEWINDOWEXTEX = ^EMRSCALEVIEWPORTEXTEX;
  2478. EMRSELECTCOLORSPACE = record
  2479. emr : EMR;
  2480. ihCS : DWORD;
  2481. end;
  2482. tagEMRSELECTCOLORSPACE = EMRSELECTCOLORSPACE;
  2483. TEMRSELECTCOLORSPACE = EMRSELECTCOLORSPACE;
  2484. PEMRSELECTCOLORSPACE = ^EMRSELECTCOLORSPACE;
  2485. EMRDELETECOLORSPACE = EMRSELECTCOLORSPACE;
  2486. TEMRDELETECOLORSPACE = EMRSELECTCOLORSPACE;
  2487. PEMRDELETECOLORSPACE = ^EMRSELECTCOLORSPACE;
  2488. EMRSELECTOBJECT = record
  2489. emr : EMR;
  2490. ihObject : DWORD;
  2491. end;
  2492. tagEMRSELECTOBJECT = EMRSELECTOBJECT;
  2493. TEMRSELECTOBJECT = EMRSELECTOBJECT;
  2494. PEMRSELECTOBJECT = ^EMRSELECTOBJECT;
  2495. EMRDELETEOBJECT = EMRSELECTOBJECT;
  2496. TEMRDELETEOBJECT = EMRSELECTOBJECT;
  2497. PEMRDELETEOBJECT = ^EMRSELECTOBJECT;
  2498. EMRSELECTPALETTE = record
  2499. emr : EMR;
  2500. ihPal : DWORD;
  2501. end;
  2502. tagEMRSELECTPALETTE = EMRSELECTPALETTE;
  2503. TEMRSELECTPALETTE = EMRSELECTPALETTE;
  2504. PEMRSELECTPALETTE = ^EMRSELECTPALETTE;
  2505. EMRSETARCDIRECTION = record
  2506. emr : EMR;
  2507. iArcDirection : DWORD;
  2508. end;
  2509. tagEMRSETARCDIRECTION = EMRSETARCDIRECTION;
  2510. TEMRSETARCDIRECTION = EMRSETARCDIRECTION;
  2511. PEMRSETARCDIRECTION = ^EMRSETARCDIRECTION;
  2512. EMRSETBKCOLOR = record
  2513. emr : EMR;
  2514. crColor : COLORREF;
  2515. end;
  2516. tagEMRSETTEXTCOLOR = EMRSETBKCOLOR;
  2517. TEMRSETBKCOLOR = EMRSETBKCOLOR;
  2518. PEMRSETBKCOLOR = ^EMRSETBKCOLOR;
  2519. EMRSETTEXTCOLOR = EMRSETBKCOLOR;
  2520. TEMRSETTEXTCOLOR = EMRSETBKCOLOR;
  2521. PEMRSETTEXTCOLOR = ^EMRSETBKCOLOR;
  2522. EMRSETCOLORADJUSTMENT = record
  2523. emr : EMR;
  2524. ColorAdjustment : COLORADJUSTMENT;
  2525. end;
  2526. tagEMRSETCOLORADJUSTMENT = EMRSETCOLORADJUSTMENT;
  2527. TEMRSETCOLORADJUSTMENT = EMRSETCOLORADJUSTMENT;
  2528. PEMRSETCOLORADJUSTMENT = ^EMRSETCOLORADJUSTMENT;
  2529. EMRSETDIBITSTODEVICE = record
  2530. emr : EMR;
  2531. rclBounds : RECTL;
  2532. xDest : LONG;
  2533. yDest : LONG;
  2534. xSrc : LONG;
  2535. ySrc : LONG;
  2536. cxSrc : LONG;
  2537. cySrc : LONG;
  2538. offBmiSrc : DWORD;
  2539. cbBmiSrc : DWORD;
  2540. offBitsSrc : DWORD;
  2541. cbBitsSrc : DWORD;
  2542. iUsageSrc : DWORD;
  2543. iStartScan : DWORD;
  2544. cScans : DWORD;
  2545. end;
  2546. tagEMRSETDIBITSTODEVICE = EMRSETDIBITSTODEVICE;
  2547. TEMRSETDIBITSTODEVICE = EMRSETDIBITSTODEVICE;
  2548. PEMRSETDIBITSTODEVICE = ^EMRSETDIBITSTODEVICE;
  2549. EMRSETMAPPERFLAGS = record
  2550. emr : EMR;
  2551. dwFlags : DWORD;
  2552. end;
  2553. tagEMRSETMAPPERFLAGS = EMRSETMAPPERFLAGS;
  2554. TEMRSETMAPPERFLAGS = EMRSETMAPPERFLAGS;
  2555. PEMRSETMAPPERFLAGS = ^EMRSETMAPPERFLAGS;
  2556. EMRSETMITERLIMIT = record
  2557. emr : EMR;
  2558. eMiterLimit : Single;
  2559. end;
  2560. tagEMRSETMITERLIMIT = EMRSETMITERLIMIT;
  2561. TEMRSETMITERLIMIT = EMRSETMITERLIMIT;
  2562. PEMRSETMITERLIMIT = ^EMRSETMITERLIMIT;
  2563. EMRSETPALETTEENTRIES = record
  2564. emr : EMR;
  2565. ihPal : DWORD;
  2566. iStart : DWORD;
  2567. cEntries : DWORD;
  2568. aPalEntries : array[0..0] of PALETTEENTRY;
  2569. end;
  2570. tagEMRSETPALETTEENTRIES = EMRSETPALETTEENTRIES;
  2571. TEMRSETPALETTEENTRIES = EMRSETPALETTEENTRIES;
  2572. PEMRSETPALETTEENTRIES = ^EMRSETPALETTEENTRIES;
  2573. EMRSETPIXELV = record
  2574. emr : EMR;
  2575. ptlPixel : POINTL;
  2576. crColor : COLORREF;
  2577. end;
  2578. tagEMRSETPIXELV = EMRSETPIXELV;
  2579. TEMRSETPIXELV = EMRSETPIXELV;
  2580. PEMRSETPIXELV = ^EMRSETPIXELV;
  2581. EMRSETVIEWPORTEXTEX = record
  2582. emr : EMR;
  2583. szlExtent : SIZEL;
  2584. end;
  2585. tagEMRSETVIEWPORTEXTEX = EMRSETVIEWPORTEXTEX;
  2586. TEMRSETVIEWPORTEXTEX = EMRSETVIEWPORTEXTEX;
  2587. PEMRSETVIEWPORTEXTEX = ^EMRSETVIEWPORTEXTEX;
  2588. EMRSETWINDOWEXTEX = EMRSETVIEWPORTEXTEX;
  2589. TEMRSETWINDOWEXTEX = EMRSETVIEWPORTEXTEX;
  2590. PEMRSETWINDOWEXTEX = ^EMRSETVIEWPORTEXTEX;
  2591. EMRSETVIEWPORTORGEX = record
  2592. emr : EMR;
  2593. ptlOrigin : POINTL;
  2594. end;
  2595. tagEMRSETVIEWPORTORGEX = EMRSETVIEWPORTORGEX;
  2596. TEMRSETVIEWPORTORGEX = EMRSETVIEWPORTORGEX;
  2597. PEMRSETVIEWPORTORGEX = ^EMRSETVIEWPORTORGEX;
  2598. EMRSETWINDOWORGEX = EMRSETVIEWPORTORGEX;
  2599. TEMRSETWINDOWORGEX = EMRSETVIEWPORTORGEX;
  2600. PEMRSETWINDOWORGEX = ^EMRSETVIEWPORTORGEX;
  2601. EMRSETBRUSHORGEX = EMRSETVIEWPORTORGEX;
  2602. TEMRSETBRUSHORGEX = EMRSETVIEWPORTORGEX;
  2603. PEMRSETBRUSHORGEX = ^EMRSETVIEWPORTORGEX;
  2604. EMRSETWORLDTRANSFORM = record
  2605. emr : EMR;
  2606. xform : XFORM;
  2607. end;
  2608. tagEMRSETWORLDTRANSFORM = EMRSETWORLDTRANSFORM;
  2609. TEMRSETWORLDTRANSFORM = EMRSETWORLDTRANSFORM;
  2610. PEMRSETWORLDTRANSFORM = ^EMRSETWORLDTRANSFORM;
  2611. EMRSTRETCHBLT = record
  2612. emr : EMR;
  2613. rclBounds : RECTL;
  2614. xDest : LONG;
  2615. yDest : LONG;
  2616. cxDest : LONG;
  2617. cyDest : LONG;
  2618. dwRop : DWORD;
  2619. xSrc : LONG;
  2620. ySrc : LONG;
  2621. xformSrc : XFORM;
  2622. crBkColorSrc : COLORREF;
  2623. iUsageSrc : DWORD;
  2624. offBmiSrc : DWORD;
  2625. cbBmiSrc : DWORD;
  2626. offBitsSrc : DWORD;
  2627. cbBitsSrc : DWORD;
  2628. cxSrc : LONG;
  2629. cySrc : LONG;
  2630. end;
  2631. tagEMRSTRETCHBLT = EMRSTRETCHBLT;
  2632. TEMRSTRETCHBLT = EMRSTRETCHBLT;
  2633. PEMRSTRETCHBLT = ^EMRSTRETCHBLT;
  2634. EMRSTRETCHDIBITS = record
  2635. emr : EMR;
  2636. rclBounds : RECTL;
  2637. xDest : LONG;
  2638. yDest : LONG;
  2639. xSrc : LONG;
  2640. ySrc : LONG;
  2641. cxSrc : LONG;
  2642. cySrc : LONG;
  2643. offBmiSrc : DWORD;
  2644. cbBmiSrc : DWORD;
  2645. offBitsSrc : DWORD;
  2646. cbBitsSrc : DWORD;
  2647. iUsageSrc : DWORD;
  2648. dwRop : DWORD;
  2649. cxDest : LONG;
  2650. cyDest : LONG;
  2651. end;
  2652. tagEMRSTRETCHDIBITS = EMRSTRETCHDIBITS;
  2653. TEMRSTRETCHDIBITS = EMRSTRETCHDIBITS;
  2654. PEMRSTRETCHDIBITS = ^EMRSTRETCHDIBITS;
  2655. EMRABORTPATH = record
  2656. emr : EMR;
  2657. end;
  2658. TEMRABORTPATH = EMRABORTPATH;
  2659. PEMRABORTPATH = ^EMRABORTPATH;
  2660. tagABORTPATH = EMRABORTPATH;
  2661. TABORTPATH = EMRABORTPATH;
  2662. EMRBEGINPATH = EMRABORTPATH;
  2663. TEMRBEGINPATH = EMRABORTPATH;
  2664. PEMRBEGINPATH = ^EMRABORTPATH;
  2665. EMRENDPATH = EMRABORTPATH;
  2666. TEMRENDPATH = EMRABORTPATH;
  2667. PEMRENDPATH = ^EMRABORTPATH;
  2668. EMRCLOSEFIGURE = EMRABORTPATH;
  2669. TEMRCLOSEFIGURE = EMRABORTPATH;
  2670. PEMRCLOSEFIGURE = ^EMRABORTPATH;
  2671. EMRFLATTENPATH = EMRABORTPATH;
  2672. TEMRFLATTENPATH = EMRABORTPATH;
  2673. PEMRFLATTENPATH = ^EMRABORTPATH;
  2674. EMRWIDENPATH = EMRABORTPATH;
  2675. TEMRWIDENPATH = EMRABORTPATH;
  2676. PEMRWIDENPATH = ^EMRABORTPATH;
  2677. EMRSETMETARGN = EMRABORTPATH;
  2678. TEMRSETMETARGN = EMRABORTPATH;
  2679. PEMRSETMETARGN = ^EMRABORTPATH;
  2680. EMRSAVEDC = EMRABORTPATH;
  2681. TEMRSAVEDC = EMRABORTPATH;
  2682. PEMRSAVEDC = ^EMRABORTPATH;
  2683. EMRREALIZEPALETTE = EMRABORTPATH;
  2684. TEMRREALIZEPALETTE = EMRABORTPATH;
  2685. PEMRREALIZEPALETTE = ^EMRABORTPATH;
  2686. EMRSELECTCLIPPATH = record
  2687. emr : EMR;
  2688. iMode : DWORD;
  2689. end;
  2690. tagEMRSELECTCLIPPATH = EMRSELECTCLIPPATH;
  2691. TEMRSELECTCLIPPATH = EMRSELECTCLIPPATH;
  2692. PEMRSELECTCLIPPATH = ^EMRSELECTCLIPPATH;
  2693. EMRSETBKMODE = EMRSELECTCLIPPATH;
  2694. TEMRSETBKMODE = EMRSELECTCLIPPATH;
  2695. PEMRSETBKMODE = ^EMRSELECTCLIPPATH;
  2696. EMRSETMAPMODE = EMRSELECTCLIPPATH;
  2697. TEMRSETMAPMODE = EMRSELECTCLIPPATH;
  2698. PEMRSETMAPMODE = ^EMRSELECTCLIPPATH;
  2699. EMRSETPOLYFILLMODE = EMRSELECTCLIPPATH;
  2700. TEMRSETPOLYFILLMODE = EMRSELECTCLIPPATH;
  2701. PEMRSETPOLYFILLMODE = ^EMRSELECTCLIPPATH;
  2702. EMRSETROP2 = EMRSELECTCLIPPATH;
  2703. TEMRSETROP2 = EMRSELECTCLIPPATH;
  2704. PEMRSETROP2 = ^EMRSELECTCLIPPATH;
  2705. EMRSETSTRETCHBLTMODE = EMRSELECTCLIPPATH;
  2706. TEMRSETSTRETCHBLTMODE = EMRSELECTCLIPPATH;
  2707. PEMRSETSTRETCHBLTMODE = ^EMRSELECTCLIPPATH;
  2708. EMRSETTEXTALIGN = EMRSELECTCLIPPATH;
  2709. TEMRSETTEXTALIGN = EMRSELECTCLIPPATH;
  2710. PEMRSETTEXTALIGN = ^EMRSELECTCLIPPATH;
  2711. EMRENABLEICM = EMRSELECTCLIPPATH;
  2712. TEMRENABLEICM = EMRSELECTCLIPPATH;
  2713. PEMRENABLEICM = ^EMRSELECTCLIPPATH;
  2714. NMHDR = record
  2715. hwndFrom : HWND;
  2716. idFrom : UINT;
  2717. code : UINT;
  2718. end;
  2719. tagNMHDR = NMHDR;
  2720. TNMHDR = NMHDR;
  2721. PNMHDR = ^NMHDR;
  2722. ENCORRECTTEXT = record
  2723. nmhdr : NMHDR;
  2724. chrg : CHARRANGE;
  2725. seltyp : WORD;
  2726. end;
  2727. _encorrecttext = ENCORRECTTEXT;
  2728. Tencorrecttext = ENCORRECTTEXT;
  2729. Pencorrecttext = ^ENCORRECTTEXT;
  2730. ENDROPFILES = record
  2731. nmhdr : NMHDR;
  2732. hDrop : HANDLE;
  2733. cp : LONG;
  2734. fProtected : WINBOOL;
  2735. end;
  2736. _endropfiles = ENDROPFILES;
  2737. Tendropfiles = ENDROPFILES;
  2738. Pendropfiles = ^ENDROPFILES;
  2739. ENSAVECLIPBOARD = record
  2740. nmhdr : NMHDR;
  2741. cObjectCount : LONG;
  2742. cch : LONG;
  2743. end;
  2744. TENSAVECLIPBOARD = ENSAVECLIPBOARD;
  2745. PENSAVECLIPBOARD = ^ENSAVECLIPBOARD;
  2746. ENOLEOPFAILED = record
  2747. nmhdr : NMHDR;
  2748. iob : LONG;
  2749. lOper : LONG;
  2750. hr : HRESULT;
  2751. end;
  2752. TENOLEOPFAILED = ENOLEOPFAILED;
  2753. PENOLEOPFAILED = ^ENOLEOPFAILED;
  2754. ENHMETAHEADER = record
  2755. iType : DWORD;
  2756. nSize : DWORD;
  2757. rclBounds : RECTL;
  2758. rclFrame : RECTL;
  2759. dSignature : DWORD;
  2760. nVersion : DWORD;
  2761. nBytes : DWORD;
  2762. nRecords : DWORD;
  2763. nHandles : WORD;
  2764. sReserved : WORD;
  2765. nDescription : DWORD;
  2766. offDescription : DWORD;
  2767. nPalEntries : DWORD;
  2768. szlDevice : SIZEL;
  2769. szlMillimeters : SIZEL;
  2770. end;
  2771. LPENHMETAHEADER = ^ENHMETAHEADER;
  2772. tagENHMETAHEADER = ENHMETAHEADER;
  2773. TENHMETAHEADER = ENHMETAHEADER;
  2774. PENHMETAHEADER = ^ENHMETAHEADER;
  2775. ENHMETARECORD = record
  2776. iType : DWORD;
  2777. nSize : DWORD;
  2778. dParm : array[0..0] of DWORD;
  2779. end;
  2780. LPENHMETARECORD = ^ENHMETARECORD;
  2781. tagENHMETARECORD = ENHMETARECORD;
  2782. TENHMETARECORD = ENHMETARECORD;
  2783. PENHMETARECORD = ^ENHMETARECORD;
  2784. ENPROTECTED = record
  2785. nmhdr : NMHDR;
  2786. msg : UINT;
  2787. wParam : WPARAM;
  2788. lParam : LPARAM;
  2789. chrg : CHARRANGE;
  2790. end;
  2791. _enprotected = ENPROTECTED;
  2792. Tenprotected = ENPROTECTED;
  2793. Penprotected = ^ENPROTECTED;
  2794. SERVICE_STATUS = record
  2795. dwServiceType : DWORD;
  2796. dwCurrentState : DWORD;
  2797. dwControlsAccepted : DWORD;
  2798. dwWin32ExitCode : DWORD;
  2799. dwServiceSpecificExitCode : DWORD;
  2800. dwCheckPoint : DWORD;
  2801. dwWaitHint : DWORD;
  2802. end;
  2803. LPSERVICE_STATUS = ^SERVICE_STATUS;
  2804. _SERVICE_STATUS = SERVICE_STATUS;
  2805. TSERVICESTATUS = SERVICE_STATUS;
  2806. PSERVICESTATUS = ^SERVICE_STATUS;
  2807. ENUM_SERVICE_STATUS = record
  2808. lpServiceName : LPTSTR;
  2809. lpDisplayName : LPTSTR;
  2810. ServiceStatus : SERVICE_STATUS;
  2811. end;
  2812. LPENUM_SERVICE_STATUS = ^ENUM_SERVICE_STATUS;
  2813. _ENUM_SERVICE_STATUS = ENUM_SERVICE_STATUS;
  2814. TENUMSERVICESTATUS = ENUM_SERVICE_STATUS;
  2815. PENUMSERVICESTATUS = ^ENUM_SERVICE_STATUS;
  2816. ENUMLOGFONT = record
  2817. elfLogFont : LOGFONT;
  2818. elfFullName : array[0..(LF_FULLFACESIZE)-1] of BCHAR;
  2819. elfStyle : array[0..(LF_FACESIZE)-1] of BCHAR;
  2820. end;
  2821. tagENUMLOGFONT = ENUMLOGFONT;
  2822. TENUMLOGFONT = ENUMLOGFONT;
  2823. PENUMLOGFONT = ^ENUMLOGFONT;
  2824. ENUMLOGFONTEX = record
  2825. elfLogFont : LOGFONT;
  2826. elfFullName : array[0..(LF_FULLFACESIZE)-1] of BCHAR;
  2827. elfStyle : array[0..(LF_FACESIZE)-1] of BCHAR;
  2828. elfScript : array[0..(LF_FACESIZE)-1] of BCHAR;
  2829. end;
  2830. tagENUMLOGFONTEX = ENUMLOGFONTEX;
  2831. TENUMLOGFONTEX = ENUMLOGFONTEX;
  2832. PENUMLOGFONTEX = ^ENUMLOGFONTEX;
  2833. {
  2834. Then follow:
  2835. TCHAR SourceName[]
  2836. TCHAR Computername[]
  2837. SID UserSid
  2838. TCHAR Strings[]
  2839. BYTE Data[]
  2840. CHAR Pad[]
  2841. DWORD Length;
  2842. }
  2843. EVENTLOGRECORD = record
  2844. Length : DWORD;
  2845. Reserved : DWORD;
  2846. RecordNumber : DWORD;
  2847. TimeGenerated : DWORD;
  2848. TimeWritten : DWORD;
  2849. EventID : DWORD;
  2850. EventType : WORD;
  2851. NumStrings : WORD;
  2852. EventCategory : WORD;
  2853. ReservedFlags : WORD;
  2854. ClosingRecordNumber : DWORD;
  2855. StringOffset : DWORD;
  2856. UserSidLength : DWORD;
  2857. UserSidOffset : DWORD;
  2858. DataLength : DWORD;
  2859. DataOffset : DWORD;
  2860. end;
  2861. _EVENTLOGRECORD = EVENTLOGRECORD;
  2862. TEVENTLOGRECORD = EVENTLOGRECORD;
  2863. PEVENTLOGRECORD = ^EVENTLOGRECORD;
  2864. EVENTMSG = record
  2865. message : UINT;
  2866. paramL : UINT;
  2867. paramH : UINT;
  2868. time : DWORD;
  2869. hwnd : HWND;
  2870. end;
  2871. tagEVENTMSG = EVENTMSG;
  2872. TEVENTMSG = EVENTMSG;
  2873. PEVENTMSG = ^EVENTMSG;
  2874. EXCEPTION_POINTERS = record
  2875. ExceptionRecord : PEXCEPTION_RECORD;
  2876. ContextRecord : PCONTEXT;
  2877. end;
  2878. LPEXCEPTION_POINTERS = ^EXCEPTION_POINTERS;
  2879. PEXCEPTION_POINTERS = ^EXCEPTION_POINTERS;
  2880. _EXCEPTION_POINTERS = EXCEPTION_POINTERS;
  2881. TEXCEPTIONPOINTERS = EXCEPTION_POINTERS;
  2882. PEXCEPTIONPOINTERS = ^EXCEPTION_POINTERS;
  2883. EXT_BUTTON = record
  2884. idCommand : WORD;
  2885. idsHelp : WORD;
  2886. fsStyle : WORD;
  2887. end;
  2888. LPEXT_BUTTON = ^EXT_BUTTON;
  2889. _EXT_BUTTON = EXT_BUTTON;
  2890. TEXTBUTTON = EXT_BUTTON;
  2891. PEXTBUTTON = ^EXT_BUTTON;
  2892. FILTERKEYS = record
  2893. cbSize : UINT;
  2894. dwFlags : DWORD;
  2895. iWaitMSec : DWORD;
  2896. iDelayMSec : DWORD;
  2897. iRepeatMSec : DWORD;
  2898. iBounceMSec : DWORD;
  2899. end;
  2900. tagFILTERKEYS = FILTERKEYS;
  2901. TFILTERKEYS = FILTERKEYS;
  2902. PFILTERKEYS = ^FILTERKEYS;
  2903. FIND_NAME_BUFFER = record
  2904. length : UCHAR;
  2905. access_control : UCHAR;
  2906. frame_control : UCHAR;
  2907. destination_addr : array[0..5] of UCHAR;
  2908. source_addr : array[0..5] of UCHAR;
  2909. routing_info : array[0..17] of UCHAR;
  2910. end;
  2911. _FIND_NAME_BUFFER = FIND_NAME_BUFFER;
  2912. TFINDNAMEBUFFER = FIND_NAME_BUFFER;
  2913. PFINDNAMEBUFFER = ^FIND_NAME_BUFFER;
  2914. FIND_NAME_HEADER = record
  2915. node_count : WORD;
  2916. reserved : UCHAR;
  2917. unique_group : UCHAR;
  2918. end;
  2919. _FIND_NAME_HEADER = FIND_NAME_HEADER;
  2920. TFINDNAMEHEADER = FIND_NAME_HEADER;
  2921. PFINDNAMEHEADER = ^FIND_NAME_HEADER;
  2922. FINDREPLACE = record
  2923. lStructSize : DWORD;
  2924. hwndOwner : HWND;
  2925. hInstance : HINST;
  2926. Flags : DWORD;
  2927. lpstrFindWhat : LPTSTR;
  2928. lpstrReplaceWith : LPTSTR;
  2929. wFindWhatLen : WORD;
  2930. wReplaceWithLen : WORD;
  2931. lCustData : LPARAM;
  2932. lpfnHook : LPFRHOOKPROC;
  2933. lpTemplateName : LPCTSTR;
  2934. end;
  2935. LPFINDREPLACE = ^FINDREPLACE;
  2936. TFINDREPLACE = FINDREPLACE;
  2937. PFINDREPLACE = ^FINDREPLACE;
  2938. {FINDTEXT = record conflicts with FindText function }
  2939. TFINDTEXT = record
  2940. chrg : CHARRANGE;
  2941. lpstrText : LPSTR;
  2942. end;
  2943. _findtext = TFINDTEXT;
  2944. Pfindtext = ^TFINDTEXT;
  2945. FINDTEXTEX = record
  2946. chrg : CHARRANGE;
  2947. lpstrText : LPSTR;
  2948. chrgText : CHARRANGE;
  2949. end;
  2950. _findtextex = FINDTEXTEX;
  2951. Tfindtextex = FINDTEXTEX;
  2952. Pfindtextex = ^FINDTEXTEX;
  2953. FMS_GETDRIVEINFO = record
  2954. dwTotalSpace : DWORD;
  2955. dwFreeSpace : DWORD;
  2956. szPath : array[0..259] of TCHAR;
  2957. szVolume : array[0..13] of TCHAR;
  2958. szShare : array[0..127] of TCHAR;
  2959. end;
  2960. _FMS_GETDRIVEINFO = FMS_GETDRIVEINFO;
  2961. TFMSGETDRIVEINFO = FMS_GETDRIVEINFO;
  2962. PFMSGETDRIVEINFO = ^FMS_GETDRIVEINFO;
  2963. FMS_GETFILESEL = record
  2964. ftTime : FILETIME;
  2965. dwSize : DWORD;
  2966. bAttr : BYTE;
  2967. szName : array[0..259] of TCHAR;
  2968. end;
  2969. _FMS_GETFILESEL = FMS_GETFILESEL;
  2970. TFMSGETFILESEL = FMS_GETFILESEL;
  2971. PFMSGETFILESEL = ^FMS_GETFILESEL;
  2972. FMS_LOAD = record
  2973. dwSize : DWORD;
  2974. szMenuName : array[0..(MENU_TEXT_LEN)-1] of TCHAR;
  2975. hMenu : HMENU;
  2976. wMenuDelta : UINT;
  2977. end;
  2978. _FMS_LOAD = FMS_LOAD;
  2979. TFMSLOAD = FMS_LOAD;
  2980. PFMSLOAD = ^FMS_LOAD;
  2981. FMS_TOOLBARLOAD = record
  2982. dwSize : DWORD;
  2983. lpButtons : LPEXT_BUTTON;
  2984. cButtons : WORD;
  2985. cBitmaps : WORD;
  2986. idBitmap : WORD;
  2987. hBitmap : HBITMAP;
  2988. end;
  2989. _FMS_TOOLBARLOAD = FMS_TOOLBARLOAD;
  2990. TFMSTOOLBARLOAD = FMS_TOOLBARLOAD;
  2991. PFMSTOOLBARLOAD = ^FMS_TOOLBARLOAD;
  2992. FOCUS_EVENT_RECORD = record
  2993. bSetFocus : WINBOOL;
  2994. end;
  2995. _FOCUS_EVENT_RECORD = FOCUS_EVENT_RECORD;
  2996. TFOCUSEVENTRECORD = FOCUS_EVENT_RECORD;
  2997. PFOCUSEVENTRECORD = ^FOCUS_EVENT_RECORD;
  2998. FORM_INFO_1 = record
  2999. Flags : DWORD;
  3000. pName : LPTSTR;
  3001. Size : SIZEL;
  3002. ImageableArea : RECTL;
  3003. end;
  3004. _FORM_INFO_1 = FORM_INFO_1;
  3005. TFORMINFO1 = FORM_INFO_1;
  3006. PFORMINFO1 = ^FORM_INFO_1;
  3007. FORMAT_PARAMETERS = record
  3008. MediaType : MEDIA_TYPE;
  3009. StartCylinderNumber : DWORD;
  3010. EndCylinderNumber : DWORD;
  3011. StartHeadNumber : DWORD;
  3012. EndHeadNumber : DWORD;
  3013. end;
  3014. _FORMAT_PARAMETERS = FORMAT_PARAMETERS;
  3015. TFORMATPARAMETERS = FORMAT_PARAMETERS;
  3016. PFORMATPARAMETERS = ^FORMAT_PARAMETERS;
  3017. FORMATRANGE = record
  3018. _hdc : HDC;
  3019. hdcTarget : HDC;
  3020. rc : RECT;
  3021. rcPage : RECT;
  3022. chrg : CHARRANGE;
  3023. end;
  3024. _formatrange = FORMATRANGE;
  3025. Tformatrange = FORMATRANGE;
  3026. Pformatrange = ^FORMATRANGE;
  3027. GCP_RESULTS = record
  3028. lStructSize : DWORD;
  3029. lpOutString : LPTSTR;
  3030. lpOrder : ^UINT;
  3031. lpDx : ^WINT;
  3032. lpCaretPos : ^WINT;
  3033. lpClass : LPTSTR;
  3034. lpGlyphs : ^UINT;
  3035. nGlyphs : UINT;
  3036. nMaxFit : UINT;
  3037. end;
  3038. LPGCP_RESULTS = ^GCP_RESULTS;
  3039. tagGCP_RESULTS = GCP_RESULTS;
  3040. TGCPRESULTS = GCP_RESULTS;
  3041. PGCPRESULTS = ^GCP_RESULTS;
  3042. GENERIC_MAPPING = record
  3043. GenericRead : ACCESS_MASK;
  3044. GenericWrite : ACCESS_MASK;
  3045. GenericExecute : ACCESS_MASK;
  3046. GenericAll : ACCESS_MASK;
  3047. end;
  3048. PGENERIC_MAPPING = ^GENERIC_MAPPING;
  3049. _GENERIC_MAPPING = GENERIC_MAPPING;
  3050. TGENERICMAPPING = GENERIC_MAPPING;
  3051. PGENERICMAPPING = ^GENERIC_MAPPING;
  3052. GLYPHMETRICS = record
  3053. gmBlackBoxX : UINT;
  3054. gmBlackBoxY : UINT;
  3055. gmptGlyphOrigin : POINT;
  3056. gmCellIncX : integer;
  3057. gmCellIncY : integer;
  3058. end;
  3059. LPGLYPHMETRICS = ^GLYPHMETRICS;
  3060. _GLYPHMETRICS = GLYPHMETRICS;
  3061. TGLYPHMETRICS = GLYPHMETRICS;
  3062. PGLYPHMETRICS = ^GLYPHMETRICS;
  3063. HANDLETABLE = record
  3064. objectHandle : array[0..0] of HGDIOBJ;
  3065. end;
  3066. tagHANDLETABLE = HANDLETABLE;
  3067. THANDLETABLE = HANDLETABLE;
  3068. LPHANDLETABLE = ^HANDLETABLE;
  3069. HD_HITTESTINFO = record
  3070. pt : POINT;
  3071. flags : UINT;
  3072. iItem : longint;
  3073. end;
  3074. _HD_HITTESTINFO = HD_HITTESTINFO;
  3075. THDHITTESTINFO = HD_HITTESTINFO;
  3076. PHDHITTESTINFO = ^HD_HITTESTINFO;
  3077. HD_ITEM = record
  3078. mask : UINT;
  3079. cxy : longint;
  3080. pszText : LPTSTR;
  3081. hbm : HBITMAP;
  3082. cchTextMax : longint;
  3083. fmt : longint;
  3084. lParam : LPARAM;
  3085. end;
  3086. _HD_ITEM = HD_ITEM;
  3087. THDITEM = HD_ITEM;
  3088. PHDITEM = ^HD_ITEM;
  3089. WINDOWPOS = record
  3090. _hwnd : HWND;
  3091. hwndInsertAfter : HWND;
  3092. x : longint;
  3093. y : longint;
  3094. cx : longint;
  3095. cy : longint;
  3096. flags : UINT;
  3097. end;
  3098. LPWINDOWPOS = ^WINDOWPOS;
  3099. _WINDOWPOS = WINDOWPOS;
  3100. TWINDOWPOS = WINDOWPOS;
  3101. PWINDOWPOS = ^WINDOWPOS;
  3102. HD_LAYOUT = record
  3103. prc : ^RECT;
  3104. pwpos : ^WINDOWPOS;
  3105. end;
  3106. _HD_LAYOUT = HD_LAYOUT;
  3107. THDLAYOUT = HD_LAYOUT;
  3108. PHDLAYOUT = ^HD_LAYOUT;
  3109. HD_NOTIFY = record
  3110. hdr : NMHDR;
  3111. iItem : longint;
  3112. iButton : longint;
  3113. pitem : ^HD_ITEM;
  3114. end;
  3115. _HD_NOTIFY = HD_NOTIFY;
  3116. THDNOTIFY = HD_NOTIFY;
  3117. PHDNOTIFY = ^HD_NOTIFY;
  3118. HELPINFO = record
  3119. cbSize : UINT;
  3120. iContextType : longint;
  3121. iCtrlId : longint;
  3122. hItemHandle : HANDLE;
  3123. dwContextId : DWORD;
  3124. MousePos : POINT;
  3125. end;
  3126. LPHELPINFO = ^HELPINFO;
  3127. tagHELPINFO = HELPINFO;
  3128. THELPINFO = HELPINFO;
  3129. PHELPINFO = ^HELPINFO;
  3130. HELPWININFO = record
  3131. wStructSize : longint;
  3132. x : longint;
  3133. y : longint;
  3134. dx : longint;
  3135. dy : longint;
  3136. wMax : longint;
  3137. rgchMember : array[0..1] of TCHAR;
  3138. end;
  3139. THELPWININFO = HELPWININFO;
  3140. PHELPWININFO = ^HELPWININFO;
  3141. HIGHCONTRAST = record
  3142. cbSize : UINT;
  3143. dwFlags : DWORD;
  3144. lpszDefaultScheme : LPTSTR;
  3145. end;
  3146. LPHIGHCONTRAST = ^HIGHCONTRAST;
  3147. tagHIGHCONTRAST = HIGHCONTRAST;
  3148. THIGHCONTRAST = HIGHCONTRAST;
  3149. PHIGHCONTRAST = ^HIGHCONTRAST;
  3150. HSZPAIR = record
  3151. hszSvc : HSZ;
  3152. hszTopic : HSZ;
  3153. end;
  3154. tagHSZPAIR = HSZPAIR;
  3155. THSZPAIR = HSZPAIR;
  3156. PHSZPAIR = ^HSZPAIR;
  3157. ICONINFO = record
  3158. fIcon : WINBOOL;
  3159. xHotspot : DWORD;
  3160. yHotspot : DWORD;
  3161. hbmMask : HBITMAP;
  3162. hbmColor : HBITMAP;
  3163. end;
  3164. _ICONINFO = ICONINFO;
  3165. TICONINFO = ICONINFO;
  3166. PICONINFO = ^ICONINFO;
  3167. ICONMETRICS = record
  3168. cbSize : UINT;
  3169. iHorzSpacing : longint;
  3170. iVertSpacing : longint;
  3171. iTitleWrap : longint;
  3172. lfFont : LOGFONT;
  3173. end;
  3174. LPICONMETRICS = ^ICONMETRICS;
  3175. tagICONMETRICS = ICONMETRICS;
  3176. TICONMETRICS = ICONMETRICS;
  3177. PICONMETRICS = ^ICONMETRICS;
  3178. IMAGEINFO = record
  3179. hbmImage : HBITMAP;
  3180. hbmMask : HBITMAP;
  3181. Unused1 : longint;
  3182. Unused2 : longint;
  3183. rcImage : RECT;
  3184. end;
  3185. _IMAGEINFO = IMAGEINFO;
  3186. TIMAGEINFO = IMAGEINFO;
  3187. PIMAGEINFO = ^IMAGEINFO;
  3188. KEY_EVENT_RECORD = packed record
  3189. bKeyDown : WINBOOL;
  3190. wRepeatCount : WORD;
  3191. wVirtualKeyCode : WORD;
  3192. wVirtualScanCode : WORD;
  3193. case longint of
  3194. 0 : ( UnicodeChar : WCHAR;
  3195. dwControlKeyState : DWORD; );
  3196. 1 : ( AsciiChar : CHAR );
  3197. end;
  3198. _KEY_EVENT_RECORD = KEY_EVENT_RECORD;
  3199. TKEYEVENTRECORD = KEY_EVENT_RECORD;
  3200. PKEYEVENTRECORD = ^KEY_EVENT_RECORD;
  3201. MOUSE_EVENT_RECORD = record
  3202. dwMousePosition : COORD;
  3203. dwButtonState : DWORD;
  3204. dwControlKeyState : DWORD;
  3205. dwEventFlags : DWORD;
  3206. end;
  3207. _MOUSE_EVENT_RECORD = MOUSE_EVENT_RECORD;
  3208. TMOUSEEVENTRECORD = MOUSE_EVENT_RECORD;
  3209. PMOUSEEVENTRECORD = ^MOUSE_EVENT_RECORD;
  3210. WINDOW_BUFFER_SIZE_RECORD = record
  3211. dwSize : COORD;
  3212. end;
  3213. _WINDOW_BUFFER_SIZE_RECORD = WINDOW_BUFFER_SIZE_RECORD;
  3214. TWINDOWBUFFERSIZERECORD = WINDOW_BUFFER_SIZE_RECORD;
  3215. PWINDOWBUFFERSIZERECORD = ^WINDOW_BUFFER_SIZE_RECORD;
  3216. MENU_EVENT_RECORD = record
  3217. dwCommandId : UINT;
  3218. end;
  3219. PMENU_EVENT_RECORD = ^MENU_EVENT_RECORD;
  3220. _MENU_EVENT_RECORD = MENU_EVENT_RECORD;
  3221. TMENUEVENTRECORD = MENU_EVENT_RECORD;
  3222. PMENUEVENTRECORD = ^MENU_EVENT_RECORD;
  3223. INPUT_RECORD = record
  3224. EventType: Word;
  3225. Reserved: Word;
  3226. Event : record case longint of
  3227. 0 : ( KeyEvent : KEY_EVENT_RECORD );
  3228. 1 : ( MouseEvent : MOUSE_EVENT_RECORD );
  3229. 2 : ( WindowBufferSizeEvent : WINDOW_BUFFER_SIZE_RECORD );
  3230. 3 : ( MenuEvent : MENU_EVENT_RECORD );
  3231. 4 : ( FocusEvent : FOCUS_EVENT_RECORD );
  3232. end;
  3233. end;
  3234. PINPUT_RECORD = ^INPUT_RECORD;
  3235. _INPUT_RECORD = INPUT_RECORD;
  3236. TINPUTRECORD = INPUT_RECORD;
  3237. PINPUTRECORD = ^INPUT_RECORD;
  3238. SYSTEMTIME = record
  3239. case integer of
  3240. 1 : (
  3241. wYear : WORD;
  3242. wMonth : WORD;
  3243. wDayOfWeek : WORD;
  3244. wDay : WORD;
  3245. wHour : WORD;
  3246. wMinute : WORD;
  3247. wSecond : WORD;
  3248. wMilliseconds : WORD;
  3249. );
  3250. { Compatibility for FPC }
  3251. 2 : (
  3252. Year : WORD;
  3253. Month : WORD;
  3254. DayOfWeek : WORD;
  3255. Day : WORD;
  3256. Hour : WORD;
  3257. Minute : WORD;
  3258. Second : WORD;
  3259. Millisecond : WORD;
  3260. );
  3261. end;
  3262. LPSYSTEMTIME = ^SYSTEMTIME;
  3263. _SYSTEMTIME = SYSTEMTIME;
  3264. TSYSTEMTIME = SYSTEMTIME;
  3265. PSYSTEMTIME = ^SYSTEMTIME;
  3266. JOB_INFO_1 = record
  3267. JobId : DWORD;
  3268. pPrinterName : LPTSTR;
  3269. pMachineName : LPTSTR;
  3270. pUserName : LPTSTR;
  3271. pDocument : LPTSTR;
  3272. pDatatype : LPTSTR;
  3273. pStatus : LPTSTR;
  3274. Status : DWORD;
  3275. Priority : DWORD;
  3276. Position : DWORD;
  3277. TotalPages : DWORD;
  3278. PagesPrinted : DWORD;
  3279. Submitted : SYSTEMTIME;
  3280. end;
  3281. _JOB_INFO_1 = JOB_INFO_1;
  3282. TJOBINFO1 = JOB_INFO_1;
  3283. PJOBINFO1 = ^JOB_INFO_1;
  3284. SID_IDENTIFIER_AUTHORITY = record
  3285. Value : array[0..5] of BYTE;
  3286. end;
  3287. LPSID_IDENTIFIER_AUTHORITY = ^SID_IDENTIFIER_AUTHORITY;
  3288. PSID_IDENTIFIER_AUTHORITY = ^SID_IDENTIFIER_AUTHORITY;
  3289. _SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY;
  3290. TSIDIDENTIFIERAUTHORITY = SID_IDENTIFIER_AUTHORITY;
  3291. PSIDIDENTIFIERAUTHORITY = ^SID_IDENTIFIER_AUTHORITY;
  3292. SID = record
  3293. Revision : BYTE;
  3294. SubAuthorityCount : BYTE;
  3295. IdentifierAuthority : SID_IDENTIFIER_AUTHORITY;
  3296. SubAuthority : array[0..(ANYSIZE_ARRAY)-1] of DWORD;
  3297. end;
  3298. _SID = SID;
  3299. TSID = SID;
  3300. PSID = ^SID;
  3301. SECURITY_DESCRIPTOR_CONTROL = WORD;
  3302. PSECURITY_DESCRIPTOR_CONTROL = ^SECURITY_DESCRIPTOR_CONTROL;
  3303. TSECURITYDESCRIPTORCONTROL = SECURITY_DESCRIPTOR_CONTROL;
  3304. PSECURITYDESCRIPTORCONTROL = ^SECURITY_DESCRIPTOR_CONTROL;
  3305. SECURITY_DESCRIPTOR = record
  3306. Revision : BYTE;
  3307. Sbz1 : BYTE;
  3308. Control : SECURITY_DESCRIPTOR_CONTROL;
  3309. Owner : PSID;
  3310. Group : PSID;
  3311. Sacl : PACL;
  3312. Dacl : PACL;
  3313. end;
  3314. PSECURITY_DESCRIPTOR = ^SECURITY_DESCRIPTOR;
  3315. _SECURITY_DESCRIPTOR = SECURITY_DESCRIPTOR;
  3316. TSECURITYDESCRIPTOR = SECURITY_DESCRIPTOR;
  3317. PSECURITYDESCRIPTOR = ^SECURITY_DESCRIPTOR;
  3318. JOB_INFO_2 = record
  3319. JobId : DWORD;
  3320. pPrinterName : LPTSTR;
  3321. pMachineName : LPTSTR;
  3322. pUserName : LPTSTR;
  3323. pDocument : LPTSTR;
  3324. pNotifyName : LPTSTR;
  3325. pDatatype : LPTSTR;
  3326. pPrintProcessor : LPTSTR;
  3327. pParameters : LPTSTR;
  3328. pDriverName : LPTSTR;
  3329. pDevMode : LPDEVMODE;
  3330. pStatus : LPTSTR;
  3331. pSecurityDescriptor : PSECURITY_DESCRIPTOR;
  3332. Status : DWORD;
  3333. Priority : DWORD;
  3334. Position : DWORD;
  3335. StartTime : DWORD;
  3336. UntilTime : DWORD;
  3337. TotalPages : DWORD;
  3338. Size : DWORD;
  3339. Submitted : SYSTEMTIME;
  3340. Time : DWORD;
  3341. PagesPrinted : DWORD;
  3342. end;
  3343. _JOB_INFO_2 = JOB_INFO_2;
  3344. TJOBINFO2 = JOB_INFO_2;
  3345. PJOBINFO2 = ^JOB_INFO_2;
  3346. KERNINGPAIR = record
  3347. wFirst : WORD;
  3348. wSecond : WORD;
  3349. iKernAmount : longint;
  3350. end;
  3351. LPKERNINGPAIR = ^KERNINGPAIR;
  3352. tagKERNINGPAIR = KERNINGPAIR;
  3353. TKERNINGPAIR = KERNINGPAIR;
  3354. PKERNINGPAIR = ^KERNINGPAIR;
  3355. LANA_ENUM = record
  3356. length : UCHAR;
  3357. lana : array[0..(MAX_LANA)-1] of UCHAR;
  3358. end;
  3359. _LANA_ENUM = LANA_ENUM;
  3360. TLANAENUM = LANA_ENUM;
  3361. PLANAENUM = ^LANA_ENUM;
  3362. LDT_ENTRY = record
  3363. LimitLow : WORD;
  3364. BaseLow : WORD;
  3365. HighWord : record
  3366. case longint of
  3367. 0 : ( Bytes : record
  3368. BaseMid : BYTE;
  3369. Flags1 : BYTE;
  3370. Flags2 : BYTE;
  3371. BaseHi : BYTE;
  3372. end );
  3373. 1 : ( Bits : record
  3374. flag0 : longint;
  3375. end );
  3376. end;
  3377. end;
  3378. LPLDT_ENTRY = ^LDT_ENTRY;
  3379. PLDT_ENTRY = ^LDT_ENTRY;
  3380. _LDT_ENTRY = LDT_ENTRY;
  3381. TLDTENTRY = LDT_ENTRY;
  3382. PLDTENTRY = ^LDT_ENTRY;
  3383. const
  3384. bm_LDT_ENTRY_BaseMid = $FF;
  3385. bp_LDT_ENTRY_BaseMid = 0;
  3386. bm_LDT_ENTRY_Type = $1F00;
  3387. bp_LDT_ENTRY_Type = 8;
  3388. bm_LDT_ENTRY_Dpl = $6000;
  3389. bp_LDT_ENTRY_Dpl = 13;
  3390. bm_LDT_ENTRY_Pres = $8000;
  3391. bp_LDT_ENTRY_Pres = 15;
  3392. bm_LDT_ENTRY_LimitHi = $F0000;
  3393. bp_LDT_ENTRY_LimitHi = 16;
  3394. bm_LDT_ENTRY_Sys = $100000;
  3395. bp_LDT_ENTRY_Sys = 20;
  3396. bm_LDT_ENTRY_Reserved_0 = $200000;
  3397. bp_LDT_ENTRY_Reserved_0 = 21;
  3398. bm_LDT_ENTRY_Default_Big = $400000;
  3399. bp_LDT_ENTRY_Default_Big = 22;
  3400. bm_LDT_ENTRY_Granularity = $800000;
  3401. bp_LDT_ENTRY_Granularity = 23;
  3402. bm_LDT_ENTRY_BaseHi = $FF000000;
  3403. bp_LDT_ENTRY_BaseHi = 24;
  3404. type
  3405. LOCALESIGNATURE = record
  3406. lsUsb : array[0..3] of DWORD;
  3407. lsCsbDefault : array[0..1] of DWORD;
  3408. lsCsbSupported : array[0..1] of DWORD;
  3409. end;
  3410. tagLOCALESIGNATURE = LOCALESIGNATURE;
  3411. TLOCALESIGNATURE = LOCALESIGNATURE;
  3412. PLOCALESIGNATURE = ^LOCALESIGNATURE;
  3413. LOCALGROUP_MEMBERS_INFO_0 = record
  3414. lgrmi0_sid : PSID;
  3415. end;
  3416. _LOCALGROUP_MEMBERS_INFO_0 = LOCALGROUP_MEMBERS_INFO_0;
  3417. TLOCALGROUPMEMBERSINFO0 = LOCALGROUP_MEMBERS_INFO_0;
  3418. PLOCALGROUPMEMBERSINFO0 = ^LOCALGROUP_MEMBERS_INFO_0;
  3419. LOCALGROUP_MEMBERS_INFO_3 = record
  3420. lgrmi3_domainandname : LPWSTR;
  3421. end;
  3422. _LOCALGROUP_MEMBERS_INFO_3 = LOCALGROUP_MEMBERS_INFO_3;
  3423. TLOCALGROUPMEMBERSINFO3 = LOCALGROUP_MEMBERS_INFO_3;
  3424. PLOCALGROUPMEMBERSINFO3 = ^LOCALGROUP_MEMBERS_INFO_3;
  3425. FXPT16DOT16 = longint;
  3426. LPFXPT16DOT16 = ^FXPT16DOT16;
  3427. TFXPT16DOT16 = FXPT16DOT16;
  3428. PFXPT16DOT16 = ^FXPT16DOT16;
  3429. LUID = TlargeInteger;
  3430. TLUID = LUID;
  3431. PLUID = ^LUID;
  3432. LUID_AND_ATTRIBUTES = record
  3433. Luid : LUID;
  3434. Attributes : DWORD;
  3435. end;
  3436. _LUID_AND_ATTRIBUTES = LUID_AND_ATTRIBUTES;
  3437. TLUIDANDATTRIBUTES = LUID_AND_ATTRIBUTES;
  3438. PLUIDANDATTRIBUTES = ^LUID_AND_ATTRIBUTES;
  3439. LUID_AND_ATTRIBUTES_ARRAY = array[0..(ANYSIZE_ARRAY)-1] of LUID_AND_ATTRIBUTES;
  3440. PLUID_AND_ATTRIBUTES_ARRAY = ^LUID_AND_ATTRIBUTES_ARRAY;
  3441. TLUIDANDATTRIBUTESARRAY = LUID_AND_ATTRIBUTES_ARRAY;
  3442. PLUIDANDATTRIBUTESARRAY = ^LUID_AND_ATTRIBUTES_ARRAY;
  3443. LV_COLUMN = record
  3444. mask : UINT;
  3445. fmt : longint;
  3446. cx : longint;
  3447. pszText : LPTSTR;
  3448. cchTextMax : longint;
  3449. iSubItem : longint;
  3450. end;
  3451. _LV_COLUMN = LV_COLUMN;
  3452. TLVCOLUMN = LV_COLUMN;
  3453. PLVCOLUMN = ^LV_COLUMN;
  3454. LV_ITEM = record
  3455. mask : UINT;
  3456. iItem : longint;
  3457. iSubItem : longint;
  3458. state : UINT;
  3459. stateMask : UINT;
  3460. pszText : LPTSTR;
  3461. cchTextMax : longint;
  3462. iImage : longint;
  3463. lParam : LPARAM;
  3464. end;
  3465. _LV_ITEM = LV_ITEM;
  3466. TLVITEM = LV_ITEM;
  3467. PLVITEM = ^LV_ITEM;
  3468. LV_DISPINFO = record
  3469. hdr : NMHDR;
  3470. item : LV_ITEM;
  3471. end;
  3472. tagLV_DISPINFO = LV_DISPINFO;
  3473. TLVDISPINFO = LV_DISPINFO;
  3474. PLVDISPINFO = ^LV_DISPINFO;
  3475. LV_FINDINFO = record
  3476. flags : UINT;
  3477. psz : LPCTSTR;
  3478. lParam : LPARAM;
  3479. pt : POINT;
  3480. vkDirection : UINT;
  3481. end;
  3482. _LV_FINDINFO = LV_FINDINFO;
  3483. TLVFINDINFO = LV_FINDINFO;
  3484. PLVFINDINFO = ^LV_FINDINFO;
  3485. LV_HITTESTINFO = record
  3486. pt : POINT;
  3487. flags : UINT;
  3488. iItem : longint;
  3489. end;
  3490. _LV_HITTESTINFO = LV_HITTESTINFO;
  3491. TLVHITTESTINFO = LV_HITTESTINFO;
  3492. PLVHITTESTINFO = ^LV_HITTESTINFO;
  3493. LV_KEYDOWN = record
  3494. hdr : NMHDR;
  3495. wVKey : WORD;
  3496. flags : UINT;
  3497. end;
  3498. tagLV_KEYDOWN = LV_KEYDOWN;
  3499. TLVKEYDOWN = LV_KEYDOWN;
  3500. PLVKEYDOWN = ^LV_KEYDOWN;
  3501. MAT2 = record
  3502. eM11 : FIXED;
  3503. eM12 : FIXED;
  3504. eM21 : FIXED;
  3505. eM22 : FIXED;
  3506. end;
  3507. _MAT2 = MAT2;
  3508. TMAT2 = MAT2;
  3509. PMAT2 = ^MAT2;
  3510. MDICREATESTRUCT = record
  3511. szClass : LPCTSTR;
  3512. szTitle : LPCTSTR;
  3513. hOwner : HANDLE;
  3514. x : longint;
  3515. y : longint;
  3516. cx : longint;
  3517. cy : longint;
  3518. style : DWORD;
  3519. lParam : LPARAM;
  3520. end;
  3521. LPMDICREATESTRUCT = ^MDICREATESTRUCT;
  3522. tagMDICREATESTRUCT = MDICREATESTRUCT;
  3523. TMDICREATESTRUCT = MDICREATESTRUCT;
  3524. PMDICREATESTRUCT = ^MDICREATESTRUCT;
  3525. MEASUREITEMSTRUCT = record
  3526. CtlType : UINT;
  3527. CtlID : UINT;
  3528. itemID : UINT;
  3529. itemWidth : UINT;
  3530. itemHeight : UINT;
  3531. itemData : DWORD;
  3532. end;
  3533. LPMEASUREITEMSTRUCT = ^MEASUREITEMSTRUCT;
  3534. tagMEASUREITEMSTRUCT = MEASUREITEMSTRUCT;
  3535. TMEASUREITEMSTRUCT = MEASUREITEMSTRUCT;
  3536. PMEASUREITEMSTRUCT = ^MEASUREITEMSTRUCT;
  3537. MEMORY_BASIC_INFORMATION = record
  3538. BaseAddress : PVOID;
  3539. AllocationBase : PVOID;
  3540. AllocationProtect : DWORD;
  3541. RegionSize : DWORD;
  3542. State : DWORD;
  3543. Protect : DWORD;
  3544. _Type : DWORD;
  3545. end;
  3546. PMEMORY_BASIC_INFORMATION = ^MEMORY_BASIC_INFORMATION;
  3547. _MEMORY_BASIC_INFORMATION = MEMORY_BASIC_INFORMATION;
  3548. TMEMORYBASICINFORMATION = MEMORY_BASIC_INFORMATION;
  3549. PMEMORYBASICINFORMATION = ^MEMORY_BASIC_INFORMATION;
  3550. MEMORYSTATUS = record
  3551. dwLength : DWORD;
  3552. dwMemoryLoad : DWORD;
  3553. dwTotalPhys : DWORD;
  3554. dwAvailPhys : DWORD;
  3555. dwTotalPageFile : DWORD;
  3556. dwAvailPageFile : DWORD;
  3557. dwTotalVirtual : DWORD;
  3558. dwAvailVirtual : DWORD;
  3559. end;
  3560. LPMEMORYSTATUS = ^MEMORYSTATUS;
  3561. _MEMORYSTATUS = MEMORYSTATUS;
  3562. TMEMORYSTATUS = MEMORYSTATUS;
  3563. PMEMORYSTATUS = ^MEMORYSTATUS;
  3564. MENUEX_TEMPLATE_HEADER = record
  3565. wVersion : WORD;
  3566. wOffset : WORD;
  3567. dwHelpId : DWORD;
  3568. end;
  3569. TMENUXTEMPLATEHEADER = MENUEX_TEMPLATE_HEADER;
  3570. PMENUXTEMPLATEHEADER = ^MENUEX_TEMPLATE_HEADER;
  3571. MENUEX_TEMPLATE_ITEM = record
  3572. dwType : DWORD;
  3573. dwState : DWORD;
  3574. uId : UINT;
  3575. bResInfo : BYTE;
  3576. szText : array[0..0] of WCHAR;
  3577. dwHelpId : DWORD;
  3578. end;
  3579. TMENUEXTEMPLATEITEM = MENUEX_TEMPLATE_ITEM;
  3580. PMENUEXTEMPLATEITEM = ^MENUEX_TEMPLATE_ITEM;
  3581. MENUITEMINFO = record
  3582. cbSize : UINT;
  3583. fMask : UINT;
  3584. fType : UINT;
  3585. fState : UINT;
  3586. wID : UINT;
  3587. hSubMenu : HMENU;
  3588. hbmpChecked : HBITMAP;
  3589. hbmpUnchecked : HBITMAP;
  3590. dwItemData : DWORD;
  3591. dwTypeData : LPTSTR;
  3592. cch : UINT;
  3593. end;
  3594. LPMENUITEMINFO = ^MENUITEMINFO;
  3595. LPCMENUITEMINFO = ^MENUITEMINFO;
  3596. tagMENUITEMINFO = MENUITEMINFO;
  3597. TMENUITEMINFO = MENUITEMINFO;
  3598. TMENUITEMINFOA = MENUITEMINFO;
  3599. PMENUITEMINFO = ^MENUITEMINFO;
  3600. MENUITEMTEMPLATE = record
  3601. mtOption : WORD;
  3602. mtID : WORD;
  3603. mtString : array[0..0] of WCHAR;
  3604. end;
  3605. TMENUITEMTEMPLATE = MENUITEMTEMPLATE;
  3606. PMENUITEMTEMPLATE = ^MENUITEMTEMPLATE;
  3607. MENUITEMTEMPLATEHEADER = record
  3608. versionNumber : WORD;
  3609. offset : WORD;
  3610. end;
  3611. TMENUITEMTEMPLATEHEADER = MENUITEMTEMPLATEHEADER;
  3612. PMENUITEMTEMPLATEHEADER = ^MENUITEMTEMPLATEHEADER;
  3613. MENUTEMPLATE = record
  3614. end;
  3615. LPMENUTEMPLATE = ^MENUTEMPLATE;
  3616. TMENUTEMPLATE = MENUTEMPLATE;
  3617. PMENUTEMPLATE = ^MENUTEMPLATE;
  3618. METAFILEPICT = record
  3619. mm : LONG;
  3620. xExt : LONG;
  3621. yExt : LONG;
  3622. hMF : HMETAFILE;
  3623. end;
  3624. LPMETAFILEPICT = ^METAFILEPICT;
  3625. tagMETAFILEPICT = METAFILEPICT;
  3626. TMETAFILEPICT = METAFILEPICT;
  3627. PMETAFILEPICT = ^METAFILEPICT;
  3628. METAHEADER = packed record
  3629. mtType : WORD;
  3630. mtHeaderSize : WORD;
  3631. mtVersion : WORD;
  3632. mtSize : DWORD;
  3633. mtNoObjects : WORD;
  3634. mtMaxRecord : DWORD;
  3635. mtNoParameters : WORD;
  3636. end;
  3637. tagMETAHEADER = METAHEADER;
  3638. TMETAHEADER = METAHEADER;
  3639. PMETAHEADER = ^METAHEADER;
  3640. METARECORD = record
  3641. rdSize : DWORD;
  3642. rdFunction : WORD;
  3643. rdParm : array[0..0] of WORD;
  3644. end;
  3645. LPMETARECORD = ^METARECORD;
  3646. tagMETARECORD = METARECORD;
  3647. TMETARECORD = METARECORD;
  3648. PMETARECORD = ^METARECORD;
  3649. MINIMIZEDMETRICS = record
  3650. cbSize : UINT;
  3651. iWidth : longint;
  3652. iHorzGap : longint;
  3653. iVertGap : longint;
  3654. iArrange : longint;
  3655. end;
  3656. LPMINIMIZEDMETRICS = ^MINIMIZEDMETRICS;
  3657. tagMINIMIZEDMETRICS = MINIMIZEDMETRICS;
  3658. TMINIMIZEDMETRICS = MINIMIZEDMETRICS;
  3659. PMINIMIZEDMETRICS = ^MINIMIZEDMETRICS;
  3660. MINMAXINFO = record
  3661. ptReserved : POINT;
  3662. ptMaxSize : POINT;
  3663. ptMaxPosition : POINT;
  3664. ptMinTrackSize : POINT;
  3665. ptMaxTrackSize : POINT;
  3666. end;
  3667. tagMINMAXINFO = MINMAXINFO;
  3668. TMINMAXINFO = MINMAXINFO;
  3669. PMINMAXINFO = ^MINMAXINFO;
  3670. MODEMDEVCAPS = record
  3671. dwActualSize : DWORD;
  3672. dwRequiredSize : DWORD;
  3673. dwDevSpecificOffset : DWORD;
  3674. dwDevSpecificSize : DWORD;
  3675. dwModemProviderVersion : DWORD;
  3676. dwModemManufacturerOffset : DWORD;
  3677. dwModemManufacturerSize : DWORD;
  3678. dwModemModelOffset : DWORD;
  3679. dwModemModelSize : DWORD;
  3680. dwModemVersionOffset : DWORD;
  3681. dwModemVersionSize : DWORD;
  3682. dwDialOptions : DWORD;
  3683. dwCallSetupFailTimer : DWORD;
  3684. dwInactivityTimeout : DWORD;
  3685. dwSpeakerVolume : DWORD;
  3686. dwSpeakerMode : DWORD;
  3687. dwModemOptions : DWORD;
  3688. dwMaxDTERate : DWORD;
  3689. dwMaxDCERate : DWORD;
  3690. abVariablePortion : array[0..0] of BYTE;
  3691. end;
  3692. LPMODEMDEVCAPS = ^MODEMDEVCAPS;
  3693. TMODEMDEVCAPS = MODEMDEVCAPS;
  3694. PMODEMDEVCAPS = ^MODEMDEVCAPS;
  3695. modemdevcaps_tag = MODEMDEVCAPS;
  3696. MODEMSETTINGS = record
  3697. dwActualSize : DWORD;
  3698. dwRequiredSize : DWORD;
  3699. dwDevSpecificOffset : DWORD;
  3700. dwDevSpecificSize : DWORD;
  3701. dwCallSetupFailTimer : DWORD;
  3702. dwInactivityTimeout : DWORD;
  3703. dwSpeakerVolume : DWORD;
  3704. dwSpeakerMode : DWORD;
  3705. dwPreferredModemOptions : DWORD;
  3706. dwNegotiatedModemOptions : DWORD;
  3707. dwNegotiatedDCERate : DWORD;
  3708. abVariablePortion : array[0..0] of BYTE;
  3709. end;
  3710. LPMODEMSETTINGS = ^MODEMSETTINGS;
  3711. TMODEMSETTINGS = MODEMSETTINGS;
  3712. PMODEMSETTINGS = ^MODEMSETTINGS;
  3713. modemsettings_tag = MODEMSETTINGS;
  3714. MONCBSTRUCT = record
  3715. cb : UINT;
  3716. dwTime : DWORD;
  3717. hTask : HANDLE;
  3718. dwRet : DWORD;
  3719. wType : UINT;
  3720. wFmt : UINT;
  3721. hConv : HCONV;
  3722. hsz1 : HSZ;
  3723. hsz2 : HSZ;
  3724. hData : HDDEDATA;
  3725. dwData1 : DWORD;
  3726. dwData2 : DWORD;
  3727. cc : CONVCONTEXT;
  3728. cbData : DWORD;
  3729. Data : array[0..7] of DWORD;
  3730. end;
  3731. tagMONCBSTRUCT = MONCBSTRUCT;
  3732. TMONCBSTRUCT = MONCBSTRUCT;
  3733. PMONCBSTRUCT = ^MONCBSTRUCT;
  3734. MONCONVSTRUCT = record
  3735. cb : UINT;
  3736. fConnect : WINBOOL;
  3737. dwTime : DWORD;
  3738. hTask : HANDLE;
  3739. hszSvc : HSZ;
  3740. hszTopic : HSZ;
  3741. hConvClient : HCONV;
  3742. hConvServer : HCONV;
  3743. end;
  3744. tagMONCONVSTRUCT = MONCONVSTRUCT;
  3745. TMONCONVSTRUCT = MONCONVSTRUCT;
  3746. PMONCONVSTRUCT = ^MONCONVSTRUCT;
  3747. MONERRSTRUCT = record
  3748. cb : UINT;
  3749. wLastError : UINT;
  3750. dwTime : DWORD;
  3751. hTask : HANDLE;
  3752. end;
  3753. tagMONERRSTRUCT = MONERRSTRUCT;
  3754. TMONERRSTRUCT = MONERRSTRUCT;
  3755. PMONERRSTRUCT = ^MONERRSTRUCT;
  3756. MONHSZSTRUCT = record
  3757. cb : UINT;
  3758. fsAction : WINBOOL;
  3759. dwTime : DWORD;
  3760. hsz : HSZ;
  3761. hTask : HANDLE;
  3762. str : array[0..0] of TCHAR;
  3763. end;
  3764. tagMONHSZSTRUCT = MONHSZSTRUCT;
  3765. TMONHSZSTRUCT = MONHSZSTRUCT;
  3766. PMONHSZSTRUCT = ^MONHSZSTRUCT;
  3767. MONITOR_INFO_1 = record
  3768. pName : LPTSTR;
  3769. end;
  3770. _MONITOR_INFO_1 = MONITOR_INFO_1;
  3771. TMONITORINFO1 = MONITOR_INFO_1;
  3772. PMONITORINFO1 = ^MONITOR_INFO_1;
  3773. MONITOR_INFO_2 = record
  3774. pName : LPTSTR;
  3775. pEnvironment : LPTSTR;
  3776. pDLLName : LPTSTR;
  3777. end;
  3778. _MONITOR_INFO_2 = MONITOR_INFO_2;
  3779. TMONITORINFO2 = MONITOR_INFO_2;
  3780. PMONITORINFO2 = ^MONITOR_INFO_2;
  3781. MONLINKSTRUCT = record
  3782. cb : UINT;
  3783. dwTime : DWORD;
  3784. hTask : HANDLE;
  3785. fEstablished : WINBOOL;
  3786. fNoData : WINBOOL;
  3787. hszSvc : HSZ;
  3788. hszTopic : HSZ;
  3789. hszItem : HSZ;
  3790. wFmt : UINT;
  3791. fServer : WINBOOL;
  3792. hConvServer : HCONV;
  3793. hConvClient : HCONV;
  3794. end;
  3795. tagMONLINKSTRUCT = MONLINKSTRUCT;
  3796. TMONLINKSTRUCT = MONLINKSTRUCT;
  3797. PMONLINKSTRUCT = ^MONLINKSTRUCT;
  3798. MONMSGSTRUCT = record
  3799. cb : UINT;
  3800. hwndTo : HWND;
  3801. dwTime : DWORD;
  3802. hTask : HANDLE;
  3803. wMsg : UINT;
  3804. wParam : WPARAM;
  3805. lParam : LPARAM;
  3806. dmhd : DDEML_MSG_HOOK_DATA;
  3807. end;
  3808. tagMONMSGSTRUCT = MONMSGSTRUCT;
  3809. TMONMSGSTRUCT = MONMSGSTRUCT;
  3810. PMONMSGSTRUCT = ^MONMSGSTRUCT;
  3811. MOUSEHOOKSTRUCT = record
  3812. pt : POINT;
  3813. hwnd : HWND;
  3814. wHitTestCode : UINT;
  3815. dwExtraInfo : DWORD;
  3816. end;
  3817. LPMOUSEHOOKSTRUCT = ^MOUSEHOOKSTRUCT;
  3818. tagMOUSEHOOKSTRUCT = MOUSEHOOKSTRUCT;
  3819. TMOUSEHOOKSTRUCT = MOUSEHOOKSTRUCT;
  3820. PMOUSEHOOKSTRUCT = ^MOUSEHOOKSTRUCT;
  3821. MOUSEKEYS = record
  3822. cbSize : DWORD;
  3823. dwFlags : DWORD;
  3824. iMaxSpeed : DWORD;
  3825. iTimeToMaxSpeed : DWORD;
  3826. iCtrlSpeed : DWORD;
  3827. dwReserved1 : DWORD;
  3828. dwReserved2 : DWORD;
  3829. end;
  3830. TMOUSEKEYS = MOUSEKEYS;
  3831. PMOUSEKEYS = ^MOUSEKEYS;
  3832. MSGBOXCALLBACK = procedure (lpHelpInfo:LPHELPINFO);stdcall;
  3833. TMSGBOXCALLBACK = MSGBOXCALLBACK;
  3834. MSGBOXPARAMS = record
  3835. cbSize : UINT;
  3836. hwndOwner : HWND;
  3837. hInstance : HINST;
  3838. lpszText : LPCSTR;
  3839. lpszCaption : LPCSTR;
  3840. dwStyle : DWORD;
  3841. lpszIcon : LPCSTR;
  3842. dwContextHelpId : DWORD;
  3843. lpfnMsgBoxCallback : MSGBOXCALLBACK;
  3844. dwLanguageId : DWORD;
  3845. end;
  3846. LPMSGBOXPARAMS = ^MSGBOXPARAMS;
  3847. TMSGBOXPARAMS = MSGBOXPARAMS;
  3848. TMSGBOXPARAMSA = MSGBOXPARAMS;
  3849. PMSGBOXPARAMS = ^MSGBOXPARAMS;
  3850. MSGFILTER = record
  3851. nmhdr : NMHDR;
  3852. msg : UINT;
  3853. wParam : WPARAM;
  3854. lParam : LPARAM;
  3855. end;
  3856. _msgfilter = MSGFILTER;
  3857. Tmsgfilter = MSGFILTER;
  3858. Pmsgfilter = ^MSGFILTER;
  3859. MULTIKEYHELP = record
  3860. mkSize : DWORD;
  3861. mkKeylist : TCHAR;
  3862. szKeyphrase : array[0..0] of TCHAR;
  3863. end;
  3864. tagMULTIKEYHELP = MULTIKEYHELP;
  3865. TMULTIKEYHELP = MULTIKEYHELP;
  3866. PMULTIKEYHELP = ^MULTIKEYHELP;
  3867. NAME_BUFFER = record
  3868. name : array[0..(NCBNAMSZ)-1] of UCHAR;
  3869. name_num : UCHAR;
  3870. name_flags : UCHAR;
  3871. end;
  3872. _NAME_BUFFER = NAME_BUFFER;
  3873. TNAMEBUFFER = NAME_BUFFER;
  3874. PNAMEBUFFER = ^NAME_BUFFER;
  3875. p_NCB = ^_NCB;
  3876. NCB = record
  3877. ncb_command : UCHAR;
  3878. ncb_retcode : UCHAR;
  3879. ncb_lsn : UCHAR;
  3880. ncb_num : UCHAR;
  3881. ncb_buffer : PUCHAR;
  3882. ncb_length : WORD;
  3883. ncb_callname : array[0..(NCBNAMSZ)-1] of UCHAR;
  3884. ncb_name : array[0..(NCBNAMSZ)-1] of UCHAR;
  3885. ncb_rto : UCHAR;
  3886. ncb_sto : UCHAR;
  3887. ncb_post : procedure (_para1:p_NCB);CDECL;
  3888. ncb_lana_num : UCHAR;
  3889. ncb_cmd_cplt : UCHAR;
  3890. ncb_reserve : array[0..9] of UCHAR;
  3891. ncb_event : HANDLE;
  3892. end;
  3893. _NCB = NCB;
  3894. TNCB = NCB;
  3895. PNCB = ^NCB;
  3896. NCCALCSIZE_PARAMS = record
  3897. rgrc : array[0..2] of RECT;
  3898. lppos : PWINDOWPOS;
  3899. end;
  3900. _NCCALCSIZE_PARAMS = NCCALCSIZE_PARAMS;
  3901. TNCCALCSIZEPARAMS = NCCALCSIZE_PARAMS;
  3902. PNCCALCSIZEPARAMS = ^NCCALCSIZE_PARAMS;
  3903. NDDESHAREINFO = record
  3904. lRevision : LONG;
  3905. lpszShareName : LPTSTR;
  3906. lShareType : LONG;
  3907. lpszAppTopicList : LPTSTR;
  3908. fSharedFlag : LONG;
  3909. fService : LONG;
  3910. fStartAppFlag : LONG;
  3911. nCmdShow : LONG;
  3912. qModifyId : array[0..1] of LONG;
  3913. cNumItems : LONG;
  3914. lpszItemList : LPTSTR;
  3915. end;
  3916. _NDDESHAREINFO = NDDESHAREINFO;
  3917. TNDDESHAREINFO = NDDESHAREINFO;
  3918. PNDDESHAREINFO = ^NDDESHAREINFO;
  3919. NETRESOURCE = record
  3920. dwScope : DWORD;
  3921. dwType : DWORD;
  3922. dwDisplayType : DWORD;
  3923. dwUsage : DWORD;
  3924. lpLocalName : LPTSTR;
  3925. lpRemoteName : LPTSTR;
  3926. lpComment : LPTSTR;
  3927. lpProvider : LPTSTR;
  3928. end;
  3929. LPNETRESOURCE = ^NETRESOURCE;
  3930. _NETRESOURCE = NETRESOURCE;
  3931. TNETRESOURCE = NETRESOURCE;
  3932. TNETRESOURCEA = NETRESOURCE;
  3933. PNETRESOURCE = ^NETRESOURCE;
  3934. PNETRESOURCEA = ^NETRESOURCE;
  3935. NEWCPLINFO = record
  3936. dwSize : DWORD;
  3937. dwFlags : DWORD;
  3938. dwHelpContext : DWORD;
  3939. lData : LONG;
  3940. hIcon : HICON;
  3941. szName : array[0..31] of TCHAR;
  3942. szInfo : array[0..63] of TCHAR;
  3943. szHelpFile : array[0..127] of TCHAR;
  3944. end;
  3945. tagNEWCPLINFO = NEWCPLINFO;
  3946. TNEWCPLINFO = NEWCPLINFO;
  3947. PNEWCPLINFO = ^NEWCPLINFO;
  3948. NEWTEXTMETRIC = record
  3949. tmHeight : LONG;
  3950. tmAscent : LONG;
  3951. tmDescent : LONG;
  3952. tmInternalLeading : LONG;
  3953. tmExternalLeading : LONG;
  3954. tmAveCharWidth : LONG;
  3955. tmMaxCharWidth : LONG;
  3956. tmWeight : LONG;
  3957. tmOverhang : LONG;
  3958. tmDigitizedAspectX : LONG;
  3959. tmDigitizedAspectY : LONG;
  3960. tmFirstChar : BCHAR;
  3961. tmLastChar : BCHAR;
  3962. tmDefaultChar : BCHAR;
  3963. tmBreakChar : BCHAR;
  3964. tmItalic : BYTE;
  3965. tmUnderlined : BYTE;
  3966. tmStruckOut : BYTE;
  3967. tmPitchAndFamily : BYTE;
  3968. tmCharSet : BYTE;
  3969. ntmFlags : DWORD;
  3970. ntmSizeEM : UINT;
  3971. ntmCellHeight : UINT;
  3972. ntmAvgWidth : UINT;
  3973. end;
  3974. tagNEWTEXTMETRIC = NEWTEXTMETRIC;
  3975. TNEWTEXTMETRIC = NEWTEXTMETRIC;
  3976. PNEWTEXTMETRIC = ^NEWTEXTMETRIC;
  3977. NEWTEXTMETRICEX = record
  3978. ntmentm : NEWTEXTMETRIC;
  3979. ntmeFontSignature : FONTSIGNATURE;
  3980. end;
  3981. tagNEWTEXTMETRICEX = NEWTEXTMETRICEX;
  3982. TNEWTEXTMETRICEX = NEWTEXTMETRICEX;
  3983. PNEWTEXTMETRICEX = ^NEWTEXTMETRICEX;
  3984. NM_LISTVIEW = record
  3985. hdr : NMHDR;
  3986. iItem : longint;
  3987. iSubItem : longint;
  3988. uNewState : UINT;
  3989. uOldState : UINT;
  3990. uChanged : UINT;
  3991. ptAction : POINT;
  3992. lParam : LPARAM;
  3993. end;
  3994. tagNM_LISTVIEW = NM_LISTVIEW;
  3995. TNMLISTVIEW = NM_LISTVIEW;
  3996. PNMLISTVIEW = ^NM_LISTVIEW;
  3997. TV_ITEM = record
  3998. mask : UINT;
  3999. hItem : HTREEITEM;
  4000. state : UINT;
  4001. stateMask : UINT;
  4002. pszText : LPTSTR;
  4003. cchTextMax : longint;
  4004. iImage : longint;
  4005. iSelectedImage : longint;
  4006. cChildren : longint;
  4007. lParam : LPARAM;
  4008. end;
  4009. LPTV_ITEM = ^TV_ITEM;
  4010. _TV_ITEM = TV_ITEM;
  4011. TTVITEM = TV_ITEM;
  4012. PTVITEM = ^TV_ITEM;
  4013. NM_TREEVIEW = record
  4014. hdr : NMHDR;
  4015. action : UINT;
  4016. itemOld : TV_ITEM;
  4017. itemNew : TV_ITEM;
  4018. ptDrag : POINT;
  4019. end;
  4020. LPNM_TREEVIEW = ^NM_TREEVIEW;
  4021. _NM_TREEVIEW = NM_TREEVIEW;
  4022. TNMTREEVIEW = NM_TREEVIEW;
  4023. PNMTREEVIEW = ^NM_TREEVIEW;
  4024. NM_UPDOWNW = record
  4025. hdr : NMHDR;
  4026. iPos : longint;
  4027. iDelta : longint;
  4028. end;
  4029. _NM_UPDOWN = NM_UPDOWNW;
  4030. TNMUPDOWN = NM_UPDOWNW;
  4031. PNMUPDOWN = ^NM_UPDOWNW;
  4032. NONCLIENTMETRICS = record
  4033. cbSize : UINT;
  4034. iBorderWidth : longint;
  4035. iScrollWidth : longint;
  4036. iScrollHeight : longint;
  4037. iCaptionWidth : longint;
  4038. iCaptionHeight : longint;
  4039. lfCaptionFont : LOGFONT;
  4040. iSmCaptionWidth : longint;
  4041. iSmCaptionHeight : longint;
  4042. lfSmCaptionFont : LOGFONT;
  4043. iMenuWidth : longint;
  4044. iMenuHeight : longint;
  4045. lfMenuFont : LOGFONT;
  4046. lfStatusFont : LOGFONT;
  4047. lfMessageFont : LOGFONT;
  4048. end;
  4049. LPNONCLIENTMETRICS = ^NONCLIENTMETRICS;
  4050. tagNONCLIENTMETRICS = NONCLIENTMETRICS;
  4051. TNONCLIENTMETRICS = NONCLIENTMETRICS;
  4052. PNONCLIENTMETRICS = ^NONCLIENTMETRICS;
  4053. SERVICE_ADDRESS = record
  4054. dwAddressType : DWORD;
  4055. dwAddressFlags : DWORD;
  4056. dwAddressLength : DWORD;
  4057. dwPrincipalLength : DWORD;
  4058. lpAddress : ^BYTE;
  4059. lpPrincipal : ^BYTE;
  4060. end;
  4061. _SERVICE_ADDRESS = SERVICE_ADDRESS;
  4062. TSERVICEADDRESS = SERVICE_ADDRESS;
  4063. PSERVICEADDRESS = ^SERVICE_ADDRESS;
  4064. SERVICE_ADDRESSES = record
  4065. dwAddressCount : DWORD;
  4066. Addresses : array[0..0] of SERVICE_ADDRESS;
  4067. end;
  4068. LPSERVICE_ADDRESSES = ^SERVICE_ADDRESSES;
  4069. _SERVICE_ADDRESSES = SERVICE_ADDRESSES;
  4070. TSERVICEADDRESSES = SERVICE_ADDRESSES;
  4071. PSERVICEADDRESSES = ^SERVICE_ADDRESSES;
  4072. GUID = system.tguid;
  4073. LPGUID = ^GUID;
  4074. _GUID = GUID;
  4075. TGUID = GUID;
  4076. PGUID = ^GUID;
  4077. CLSID = GUID;
  4078. LPCLSID = ^CLSID;
  4079. TCLSID = CLSID;
  4080. PCLSID = ^CLSID;
  4081. SERVICE_INFO = record
  4082. lpServiceType : LPGUID;
  4083. lpServiceName : LPTSTR;
  4084. lpComment : LPTSTR;
  4085. lpLocale : LPTSTR;
  4086. dwDisplayHint : DWORD;
  4087. dwVersion : DWORD;
  4088. dwTime : DWORD;
  4089. lpMachineName : LPTSTR;
  4090. lpServiceAddress : LPSERVICE_ADDRESSES;
  4091. ServiceSpecificInfo : BLOB;
  4092. end;
  4093. _SERVICE_INFO = SERVICE_INFO;
  4094. TSERVICEINFO = SERVICE_INFO;
  4095. PSERVICEINFO = ^SERVICE_INFO;
  4096. NS_SERVICE_INFO = record
  4097. dwNameSpace : DWORD;
  4098. ServiceInfo : SERVICE_INFO;
  4099. end;
  4100. _NS_SERVICE_INFO = NS_SERVICE_INFO;
  4101. TNSSERVICEINFO = NS_SERVICE_INFO;
  4102. PNSSERVICEINFO = ^NS_SERVICE_INFO;
  4103. NUMBERFMT = record
  4104. NumDigits : UINT;
  4105. LeadingZero : UINT;
  4106. Grouping : UINT;
  4107. lpDecimalSep : LPTSTR;
  4108. lpThousandSep : LPTSTR;
  4109. NegativeOrder : UINT;
  4110. end;
  4111. _numberfmt = NUMBERFMT;
  4112. Tnumberfmt = NUMBERFMT;
  4113. Pnumberfmt = ^NUMBERFMT;
  4114. OFSTRUCT = record
  4115. cBytes : BYTE;
  4116. fFixedDisk : BYTE;
  4117. nErrCode : WORD;
  4118. Reserved1 : WORD;
  4119. Reserved2 : WORD;
  4120. szPathName : array[0..(OFS_MAXPATHNAME)-1] of CHAR;
  4121. end;
  4122. LPOFSTRUCT = ^OFSTRUCT;
  4123. _OFSTRUCT = OFSTRUCT;
  4124. TOFSTRUCT = OFSTRUCT;
  4125. POFSTRUCT = ^OFSTRUCT;
  4126. OPENFILENAME = record
  4127. lStructSize : DWORD;
  4128. hwndOwner : HWND;
  4129. hInstance : HINST;
  4130. lpstrFilter : LPCTSTR;
  4131. lpstrCustomFilter : LPTSTR;
  4132. nMaxCustFilter : DWORD;
  4133. nFilterIndex : DWORD;
  4134. lpstrFile : LPTSTR;
  4135. nMaxFile : DWORD;
  4136. lpstrFileTitle : LPTSTR;
  4137. nMaxFileTitle : DWORD;
  4138. lpstrInitialDir : LPCTSTR;
  4139. lpstrTitle : LPCTSTR;
  4140. Flags : DWORD;
  4141. nFileOffset : WORD;
  4142. nFileExtension : WORD;
  4143. lpstrDefExt : LPCTSTR;
  4144. lCustData : DWORD;
  4145. lpfnHook : LPOFNHOOKPROC;
  4146. lpTemplateName : LPCTSTR;
  4147. end;
  4148. LPOPENFILENAME = ^OPENFILENAME;
  4149. TOPENFILENAME = OPENFILENAME;
  4150. POPENFILENAME = ^OPENFILENAME;
  4151. tagOFN = OPENFILENAME;
  4152. TOFN = OPENFILENAME;
  4153. POFN = ^OPENFILENAME;
  4154. OFNOTIFY = record
  4155. hdr : NMHDR;
  4156. lpOFN : LPOPENFILENAME;
  4157. pszFile : LPTSTR;
  4158. end;
  4159. LPOFNOTIFY = ^OFNOTIFY;
  4160. _OFNOTIFY = OFNOTIFY;
  4161. TOFNOTIFY = OFNOTIFY;
  4162. POFNOTIFY = ^OFNOTIFY;
  4163. OSVERSIONINFO = record
  4164. dwOSVersionInfoSize : DWORD;
  4165. dwMajorVersion : DWORD;
  4166. dwMinorVersion : DWORD;
  4167. dwBuildNumber : DWORD;
  4168. dwPlatformId : DWORD;
  4169. szCSDVersion : array[0..127] of TCHAR;
  4170. end;
  4171. LPOSVERSIONINFO = ^OSVERSIONINFO;
  4172. _OSVERSIONINFO = OSVERSIONINFO;
  4173. TOSVERSIONINFO = OSVERSIONINFO;
  4174. POSVERSIONINFO = ^OSVERSIONINFO;
  4175. OSVERSIONINFOW = record
  4176. dwOSVersionInfoSize : DWORD;
  4177. dwMajorVersion : DWORD;
  4178. dwMinorVersion : DWORD;
  4179. dwBuildNumber : DWORD;
  4180. dwPlatformId : DWORD;
  4181. szCSDVersion : array[0..127] of WCHAR;
  4182. end;
  4183. LPOSVERSIONINFOW = ^OSVERSIONINFOW;
  4184. _OSVERSIONINFOW = OSVERSIONINFOW;
  4185. TOSVERSIONINFOW = OSVERSIONINFOW;
  4186. POSVERSIONINFOW = ^OSVERSIONINFOW;
  4187. TEXTMETRIC = record
  4188. tmHeight : LONG;
  4189. tmAscent : LONG;
  4190. tmDescent : LONG;
  4191. tmInternalLeading : LONG;
  4192. tmExternalLeading : LONG;
  4193. tmAveCharWidth : LONG;
  4194. tmMaxCharWidth : LONG;
  4195. tmWeight : LONG;
  4196. tmOverhang : LONG;
  4197. tmDigitizedAspectX : LONG;
  4198. tmDigitizedAspectY : LONG;
  4199. tmFirstChar : BCHAR;
  4200. tmLastChar : BCHAR;
  4201. tmDefaultChar : BCHAR;
  4202. tmBreakChar : BCHAR;
  4203. tmItalic : BYTE;
  4204. tmUnderlined : BYTE;
  4205. tmStruckOut : BYTE;
  4206. tmPitchAndFamily : BYTE;
  4207. tmCharSet : BYTE;
  4208. end;
  4209. LPTEXTMETRIC = ^TEXTMETRIC;
  4210. tagTEXTMETRIC = TEXTMETRIC;
  4211. TTEXTMETRIC = TEXTMETRIC;
  4212. PTEXTMETRIC = ^TEXTMETRIC;
  4213. OUTLINETEXTMETRIC = record
  4214. otmSize : UINT;
  4215. otmTextMetrics : TEXTMETRIC;
  4216. otmFiller : BYTE;
  4217. otmPanoseNumber : PANOSE;
  4218. otmfsSelection : UINT;
  4219. otmfsType : UINT;
  4220. otmsCharSlopeRise : longint;
  4221. otmsCharSlopeRun : longint;
  4222. otmItalicAngle : longint;
  4223. otmEMSquare : UINT;
  4224. otmAscent : longint;
  4225. otmDescent : longint;
  4226. otmLineGap : UINT;
  4227. otmsCapEmHeight : UINT;
  4228. otmsXHeight : UINT;
  4229. otmrcFontBox : RECT;
  4230. otmMacAscent : longint;
  4231. otmMacDescent : longint;
  4232. otmMacLineGap : UINT;
  4233. otmusMinimumPPEM : UINT;
  4234. otmptSubscriptSize : POINT;
  4235. otmptSubscriptOffset : POINT;
  4236. otmptSuperscriptSize : POINT;
  4237. otmptSuperscriptOffset : POINT;
  4238. otmsStrikeoutSize : UINT;
  4239. otmsStrikeoutPosition : longint;
  4240. otmsUnderscoreSize : longint;
  4241. otmsUnderscorePosition : longint;
  4242. otmpFamilyName : PSTR;
  4243. otmpFaceName : PSTR;
  4244. otmpStyleName : PSTR;
  4245. otmpFullName : PSTR;
  4246. end;
  4247. LPOUTLINETEXTMETRIC = ^OUTLINETEXTMETRIC;
  4248. _OUTLINETEXTMETRIC = OUTLINETEXTMETRIC;
  4249. TOUTLINETEXTMETRIC = OUTLINETEXTMETRIC;
  4250. POUTLINETEXTMETRIC = ^OUTLINETEXTMETRIC;
  4251. OVERLAPPED = record
  4252. Internal : DWORD;
  4253. InternalHigh : DWORD;
  4254. Offset : DWORD;
  4255. OffsetHigh : DWORD;
  4256. hEvent : HANDLE;
  4257. end;
  4258. LPOVERLAPPED = ^OVERLAPPED;
  4259. _OVERLAPPED = OVERLAPPED;
  4260. TOVERLAPPED = OVERLAPPED;
  4261. POVERLAPPED = ^OVERLAPPED;
  4262. {PAGESETUPDLG = record conflicts with function PageSetupDlg }
  4263. TPAGESETUPDLG = record
  4264. lStructSize : DWORD;
  4265. hwndOwner : HWND;
  4266. hDevMode : HGLOBAL;
  4267. hDevNames : HGLOBAL;
  4268. Flags : DWORD;
  4269. ptPaperSize : POINT;
  4270. rtMinMargin : RECT;
  4271. rtMargin : RECT;
  4272. hInstance : HINST;
  4273. lCustData : LPARAM;
  4274. lpfnPageSetupHook : LPPAGESETUPHOOK;
  4275. lpfnPagePaintHook : LPPAGEPAINTHOOK;
  4276. lpPageSetupTemplateName : LPCTSTR;
  4277. hPageSetupTemplate : HGLOBAL;
  4278. end;
  4279. LPPAGESETUPDLG = ^TPAGESETUPDLG;
  4280. PPAGESETUPDLG = ^TPAGESETUPDLG;
  4281. tagPSD = TPAGESETUPDLG;
  4282. TPSD = TPAGESETUPDLG;
  4283. PPSD = ^TPAGESETUPDLG;
  4284. PAINTSTRUCT = record
  4285. hdc : HDC;
  4286. fErase : WINBOOL;
  4287. rcPaint : RECT;
  4288. fRestore : WINBOOL;
  4289. fIncUpdate : WINBOOL;
  4290. rgbReserved : array[0..31] of BYTE;
  4291. end;
  4292. LPPAINTSTRUCT = ^PAINTSTRUCT;
  4293. tagPAINTSTRUCT = PAINTSTRUCT;
  4294. TPAINTSTRUCT = PAINTSTRUCT;
  4295. PPAINTSTRUCT = ^PAINTSTRUCT;
  4296. PARAFORMAT = record
  4297. cbSize : UINT;
  4298. dwMask : DWORD;
  4299. wNumbering : WORD;
  4300. wReserved : WORD;
  4301. dxStartIndent : LONG;
  4302. dxRightIndent : LONG;
  4303. dxOffset : LONG;
  4304. wAlignment : WORD;
  4305. cTabCount : SHORT;
  4306. rgxTabs : array[0..(MAX_TAB_STOPS)-1] of LONG;
  4307. end;
  4308. _paraformat = PARAFORMAT;
  4309. Tparaformat = PARAFORMAT;
  4310. Pparaformat = ^PARAFORMAT;
  4311. PERF_COUNTER_BLOCK = record
  4312. ByteLength : DWORD;
  4313. end;
  4314. _PERF_COUNTER_BLOCK = PERF_COUNTER_BLOCK;
  4315. TPERFCOUNTERBLOCK = PERF_COUNTER_BLOCK;
  4316. PPERFCOUNTERBLOCK = ^PERF_COUNTER_BLOCK;
  4317. PERF_COUNTER_DEFINITION = record
  4318. ByteLength : DWORD;
  4319. CounterNameTitleIndex : DWORD;
  4320. CounterNameTitle : LPWSTR;
  4321. CounterHelpTitleIndex : DWORD;
  4322. CounterHelpTitle : LPWSTR;
  4323. DefaultScale : DWORD;
  4324. DetailLevel : DWORD;
  4325. CounterType : DWORD;
  4326. CounterSize : DWORD;
  4327. CounterOffset : DWORD;
  4328. end;
  4329. _PERF_COUNTER_DEFINITION = PERF_COUNTER_DEFINITION;
  4330. TPERFCOUNTERDEFINITION = PERF_COUNTER_DEFINITION;
  4331. PPERFCOUNTERDEFINITION = ^PERF_COUNTER_DEFINITION;
  4332. PERF_DATA_BLOCK = record
  4333. Signature : array[0..3] of WCHAR;
  4334. LittleEndian : DWORD;
  4335. Version : DWORD;
  4336. Revision : DWORD;
  4337. TotalByteLength : DWORD;
  4338. HeaderLength : DWORD;
  4339. NumObjectTypes : DWORD;
  4340. DefaultObject : DWORD;
  4341. SystemTime : SYSTEMTIME;
  4342. PerfTime : LARGE_INTEGER;
  4343. PerfFreq : LARGE_INTEGER;
  4344. PerfTime100nSec : LARGE_INTEGER;
  4345. SystemNameLength : DWORD;
  4346. SystemNameOffset : DWORD;
  4347. end;
  4348. _PERF_DATA_BLOCK = PERF_DATA_BLOCK;
  4349. TPERFDATABLOCK = PERF_DATA_BLOCK;
  4350. PPERFDATABLOCK = ^PERF_DATA_BLOCK;
  4351. PERF_INSTANCE_DEFINITION = record
  4352. ByteLength : DWORD;
  4353. ParentObjectTitleIndex : DWORD;
  4354. ParentObjectInstance : DWORD;
  4355. UniqueID : DWORD;
  4356. NameOffset : DWORD;
  4357. NameLength : DWORD;
  4358. end;
  4359. _PERF_INSTANCE_DEFINITION = PERF_INSTANCE_DEFINITION;
  4360. TPERFINSTANCEDEFINITION = PERF_INSTANCE_DEFINITION;
  4361. PPERFINSTANCEDEFINITION = PERF_INSTANCE_DEFINITION;
  4362. PERF_OBJECT_TYPE = record
  4363. TotalByteLength : DWORD;
  4364. DefinitionLength : DWORD;
  4365. HeaderLength : DWORD;
  4366. ObjectNameTitleIndex : DWORD;
  4367. ObjectNameTitle : LPWSTR;
  4368. ObjectHelpTitleIndex : DWORD;
  4369. ObjectHelpTitle : LPWSTR;
  4370. DetailLevel : DWORD;
  4371. NumCounters : DWORD;
  4372. DefaultCounter : DWORD;
  4373. NumInstances : DWORD;
  4374. CodePage : DWORD;
  4375. PerfTime : LARGE_INTEGER;
  4376. PerfFreq : LARGE_INTEGER;
  4377. end;
  4378. _PERF_OBJECT_TYPE = PERF_OBJECT_TYPE;
  4379. TPERFOBJECTTYPE = PERF_OBJECT_TYPE;
  4380. PPERFOBJECTTYPE = ^PERF_OBJECT_TYPE;
  4381. POLYTEXT = record
  4382. x : longint;
  4383. y : longint;
  4384. n : UINT;
  4385. lpstr : LPCTSTR;
  4386. uiFlags : UINT;
  4387. rcl : RECT;
  4388. pdx : ^longint;
  4389. end;
  4390. _POLYTEXT = POLYTEXT;
  4391. TPOLYTEXT = POLYTEXT;
  4392. PPOLYTEXT = ^POLYTEXT;
  4393. PORT_INFO_1 = record
  4394. pName : LPTSTR;
  4395. end;
  4396. _PORT_INFO_1 = PORT_INFO_1;
  4397. TPORTINFO1 = PORT_INFO_1;
  4398. PPORTINFO1 = ^PORT_INFO_1;
  4399. PORT_INFO_2 = record
  4400. pPortName : LPSTR;
  4401. pMonitorName : LPSTR;
  4402. pDescription : LPSTR;
  4403. fPortType : DWORD;
  4404. Reserved : DWORD;
  4405. end;
  4406. _PORT_INFO_2 = PORT_INFO_2;
  4407. TPORTINFO2 = PORT_INFO_2;
  4408. PPORTINFO2 = ^PORT_INFO_2;
  4409. PREVENT_MEDIA_REMOVAL = record
  4410. PreventMediaRemoval : BOOLEAN;
  4411. end;
  4412. _PREVENT_MEDIA_REMOVAL = PREVENT_MEDIA_REMOVAL;
  4413. TPREVENTMEDIAREMOVAL = PREVENT_MEDIA_REMOVAL;
  4414. PPREVENTMEDIAREMOVAL = ^PREVENT_MEDIA_REMOVAL;
  4415. {PRINTDLG = record conflicts with PrintDlg function }
  4416. TPRINTDLG = packed record
  4417. lStructSize : DWORD;
  4418. hwndOwner : HWND;
  4419. hDevMode : HANDLE;
  4420. hDevNames : HANDLE;
  4421. hDC : HDC;
  4422. Flags : DWORD;
  4423. nFromPage : WORD;
  4424. nToPage : WORD;
  4425. nMinPage : WORD;
  4426. nMaxPage : WORD;
  4427. nCopies : WORD;
  4428. hInstance : HINST;
  4429. lCustData : DWORD;
  4430. lpfnPrintHook : LPPRINTHOOKPROC;
  4431. lpfnSetupHook : LPSETUPHOOKPROC;
  4432. lpPrintTemplateName : LPCTSTR;
  4433. lpSetupTemplateName : LPCTSTR;
  4434. hPrintTemplate : HANDLE;
  4435. hSetupTemplate : HANDLE;
  4436. end;
  4437. LPPRINTDLG = ^TPRINTDLG;
  4438. PPRINTDLG = ^TPRINTDLG;
  4439. tagPD = TPRINTDLG;
  4440. TPD = TPRINTDLG;
  4441. PPD = ^TPRINTDLG;
  4442. PRINTER_DEFAULTS = record
  4443. pDatatype : LPTSTR;
  4444. pDevMode : LPDEVMODE;
  4445. DesiredAccess : ACCESS_MASK;
  4446. end;
  4447. _PRINTER_DEFAULTS = PRINTER_DEFAULTS;
  4448. TPRINTERDEFAULTS = PRINTER_DEFAULTS;
  4449. PPRINTERDEFAULTS = ^PRINTER_DEFAULTS;
  4450. PRINTER_INFO_1 = record
  4451. Flags : DWORD;
  4452. pDescription : LPTSTR;
  4453. pName : LPTSTR;
  4454. pComment : LPTSTR;
  4455. end;
  4456. LPPRINTER_INFO_1 = ^PRINTER_INFO_1;
  4457. PPRINTER_INFO_1 = ^PRINTER_INFO_1;
  4458. _PRINTER_INFO_1 = PRINTER_INFO_1;
  4459. TPRINTERINFO1 = PRINTER_INFO_1;
  4460. PPRINTERINFO1 = ^PRINTER_INFO_1;
  4461. PRINTER_INFO_2 = record
  4462. pServerName : LPTSTR;
  4463. pPrinterName : LPTSTR;
  4464. pShareName : LPTSTR;
  4465. pPortName : LPTSTR;
  4466. pDriverName : LPTSTR;
  4467. pComment : LPTSTR;
  4468. pLocation : LPTSTR;
  4469. pDevMode : LPDEVMODE;
  4470. pSepFile : LPTSTR;
  4471. pPrintProcessor : LPTSTR;
  4472. pDatatype : LPTSTR;
  4473. pParameters : LPTSTR;
  4474. pSecurityDescriptor : PSECURITY_DESCRIPTOR;
  4475. Attributes : DWORD;
  4476. Priority : DWORD;
  4477. DefaultPriority : DWORD;
  4478. StartTime : DWORD;
  4479. UntilTime : DWORD;
  4480. Status : DWORD;
  4481. cJobs : DWORD;
  4482. AveragePPM : DWORD;
  4483. end;
  4484. _PRINTER_INFO_2 = PRINTER_INFO_2;
  4485. TPRINTERINFO2 = PRINTER_INFO_2;
  4486. PPRINTERINFO2 = ^PRINTER_INFO_2;
  4487. PRINTER_INFO_3 = record
  4488. pSecurityDescriptor : PSECURITY_DESCRIPTOR;
  4489. end;
  4490. _PRINTER_INFO_3 = PRINTER_INFO_3;
  4491. TPRINTERINFO3 = PRINTER_INFO_3;
  4492. PPRINTERINFO3 = ^PRINTER_INFO_3;
  4493. PRINTER_INFO_4 = record
  4494. pPrinterName : LPTSTR;
  4495. pServerName : LPTSTR;
  4496. Attributes : DWORD;
  4497. end;
  4498. _PRINTER_INFO_4 = PRINTER_INFO_4;
  4499. TPRINTERINFO4 = PRINTER_INFO_4;
  4500. PPRINTERINFO4 = ^PRINTER_INFO_4;
  4501. PRINTER_INFO_5 = record
  4502. pPrinterName : LPTSTR;
  4503. pPortName : LPTSTR;
  4504. Attributes : DWORD;
  4505. DeviceNotSelectedTimeout : DWORD;
  4506. TransmissionRetryTimeout : DWORD;
  4507. end;
  4508. _PRINTER_INFO_5 = PRINTER_INFO_5;
  4509. TPRINTERINFO5 = PRINTER_INFO_5;
  4510. PPRINTERINFO5 = ^PRINTER_INFO_5;
  4511. PRINTER_NOTIFY_INFO_DATA = record
  4512. _Type : WORD;
  4513. Field : WORD;
  4514. Reserved : DWORD;
  4515. Id : DWORD;
  4516. NotifyData : record
  4517. case longint of
  4518. 0 : ( adwData : array[0..1] of DWORD );
  4519. 1 : ( Data : record
  4520. cbBuf : DWORD;
  4521. pBuf : LPVOID;
  4522. end );
  4523. end;
  4524. end;
  4525. _PRINTER_NOTIFY_INFO_DATA = PRINTER_NOTIFY_INFO_DATA;
  4526. TPRINTERNOTIFYINFODATA = PRINTER_NOTIFY_INFO_DATA;
  4527. PPRINTERNOTIFYINFODATA = ^PRINTER_NOTIFY_INFO_DATA;
  4528. PRINTER_NOTIFY_INFO = record
  4529. Version : DWORD;
  4530. Flags : DWORD;
  4531. Count : DWORD;
  4532. aData : array[0..0] of PRINTER_NOTIFY_INFO_DATA;
  4533. end;
  4534. _PRINTER_NOTIFY_INFO = PRINTER_NOTIFY_INFO;
  4535. TPRINTERNOTIFYINFO = PRINTER_NOTIFY_INFO;
  4536. PPRINTERNOTIFYINFO = ^PRINTER_NOTIFY_INFO;
  4537. PRINTER_NOTIFY_OPTIONS_TYPE = record
  4538. _Type : WORD;
  4539. Reserved0 : WORD;
  4540. Reserved1 : DWORD;
  4541. Reserved2 : DWORD;
  4542. Count : DWORD;
  4543. pFields : PWORD;
  4544. end;
  4545. PPRINTER_NOTIFY_OPTIONS_TYPE = ^PRINTER_NOTIFY_OPTIONS_TYPE;
  4546. _PRINTER_NOTIFY_OPTIONS_TYPE = PRINTER_NOTIFY_OPTIONS_TYPE;
  4547. TPRINTERNOTIFYOPTIONSTYPE = PRINTER_NOTIFY_OPTIONS_TYPE;
  4548. PPRINTERNOTIFYOPTIONSTYPE = ^PRINTER_NOTIFY_OPTIONS_TYPE;
  4549. PRINTER_NOTIFY_OPTIONS = record
  4550. Version : DWORD;
  4551. Flags : DWORD;
  4552. Count : DWORD;
  4553. pTypes : PPRINTER_NOTIFY_OPTIONS_TYPE;
  4554. end;
  4555. _PRINTER_NOTIFY_OPTIONS = PRINTER_NOTIFY_OPTIONS;
  4556. TPRINTERNOTIFYOPTIONS = PRINTER_NOTIFY_OPTIONS;
  4557. PPRINTERNOTIFYOPTIONS = ^PRINTER_NOTIFY_OPTIONS;
  4558. PRINTPROCESSOR_INFO_1 = record
  4559. pName : LPTSTR;
  4560. end;
  4561. _PRINTPROCESSOR_INFO_1 = PRINTPROCESSOR_INFO_1;
  4562. TPRINTPROCESSORINFO1 = PRINTPROCESSOR_INFO_1;
  4563. PPRINTPROCESSORINFO1 = ^PRINTPROCESSOR_INFO_1;
  4564. PRIVILEGE_SET = record
  4565. PrivilegeCount : DWORD;
  4566. Control : DWORD;
  4567. Privilege : array[0..(ANYSIZE_ARRAY)-1] of LUID_AND_ATTRIBUTES;
  4568. end;
  4569. LPPRIVILEGE_SET = ^PRIVILEGE_SET;
  4570. PPRIVILEGE_SET = ^PRIVILEGE_SET;
  4571. _PRIVILEGE_SET = PRIVILEGE_SET;
  4572. TPRIVILEGESET = PRIVILEGE_SET;
  4573. PPRIVILEGESET = ^PRIVILEGE_SET;
  4574. PROCESS_HEAPENTRY = record
  4575. lpData : PVOID;
  4576. cbData : DWORD;
  4577. cbOverhead : BYTE;
  4578. iRegionIndex : BYTE;
  4579. wFlags : WORD;
  4580. dwCommittedSize : DWORD;
  4581. dwUnCommittedSize : DWORD;
  4582. lpFirstBlock : LPVOID;
  4583. lpLastBlock : LPVOID;
  4584. hMem : HANDLE;
  4585. end;
  4586. LPPROCESS_HEAP_ENTRY = ^PROCESS_HEAPENTRY;
  4587. _PROCESS_HEAP_ENTRY = PROCESS_HEAPENTRY;
  4588. TPROCESSHEAPENTRY = PROCESS_HEAPENTRY;
  4589. PPROCESSHEAPENTRY = ^PROCESS_HEAPENTRY;
  4590. PROCESS_INFORMATION = record
  4591. hProcess : HANDLE;
  4592. hThread : HANDLE;
  4593. dwProcessId : DWORD;
  4594. dwThreadId : DWORD;
  4595. end;
  4596. LPPROCESS_INFORMATION = ^PROCESS_INFORMATION;
  4597. _PROCESS_INFORMATION = PROCESS_INFORMATION;
  4598. TPROCESSINFORMATION = PROCESS_INFORMATION;
  4599. PPROCESSINFORMATION = ^PROCESS_INFORMATION;
  4600. LPFNPSPCALLBACK = function (_para1:HWND; _para2:UINT; _para3:LPVOID):UINT;stdcall;
  4601. TFNPSPCALLBACK = LPFNPSPCALLBACK;
  4602. PROPSHEETPAGE = record
  4603. dwSize : DWORD;
  4604. dwFlags : DWORD;
  4605. hInstance : HINST;
  4606. case longint of
  4607. 0 : (pszTemplate : LPCTSTR);
  4608. 1 : (pResource : LPCDLGTEMPLATE;
  4609. case longint of
  4610. 0 : (hIcon : HICON);
  4611. 1 : (pszIcon : LPCTSTR;
  4612. pszTitle : LPCTSTR;
  4613. pfnDlgProc : DLGPROC;
  4614. lParam : LPARAM;
  4615. pfnCallback : LPFNPSPCALLBACK;
  4616. pcRefParent : ^UINT;
  4617. );
  4618. );
  4619. end;
  4620. LPPROPSHEETPAGE = ^PROPSHEETPAGE;
  4621. LPCPROPSHEETPAGE = ^PROPSHEETPAGE;
  4622. _PROPSHEETPAGE = PROPSHEETPAGE;
  4623. TPROPSHEETPAGE = PROPSHEETPAGE;
  4624. PPROPSHEETPAGE = ^PROPSHEETPAGE;
  4625. emptyrecord = record
  4626. end;
  4627. lpemptyrecord = ^emptyrecord;
  4628. HPROPSHEETPAGE = ^emptyrecord;
  4629. PROPSHEETHEADER = record
  4630. dwSize : DWORD;
  4631. dwFlags : DWORD;
  4632. hwndParent : HWND;
  4633. hInstance : HINST;
  4634. case longint of
  4635. 0 : (hIcon : HICON);
  4636. 1 : (pszIcon : LPCTSTR;
  4637. pszCaption : LPCTSTR;
  4638. nPages : UINT;
  4639. case longint of
  4640. 0 : (nStartPage : UINT);
  4641. 1 : (pStartPage : LPCTSTR;
  4642. case longint of
  4643. 0 : (ppsp : LPCPROPSHEETPAGE);
  4644. 1 : (phpage : ^HPROPSHEETPAGE;
  4645. pfnCallback : PFNPROPSHEETCALLBACK;
  4646. case longint of
  4647. 0 : (hbmWatermark : HBITMAP);
  4648. 1 : (pszbmWatermark : LPCTSTR;
  4649. hplWatermark : HPALETTE;
  4650. case longint of
  4651. 0 : (hbmHeader : HBITMAP);
  4652. 1 : (pszbmHeader: PAnsiChar);
  4653. );
  4654. );
  4655. );
  4656. );
  4657. end;
  4658. LPPROPSHEETHEADER = ^PROPSHEETHEADER;
  4659. LPCPROPSHEETHEADER = ^PROPSHEETHEADER;
  4660. _PROPSHEETHEADER = PROPSHEETHEADER;
  4661. TPROPSHEETHEADER = PROPSHEETHEADER;
  4662. PPROPSHEETHEADER = ^PROPSHEETHEADER;
  4663. { PropertySheet callbacks }
  4664. LPFNADDPROPSHEETPAGE = function (_para1:HPROPSHEETPAGE; _para2:LPARAM):WINBOOL;stdcall;
  4665. TFNADDPROPSHEETPAGE = LPFNADDPROPSHEETPAGE;
  4666. LPFNADDPROPSHEETPAGES = function (_para1:LPVOID; _para2:LPFNADDPROPSHEETPAGE; _para3:LPARAM):WINBOOL;stdcall;
  4667. TFNADDPROPSHEETPAGES = LPFNADDPROPSHEETPAGES;
  4668. PROTOCOL_INFO = record
  4669. dwServiceFlags : DWORD;
  4670. iAddressFamily : WINT;
  4671. iMaxSockAddr : WINT;
  4672. iMinSockAddr : WINT;
  4673. iSocketType : WINT;
  4674. iProtocol : WINT;
  4675. dwMessageSize : DWORD;
  4676. lpProtocol : LPTSTR;
  4677. end;
  4678. _PROTOCOL_INFO = PROTOCOL_INFO;
  4679. TPROTOCOLINFO = PROTOCOL_INFO;
  4680. PPROTOCOLINFO = ^PROTOCOL_INFO;
  4681. PROVIDOR_INFO_1 = record
  4682. pName : LPTSTR;
  4683. pEnvironment : LPTSTR;
  4684. pDLLName : LPTSTR;
  4685. end;
  4686. _PROVIDOR_INFO_1 = PROVIDOR_INFO_1;
  4687. TPROVIDORINFO1 = PROVIDOR_INFO_1;
  4688. PPROVIDORINFO1 = ^PROVIDOR_INFO_1;
  4689. PSHNOTIFY = record
  4690. hdr : NMHDR;
  4691. lParam : LPARAM;
  4692. end;
  4693. LPPSHNOTIFY = ^PSHNOTIFY;
  4694. _PSHNOTIFY = PSHNOTIFY;
  4695. TPSHNOTIFY = PSHNOTIFY;
  4696. PPSHNOTIFY = ^PSHNOTIFY;
  4697. PUNCTUATION = record
  4698. iSize : UINT;
  4699. szPunctuation : LPSTR;
  4700. end;
  4701. _punctuation = PUNCTUATION;
  4702. Tpunctuation = PUNCTUATION;
  4703. Ppunctuation = ^PUNCTUATION;
  4704. QUERY_SERVICE_CONFIG = record
  4705. dwServiceType : DWORD;
  4706. dwStartType : DWORD;
  4707. dwErrorControl : DWORD;
  4708. lpBinaryPathName : LPTSTR;
  4709. lpLoadOrderGroup : LPTSTR;
  4710. dwTagId : DWORD;
  4711. lpDependencies : LPTSTR;
  4712. lpServiceStartName : LPTSTR;
  4713. lpDisplayName : LPTSTR;
  4714. end;
  4715. LPQUERY_SERVICE_CONFIG = ^QUERY_SERVICE_CONFIG;
  4716. _QUERY_SERVICE_CONFIG = QUERY_SERVICE_CONFIG;
  4717. TQUERYSERVICECONFIG = QUERY_SERVICE_CONFIG;
  4718. PQUERYSERVICECONFIG = ^QUERY_SERVICE_CONFIG;
  4719. QUERY_SERVICE_LOCK_STATUS = record
  4720. fIsLocked : DWORD;
  4721. lpLockOwner : LPTSTR;
  4722. dwLockDuration : DWORD;
  4723. end;
  4724. LPQUERY_SERVICE_LOCK_STATUS = ^QUERY_SERVICE_LOCK_STATUS;
  4725. _QUERY_SERVICE_LOCK_STATUS = QUERY_SERVICE_LOCK_STATUS;
  4726. TQUERYSERVICELOCKSTATUS = QUERY_SERVICE_LOCK_STATUS;
  4727. PQUERYSERVICELOCKSTATUS = ^QUERY_SERVICE_LOCK_STATUS;
  4728. RASAMB = record
  4729. dwSize : DWORD;
  4730. dwError : DWORD;
  4731. szNetBiosError : array[0..(NETBIOS_NAME_LEN + 1)-1] of TCHAR;
  4732. bLana : BYTE;
  4733. end;
  4734. _RASAMB = RASAMB;
  4735. TRASAMB = RASAMB;
  4736. PRASAMB = ^RASAMB;
  4737. RASCONN = record
  4738. dwSize : DWORD;
  4739. hrasconn : HRASCONN;
  4740. szEntryName : array[0..(RAS_MaxEntryName + 1)-1] of TCHAR;
  4741. szDeviceType : array[0..(RAS_MaxDeviceType + 1)-1] of CHAR;
  4742. szDeviceName : array[0..(RAS_MaxDeviceName + 1)-1] of CHAR;
  4743. end;
  4744. _RASCONN = RASCONN;
  4745. TRASCONN = RASCONN;
  4746. PRASCONN = ^RASCONN;
  4747. RASCONNSTATUS = record
  4748. dwSize : DWORD;
  4749. rasconnstate : RASCONNSTATE;
  4750. dwError : DWORD;
  4751. szDeviceType : array[0..(RAS_MaxDeviceType + 1)-1] of TCHAR;
  4752. szDeviceName : array[0..(RAS_MaxDeviceName + 1)-1] of TCHAR;
  4753. end;
  4754. _RASCONNSTATUS = RASCONNSTATUS;
  4755. TRASCONNSTATUS = RASCONNSTATUS;
  4756. PRASCONNSTATUS = ^RASCONNSTATUS;
  4757. RASDIALEXTENSIONS = record
  4758. dwSize : DWORD;
  4759. dwfOptions : DWORD;
  4760. hwndParent : HWND;
  4761. reserved : DWORD;
  4762. end;
  4763. _RASDIALEXTENSIONS = RASDIALEXTENSIONS;
  4764. TRASDIALEXTENSIONS = RASDIALEXTENSIONS;
  4765. PRASDIALEXTENSIONS = ^RASDIALEXTENSIONS;
  4766. RASDIALPARAMS = record
  4767. dwSize : DWORD;
  4768. szEntryName : array[0..(RAS_MaxEntryName + 1)-1] of TCHAR;
  4769. szPhoneNumber : array[0..(RAS_MaxPhoneNumber + 1)-1] of TCHAR;
  4770. szCallbackNumber : array[0..(RAS_MaxCallbackNumber + 1)-1] of TCHAR;
  4771. szUserName : array[0..(UNLEN + 1)-1] of TCHAR;
  4772. szPassword : array[0..(PWLEN + 1)-1] of TCHAR;
  4773. szDomain : array[0..(DNLEN + 1)-1] of TCHAR;
  4774. end;
  4775. _RASDIALPARAMS = RASDIALPARAMS;
  4776. TRASDIALPARAMS = RASDIALPARAMS;
  4777. PRASDIALPARAMS = ^RASDIALPARAMS;
  4778. RASENTRYNAME = record
  4779. dwSize : DWORD;
  4780. szEntryName : array[0..(RAS_MaxEntryName + 1)-1] of TCHAR;
  4781. end;
  4782. _RASENTRYNAME = RASENTRYNAME;
  4783. TRASENTRYNAME = RASENTRYNAME;
  4784. PRASENTRYNAME = ^RASENTRYNAME;
  4785. RASPPPIP = record
  4786. dwSize : DWORD;
  4787. dwError : DWORD;
  4788. szIpAddress : array[0..(RAS_MaxIpAddress + 1)-1] of TCHAR;
  4789. end;
  4790. _RASPPPIP = RASPPPIP;
  4791. TRASPPPIP = RASPPPIP;
  4792. PRASPPPIP = ^RASPPPIP;
  4793. RASPPPIPX = record
  4794. dwSize : DWORD;
  4795. dwError : DWORD;
  4796. szIpxAddress : array[0..(RAS_MaxIpxAddress + 1)-1] of TCHAR;
  4797. end;
  4798. _RASPPPIPX = RASPPPIPX;
  4799. TRASPPPIPX = RASPPPIPX;
  4800. PRASPPPIPX = ^RASPPPIPX;
  4801. RASPPPNBF = record
  4802. dwSize : DWORD;
  4803. dwError : DWORD;
  4804. dwNetBiosError : DWORD;
  4805. szNetBiosError : array[0..(NETBIOS_NAME_LEN + 1)-1] of TCHAR;
  4806. szWorkstationName : array[0..(NETBIOS_NAME_LEN + 1)-1] of TCHAR;
  4807. bLana : BYTE;
  4808. end;
  4809. _RASPPPNBF = RASPPPNBF;
  4810. TRASPPPNBF = RASPPPNBF;
  4811. PRASPPPNBF = ^RASPPPNBF;
  4812. RASTERIZER_STATUS = record
  4813. nSize : integer;
  4814. wFlags : integer;
  4815. nLanguageID : integer;
  4816. end;
  4817. LPRASTERIZER_STATUS = ^RASTERIZER_STATUS;
  4818. _RASTERIZER_STATUS = RASTERIZER_STATUS;
  4819. TRASTERIZERSTATUS = RASTERIZER_STATUS;
  4820. PRASTERIZERSTATUS = ^RASTERIZER_STATUS;
  4821. REASSIGN_BLOCKS = record
  4822. Reserved : WORD;
  4823. Count : WORD;
  4824. BlockNumber : array[0..0] of DWORD;
  4825. end;
  4826. _REASSIGN_BLOCKS = REASSIGN_BLOCKS;
  4827. TREASSIGNBLOCKS = REASSIGN_BLOCKS;
  4828. PREASSIGNBLOCKS = ^REASSIGN_BLOCKS;
  4829. REMOTE_NAME_INFO = record
  4830. lpUniversalName : LPTSTR;
  4831. lpConnectionName : LPTSTR;
  4832. lpRemainingPath : LPTSTR;
  4833. end;
  4834. _REMOTE_NAME_INFO = REMOTE_NAME_INFO;
  4835. TREMOTENAMEINFO = REMOTE_NAME_INFO;
  4836. PREMOTENAMEINFO = ^REMOTE_NAME_INFO;
  4837. (*
  4838. TODO: OLE
  4839. typedef struct _reobject {
  4840. DWORD cbStruct;
  4841. LONG cp;
  4842. CLSID clsid;
  4843. LPOLEOBJECT poleobj;
  4844. LPSTORAGE pstg;
  4845. LPOLECLIENTSITE polesite;
  4846. SIZEL sizel;
  4847. DWORD dvaspect;
  4848. DWORD dwFlags;
  4849. DWORD dwUser;
  4850. } REOBJECT;
  4851. *)
  4852. REPASTESPECIAL = record
  4853. dwAspect : DWORD;
  4854. dwParam : DWORD;
  4855. end;
  4856. _repastespecial = REPASTESPECIAL;
  4857. Trepastespecial = REPASTESPECIAL;
  4858. Prepastespecial = ^REPASTESPECIAL;
  4859. REQRESIZE = record
  4860. nmhdr : NMHDR;
  4861. rc : RECT;
  4862. end;
  4863. _reqresize = REQRESIZE;
  4864. Treqresize = REQRESIZE;
  4865. Preqresize = ^REQRESIZE;
  4866. RGNDATAHEADER = record
  4867. dwSize : DWORD;
  4868. iType : DWORD;
  4869. nCount : DWORD;
  4870. nRgnSize : DWORD;
  4871. rcBound : RECT;
  4872. end;
  4873. _RGNDATAHEADER = RGNDATAHEADER;
  4874. TRGNDATAHEADER = RGNDATAHEADER;
  4875. PRGNDATAHEADER = ^RGNDATAHEADER;
  4876. RGNDATA = record
  4877. rdh : RGNDATAHEADER;
  4878. Buffer : array[0..0] of char;
  4879. end;
  4880. LPRGNDATA = ^RGNDATA;
  4881. _RGNDATA = RGNDATA;
  4882. TRGNDATA = RGNDATA;
  4883. PRGNDATA = ^RGNDATA;
  4884. SCROLLINFO = record
  4885. cbSize : UINT;
  4886. fMask : UINT;
  4887. nMin : longint;
  4888. nMax : longint;
  4889. nPage : UINT;
  4890. nPos : longint;
  4891. nTrackPos : longint;
  4892. end;
  4893. LPSCROLLINFO = ^SCROLLINFO;
  4894. LPCSCROLLINFO = ^SCROLLINFO;
  4895. tagSCROLLINFO = SCROLLINFO;
  4896. TSCROLLINFO = SCROLLINFO;
  4897. PSCROLLINFO = ^SCROLLINFO;
  4898. SECURITY_ATTRIBUTES = record
  4899. nLength : DWORD;
  4900. lpSecurityDescriptor : LPVOID;
  4901. bInheritHandle : WINBOOL;
  4902. end;
  4903. LPSECURITY_ATTRIBUTES = ^SECURITY_ATTRIBUTES;
  4904. _SECURITY_ATTRIBUTES = SECURITY_ATTRIBUTES;
  4905. TSECURITYATTRIBUTES = SECURITY_ATTRIBUTES;
  4906. PSECURITYATTRIBUTES = ^SECURITY_ATTRIBUTES;
  4907. SECURITY_INFORMATION = DWORD;
  4908. PSECURITY_INFORMATION = ^SECURITY_INFORMATION;
  4909. TSECURITYINFORMATION = SECURITY_INFORMATION;
  4910. PSECURITYINFORMATION = ^SECURITY_INFORMATION;
  4911. SELCHANGE = record
  4912. nmhdr : NMHDR;
  4913. chrg : CHARRANGE;
  4914. seltyp : WORD;
  4915. end;
  4916. _selchange = SELCHANGE;
  4917. Tselchange = SELCHANGE;
  4918. Pselchange = ^SELCHANGE;
  4919. SERIALKEYS = record
  4920. cbSize : DWORD;
  4921. dwFlags : DWORD;
  4922. lpszActivePort : LPSTR;
  4923. lpszPort : LPSTR;
  4924. iBaudRate : DWORD;
  4925. iPortState : DWORD;
  4926. end;
  4927. LPSERIALKEYS = ^SERIALKEYS;
  4928. tagSERIALKEYS = SERIALKEYS;
  4929. TSERIALKEYS = SERIALKEYS;
  4930. PSERIALKEYS = ^SERIALKEYS;
  4931. SERVICE_TABLE_ENTRY = record
  4932. lpServiceName : LPTSTR;
  4933. lpServiceProc : LPSERVICE_MAIN_FUNCTION;
  4934. end;
  4935. LPSERVICE_TABLE_ENTRY = ^SERVICE_TABLE_ENTRY;
  4936. _SERVICE_TABLE_ENTRY = SERVICE_TABLE_ENTRY;
  4937. TSERVICETABLEENTRY = SERVICE_TABLE_ENTRY;
  4938. PSERVICETABLEENTRY = ^SERVICE_TABLE_ENTRY;
  4939. SERVICE_TYPE_VALUE_ABS = record
  4940. dwNameSpace : DWORD;
  4941. dwValueType : DWORD;
  4942. dwValueSize : DWORD;
  4943. lpValueName : LPTSTR;
  4944. lpValue : PVOID;
  4945. end;
  4946. _SERVICE_TYPE_VALUE_ABS = SERVICE_TYPE_VALUE_ABS;
  4947. TSERVICETYPEVALUEABS = SERVICE_TYPE_VALUE_ABS;
  4948. PSERVICETYPEVALUEABS = ^SERVICE_TYPE_VALUE_ABS;
  4949. SERVICE_TYPE_INFO_ABS = record
  4950. lpTypeName : LPTSTR;
  4951. dwValueCount : DWORD;
  4952. Values : array[0..0] of SERVICE_TYPE_VALUE_ABS;
  4953. end;
  4954. _SERVICE_TYPE_INFO_ABS = SERVICE_TYPE_INFO_ABS;
  4955. TSERVICETYPEINFOABS = SERVICE_TYPE_INFO_ABS;
  4956. PSERVICETYPEINFOABS = ^SERVICE_TYPE_INFO_ABS;
  4957. SESSION_BUFFER = record
  4958. lsn : UCHAR;
  4959. state : UCHAR;
  4960. local_name : array[0..(NCBNAMSZ)-1] of UCHAR;
  4961. remote_name : array[0..(NCBNAMSZ)-1] of UCHAR;
  4962. rcvs_outstanding : UCHAR;
  4963. sends_outstanding : UCHAR;
  4964. end;
  4965. _SESSION_BUFFER = SESSION_BUFFER;
  4966. TSESSIONBUFFER = SESSION_BUFFER;
  4967. PSESSIONBUFFER = ^SESSION_BUFFER;
  4968. SESSION_HEADER = record
  4969. sess_name : UCHAR;
  4970. num_sess : UCHAR;
  4971. rcv_dg_outstanding : UCHAR;
  4972. rcv_any_outstanding : UCHAR;
  4973. end;
  4974. _SESSION_HEADER = SESSION_HEADER;
  4975. TSESSIONHEADER = SESSION_HEADER;
  4976. PSESSIONHEADER = ^SESSION_HEADER;
  4977. SET_PARTITION_INFORMATION = record
  4978. PartitionType : BYTE;
  4979. end;
  4980. _SET_PARTITION_INFORMATION = SET_PARTITION_INFORMATION;
  4981. TSETPARTITIONINFORMATION = SET_PARTITION_INFORMATION;
  4982. PSETPARTITIONINFORMATION = ^SET_PARTITION_INFORMATION;
  4983. SHCONTF = (SHCONTF_FOLDERS := 32,SHCONTF_NONFOLDERS := 64,
  4984. SHCONTF_INCLUDEHIDDEN := 128);
  4985. tagSHCONTF = SHCONTF;
  4986. TSHCONTF = SHCONTF;
  4987. SHFILEINFO = record
  4988. hIcon : HICON;
  4989. iIcon : longint;
  4990. dwAttributes : DWORD;
  4991. szDisplayName : array[0..(MAX_PATH)-1] of char;
  4992. szTypeName : array[0..79] of char;
  4993. end;
  4994. _SHFILEINFO = SHFILEINFO;
  4995. TSHFILEINFO = SHFILEINFO;
  4996. PSHFILEINFO = ^SHFILEINFO;
  4997. FILEOP_FLAGS = WORD;
  4998. TFILEOPFLAGS = FILEOP_FLAGS;
  4999. PFILEOPFLAGS = ^FILEOP_FLAGS;
  5000. SHFILEOPSTRUCT = record
  5001. hwnd : HWND;
  5002. wFunc : UINT;
  5003. pFrom : LPCSTR;
  5004. pTo : LPCSTR;
  5005. fFlags : FILEOP_FLAGS;
  5006. fAnyOperationsAborted : WINBOOL;
  5007. hNameMappings : LPVOID;
  5008. lpszProgressTitle : LPCSTR;
  5009. end;
  5010. LPSHFILEOPSTRUCT = ^SHFILEOPSTRUCT;
  5011. _SHFILEOPSTRUCT = SHFILEOPSTRUCT;
  5012. TSHFILEOPSTRUCT = SHFILEOPSTRUCT;
  5013. PSHFILEOPSTRUCT = ^SHFILEOPSTRUCT;
  5014. SHGNO = (SHGDN_NORMAL := 0,SHGDN_INFOLDER := 1,
  5015. SHGDN_FORPARSING := $8000);
  5016. tagSHGDN = SHGNO;
  5017. TSHGDN = SHGNO;
  5018. SHNAMEMAPPING = record
  5019. pszOldPath : LPSTR;
  5020. pszNewPath : LPSTR;
  5021. cchOldPath : longint;
  5022. cchNewPath : longint;
  5023. end;
  5024. LPSHNAMEMAPPING = ^SHNAMEMAPPING;
  5025. _SHNAMEMAPPING = SHNAMEMAPPING;
  5026. TSHNAMEMAPPING = SHNAMEMAPPING;
  5027. PSHNAMEMAPPING = ^SHNAMEMAPPING;
  5028. SID_AND_ATTRIBUTES = record
  5029. Sid : PSID;
  5030. Attributes : DWORD;
  5031. end;
  5032. _SID_AND_ATTRIBUTES = SID_AND_ATTRIBUTES;
  5033. TSIDANDATTRIBUTES = SID_AND_ATTRIBUTES;
  5034. PSIDANDATTRIBUTES = ^SID_AND_ATTRIBUTES;
  5035. SID_AND_ATTRIBUTES_ARRAY = array[0..(ANYSIZE_ARRAY)-1] of SID_AND_ATTRIBUTES;
  5036. PSID_AND_ATTRIBUTES_ARRAY = ^SID_AND_ATTRIBUTES_ARRAY;
  5037. TSIDANDATTRIBUTESARRAY = SID_AND_ATTRIBUTES_ARRAY;
  5038. PSIDANDATTRIBUTESARRAY = ^SID_AND_ATTRIBUTES_ARRAY;
  5039. SINGLE_LIST_ENTRY = record
  5040. Next : ^_SINGLE_LIST_ENTRY;
  5041. end;
  5042. _SINGLE_LIST_ENTRY = SINGLE_LIST_ENTRY;
  5043. TSINGLELISTENTRY = SINGLE_LIST_ENTRY;
  5044. PSINGLELISTENTRY = ^SINGLE_LIST_ENTRY;
  5045. SOUNDSENTRY = record
  5046. cbSize : UINT;
  5047. dwFlags : DWORD;
  5048. iFSTextEffect : DWORD;
  5049. iFSTextEffectMSec : DWORD;
  5050. iFSTextEffectColorBits : DWORD;
  5051. iFSGrafEffect : DWORD;
  5052. iFSGrafEffectMSec : DWORD;
  5053. iFSGrafEffectColor : DWORD;
  5054. iWindowsEffect : DWORD;
  5055. iWindowsEffectMSec : DWORD;
  5056. lpszWindowsEffectDLL : LPTSTR;
  5057. iWindowsEffectOrdinal : DWORD;
  5058. end;
  5059. LPSOUNDSENTRY = ^SOUNDSENTRY;
  5060. tagSOUNDSENTRY = SOUNDSENTRY;
  5061. TSOUNDSENTRY = SOUNDSENTRY;
  5062. PSOUNDSENTRY = ^SOUNDSENTRY;
  5063. STARTUPINFO = record
  5064. cb : DWORD;
  5065. lpReserved : LPTSTR;
  5066. lpDesktop : LPTSTR;
  5067. lpTitle : LPTSTR;
  5068. dwX : DWORD;
  5069. dwY : DWORD;
  5070. dwXSize : DWORD;
  5071. dwYSize : DWORD;
  5072. dwXCountChars : DWORD;
  5073. dwYCountChars : DWORD;
  5074. dwFillAttribute : DWORD;
  5075. dwFlags : DWORD;
  5076. wShowWindow : WORD;
  5077. cbReserved2 : WORD;
  5078. lpReserved2 : LPBYTE;
  5079. hStdInput : HANDLE;
  5080. hStdOutput : HANDLE;
  5081. hStdError : HANDLE;
  5082. end;
  5083. LPSTARTUPINFO = ^STARTUPINFO;
  5084. _STARTUPINFO = STARTUPINFO;
  5085. TSTARTUPINFO = STARTUPINFO;
  5086. PSTARTUPINFO = ^STARTUPINFO;
  5087. STICKYKEYS = record
  5088. cbSize : DWORD;
  5089. dwFlags : DWORD;
  5090. end;
  5091. LPSTICKYKEYS = ^STICKYKEYS;
  5092. tagSTICKYKEYS = STICKYKEYS;
  5093. TSTICKYKEYS = STICKYKEYS;
  5094. PSTICKYKEYS = ^STICKYKEYS;
  5095. STRRET = record
  5096. uType : UINT;
  5097. DUMMYUNIONNAME : record
  5098. case longint of
  5099. 0 : ( pOleStr : LPWSTR );
  5100. 1 : ( uOffset : UINT );
  5101. 2 : ( cStr : array[0..(MAX_PATH)-1] of char );
  5102. end;
  5103. end;
  5104. LPSTRRET = ^STRRET;
  5105. _STRRET = STRRET;
  5106. TSTRRET = STRRET;
  5107. PSTRRET = ^STRRET;
  5108. STYLEBUF = record
  5109. dwStyle : DWORD;
  5110. szDescription : array[0..31] of CHAR;
  5111. end;
  5112. LPSTYLEBUF = ^STYLEBUF;
  5113. _tagSTYLEBUF = STYLEBUF;
  5114. TSTYLEBUF = STYLEBUF;
  5115. PSTYLEBUF = ^STYLEBUF;
  5116. STYLESTRUCT = record
  5117. styleOld : DWORD;
  5118. styleNew : DWORD;
  5119. end;
  5120. LPSTYLESTRUCT = ^STYLESTRUCT;
  5121. tagSTYLESTRUCT = STYLESTRUCT;
  5122. TSTYLESTRUCT = STYLESTRUCT;
  5123. PSTYLESTRUCT = ^STYLESTRUCT;
  5124. SYSTEM_AUDIT_ACE = record
  5125. Header : ACE_HEADER;
  5126. Mask : ACCESS_MASK;
  5127. SidStart : DWORD;
  5128. end;
  5129. _SYSTEM_AUDIT_ACE = SYSTEM_AUDIT_ACE;
  5130. TSYSTEMAUDITACE = SYSTEM_AUDIT_ACE;
  5131. PSYSTEMAUDITACE = ^SYSTEM_AUDIT_ACE;
  5132. SYSTEM_INFO = record
  5133. u : record
  5134. case longint of
  5135. 0 : ( dwOemId : DWORD );
  5136. 1 : ( s : record
  5137. wProcessorArchitecture : WORD;
  5138. wReserved : WORD;
  5139. end );
  5140. end;
  5141. dwPageSize : DWORD;
  5142. lpMinimumApplicationAddress : LPVOID;
  5143. lpMaximumApplicationAddress : LPVOID;
  5144. dwActiveProcessorMask : DWORD;
  5145. dwNumberOfProcessors : DWORD;
  5146. dwProcessorType : DWORD;
  5147. dwAllocationGranularity : DWORD;
  5148. wProcessorLevel : WORD;
  5149. wProcessorRevision : WORD;
  5150. end;
  5151. LPSYSTEM_INFO = ^SYSTEM_INFO;
  5152. _SYSTEM_INFO = SYSTEM_INFO;
  5153. TSYSTEMINFO = SYSTEM_INFO;
  5154. PSYSTEMINFO = ^SYSTEM_INFO;
  5155. SYSTEM_POWER_STATUS = record
  5156. ACLineStatus : BYTE;
  5157. BatteryFlag : BYTE;
  5158. BatteryLifePercent : BYTE;
  5159. Reserved1 : BYTE;
  5160. BatteryLifeTime : DWORD;
  5161. BatteryFullLifeTime : DWORD;
  5162. end;
  5163. _SYSTEM_POWER_STATUS = SYSTEM_POWER_STATUS;
  5164. TSYSTEMPOWERSTATUS = SYSTEM_POWER_STATUS;
  5165. PSYSTEMPOWERSTATUS = ^SYSTEM_POWER_STATUS;
  5166. LPSYSTEM_POWER_STATUS = ^emptyrecord;
  5167. TAPE_ERASE = record
  5168. _Type : ULONG;
  5169. end;
  5170. _TAPE_ERASE = TAPE_ERASE;
  5171. TTAPEERASE = TAPE_ERASE;
  5172. PTAPEERASE = ^TAPE_ERASE;
  5173. TAPE_GET_DRIVE_PARAMETERS = record
  5174. ECC : BOOLEAN;
  5175. Compression : BOOLEAN;
  5176. DataPadding : BOOLEAN;
  5177. ReportSetmarks : BOOLEAN;
  5178. DefaultBlockSize : ULONG;
  5179. MaximumBlockSize : ULONG;
  5180. MinimumBlockSize : ULONG;
  5181. MaximumPartitionCount : ULONG;
  5182. FeaturesLow : ULONG;
  5183. FeaturesHigh : ULONG;
  5184. EOTWarningZoneSize : ULONG;
  5185. end;
  5186. _TAPE_GET_DRIVE_PARAMETERS = TAPE_GET_DRIVE_PARAMETERS;
  5187. TTAPEGETDRIVEPARAMETERS = TAPE_GET_DRIVE_PARAMETERS;
  5188. PTAPEGETDRIVEPARAMETERS = ^TAPE_GET_DRIVE_PARAMETERS;
  5189. TAPE_GET_MEDIA_PARAMETERS = record
  5190. Capacity : LARGE_INTEGER;
  5191. Remaining : LARGE_INTEGER;
  5192. BlockSize : DWORD;
  5193. PartitionCount : DWORD;
  5194. WriteProtected : BOOLEAN;
  5195. end;
  5196. _TAPE_GET_MEDIA_PARAMETERS = TAPE_GET_MEDIA_PARAMETERS;
  5197. TTAPEGETMEDIAPARAMETERS = TAPE_GET_MEDIA_PARAMETERS;
  5198. PTAPEGETMEDIAPARAMETERS = ^TAPE_GET_MEDIA_PARAMETERS;
  5199. TAPE_GET_POSITION = record
  5200. _Type : ULONG;
  5201. Partition : ULONG;
  5202. OffsetLow : ULONG;
  5203. OffsetHigh : ULONG;
  5204. end;
  5205. _TAPE_GET_POSITION = TAPE_GET_POSITION;
  5206. TTAPEGETPOSITION = TAPE_GET_POSITION;
  5207. PTAPEGETPOSITION = ^TAPE_GET_POSITION;
  5208. TAPE_PREPARE = record
  5209. Operation : ULONG;
  5210. end;
  5211. _TAPE_PREPARE = TAPE_PREPARE;
  5212. TTAPEPREPARE = TAPE_PREPARE;
  5213. PTAPEPREPARE = ^TAPE_PREPARE;
  5214. TAPE_SET_DRIVE_PARAMETERS = record
  5215. ECC : BOOLEAN;
  5216. Compression : BOOLEAN;
  5217. DataPadding : BOOLEAN;
  5218. ReportSetmarks : BOOLEAN;
  5219. EOTWarningZoneSize : ULONG;
  5220. end;
  5221. _TAPE_SET_DRIVE_PARAMETERS = TAPE_SET_DRIVE_PARAMETERS;
  5222. TTAPESETDRIVEPARAMETERS = TAPE_SET_DRIVE_PARAMETERS;
  5223. PTAPESETDRIVEPARAMETERS = ^TAPE_SET_DRIVE_PARAMETERS;
  5224. TAPE_SET_MEDIA_PARAMETERS = record
  5225. BlockSize : ULONG;
  5226. end;
  5227. _TAPE_SET_MEDIA_PARAMETERS = TAPE_SET_MEDIA_PARAMETERS;
  5228. TTAPESETMEDIAPARAMETERS = TAPE_SET_MEDIA_PARAMETERS;
  5229. PTAPESETMEDIAPARAMETERS = ^TAPE_SET_MEDIA_PARAMETERS;
  5230. TAPE_SET_POSITION = record
  5231. Method : ULONG;
  5232. Partition : ULONG;
  5233. OffsetLow : ULONG;
  5234. OffsetHigh : ULONG;
  5235. end;
  5236. _TAPE_SET_POSITION = TAPE_SET_POSITION;
  5237. TTAPESETPOSITION = TAPE_SET_POSITION;
  5238. PTAPESETPOSITION = ^TAPE_SET_POSITION;
  5239. TAPE_WRITE_MARKS = record
  5240. _Type : ULONG;
  5241. Count : ULONG;
  5242. end;
  5243. _TAPE_WRITE_MARKS = TAPE_WRITE_MARKS;
  5244. TTAPEWRITEMARKS = TAPE_WRITE_MARKS;
  5245. PTAPEWRITEMARKS = ^TAPE_WRITE_MARKS;
  5246. TBADDBITMAP = record
  5247. hInst : HINST;
  5248. nID : UINT;
  5249. end;
  5250. LPTBADDBITMAP = ^TBADDBITMAP;
  5251. TTBADDBITMAP = TBADDBITMAP;
  5252. PTBADDBITMAP = ^TBADDBITMAP;
  5253. TBBUTTON = record
  5254. iBitmap : longint;
  5255. idCommand : longint;
  5256. fsState : BYTE;
  5257. fsStyle : BYTE;
  5258. dwData : DWORD;
  5259. iString : longint;
  5260. end;
  5261. LPTBBUTTON = ^TBBUTTON;
  5262. LPCTBBUTTON = ^TBBUTTON;
  5263. _TBBUTTON = TBBUTTON;
  5264. TTBBUTTON = TBBUTTON;
  5265. PTBBUTTON = ^TBBUTTON;
  5266. TBNOTIFY = record
  5267. hdr : NMHDR;
  5268. iItem : longint;
  5269. tbButton : TBBUTTON;
  5270. cchText : longint;
  5271. pszText : LPTSTR;
  5272. end;
  5273. LPTBNOTIFY = ^TBNOTIFY;
  5274. TTBNOTIFY = TBNOTIFY;
  5275. PTBNOTIFY = ^TBNOTIFY;
  5276. TBSAVEPARAMS = record
  5277. hkr : HKEY;
  5278. pszSubKey : LPCTSTR;
  5279. pszValueName : LPCTSTR;
  5280. end;
  5281. TTBSAVEPARAMS = TBSAVEPARAMS;
  5282. PTBSAVEPARAMS = ^TBSAVEPARAMS;
  5283. TC_HITTESTINFO = record
  5284. pt : POINT;
  5285. flags : UINT;
  5286. end;
  5287. _TC_HITTESTINFO = TC_HITTESTINFO;
  5288. TTCHITTESTINFO = TC_HITTESTINFO;
  5289. PTCHITTESTINFO = ^TC_HITTESTINFO;
  5290. TC_ITEM = record
  5291. mask : UINT;
  5292. lpReserved1 : UINT;
  5293. lpReserved2 : UINT;
  5294. pszText : LPTSTR;
  5295. cchTextMax : longint;
  5296. iImage : longint;
  5297. lParam : LPARAM;
  5298. end;
  5299. _TC_ITEM = TC_ITEM;
  5300. TTCITEM = TC_ITEM;
  5301. PTCITEM = ^TC_ITEM;
  5302. TC_ITEMHEADER = record
  5303. mask : UINT;
  5304. lpReserved1 : UINT;
  5305. lpReserved2 : UINT;
  5306. pszText : LPTSTR;
  5307. cchTextMax : longint;
  5308. iImage : longint;
  5309. end;
  5310. _TC_ITEMHEADER = TC_ITEMHEADER;
  5311. TTCITEMHEADER = TC_ITEMHEADER;
  5312. PTCITEMHEADER = ^TC_ITEMHEADER;
  5313. TC_KEYDOWN = record
  5314. hdr : NMHDR;
  5315. wVKey : WORD;
  5316. flags : UINT;
  5317. end;
  5318. _TC_KEYDOWN = TC_KEYDOWN;
  5319. TTCKEYDOWN = TC_KEYDOWN;
  5320. PTCKEYDOWN = ^TC_KEYDOWN;
  5321. TEXTRANGE = record
  5322. chrg : CHARRANGE;
  5323. lpstrText : LPSTR;
  5324. end;
  5325. _textrange = TEXTRANGE;
  5326. Ttextrange = TEXTRANGE;
  5327. Ptextrange = ^TEXTRANGE;
  5328. TIME_ZONE_INFORMATION = record
  5329. Bias : LONG;
  5330. StandardName : array[0..31] of WCHAR;
  5331. StandardDate : SYSTEMTIME;
  5332. StandardBias : LONG;
  5333. DaylightName : array[0..31] of WCHAR;
  5334. DaylightDate : SYSTEMTIME;
  5335. DaylightBias : LONG;
  5336. end;
  5337. LPTIME_ZONE_INFORMATION = ^TIME_ZONE_INFORMATION;
  5338. _TIME_ZONE_INFORMATION = TIME_ZONE_INFORMATION;
  5339. TTIMEZONEINFORMATION = TIME_ZONE_INFORMATION;
  5340. PTIMEZONEINFORMATION = ^TIME_ZONE_INFORMATION;
  5341. TOGGLEKEYS = record
  5342. cbSize : DWORD;
  5343. dwFlags : DWORD;
  5344. end;
  5345. tagTOGGLEKEYS = TOGGLEKEYS;
  5346. TTOGGLEKEYS = TOGGLEKEYS;
  5347. PTOGGLEKEYS = ^TOGGLEKEYS;
  5348. TOKEN_SOURCE = record
  5349. SourceName : array[0..7] of CHAR;
  5350. SourceIdentifier : LUID;
  5351. end;
  5352. _TOKEN_SOURCE = TOKEN_SOURCE;
  5353. TTOKENSOURCE = TOKEN_SOURCE;
  5354. PTOKENSOURCE = ^TOKEN_SOURCE;
  5355. TOKEN_CONTROL = record
  5356. TokenId : LUID;
  5357. AuthenticationId : LUID;
  5358. ModifiedId : LUID;
  5359. TokenSource : TOKEN_SOURCE;
  5360. end;
  5361. _TOKEN_CONTROL = TOKEN_CONTROL;
  5362. TTOKENCONTROL = TOKEN_CONTROL;
  5363. PTOKENCONTROL = ^TOKEN_CONTROL;
  5364. TOKEN_DEFAULT_DACL = record
  5365. DefaultDacl : PACL;
  5366. end;
  5367. _TOKEN_DEFAULT_DACL = TOKEN_DEFAULT_DACL;
  5368. TTOKENDEFAULTDACL = TOKEN_DEFAULT_DACL;
  5369. PTOKENDEFAULTDACL = ^TOKEN_DEFAULT_DACL;
  5370. TOKEN_GROUPS = record
  5371. GroupCount : DWORD;
  5372. Groups : array[0..(ANYSIZE_ARRAY)-1] of SID_AND_ATTRIBUTES;
  5373. end;
  5374. PTOKEN_GROUPS = ^TOKEN_GROUPS;
  5375. LPTOKEN_GROUPS = ^TOKEN_GROUPS;
  5376. _TOKEN_GROUPS = TOKEN_GROUPS;
  5377. TTOKENGROUPS = TOKEN_GROUPS;
  5378. PTOKENGROUPS = ^TOKEN_GROUPS;
  5379. TOKEN_OWNER = record
  5380. Owner : PSID;
  5381. end;
  5382. _TOKEN_OWNER = TOKEN_OWNER;
  5383. TTOKENOWNER = TOKEN_OWNER;
  5384. PTOKENOWNER = ^TOKEN_OWNER;
  5385. TOKEN_PRIMARY_GROUP = record
  5386. PrimaryGroup : PSID;
  5387. end;
  5388. _TOKEN_PRIMARY_GROUP = TOKEN_PRIMARY_GROUP;
  5389. TTOKENPRIMARYGROUP = TOKEN_PRIMARY_GROUP;
  5390. PTOKENPRIMARYGROUP = ^TOKEN_PRIMARY_GROUP;
  5391. TOKEN_PRIVILEGES = packed record
  5392. PrivilegeCount : DWORD;
  5393. Privileges : array[0..(ANYSIZE_ARRAY)-1] of LUID_AND_ATTRIBUTES;
  5394. end;
  5395. PTOKEN_PRIVILEGES = ^TOKEN_PRIVILEGES;
  5396. LPTOKEN_PRIVILEGES = ^TOKEN_PRIVILEGES;
  5397. _TOKEN_PRIVILEGES = TOKEN_PRIVILEGES;
  5398. TTOKENPRIVILEGES = TOKEN_PRIVILEGES;
  5399. PTOKENPRIVILEGES = ^TOKEN_PRIVILEGES;
  5400. TOKEN_STATISTICS = record
  5401. TokenId : LUID;
  5402. AuthenticationId : LUID;
  5403. ExpirationTime : LARGE_INTEGER;
  5404. TokenType : TOKEN_TYPE;
  5405. ImpersonationLevel : SECURITY_IMPERSONATION_LEVEL;
  5406. DynamicCharged : DWORD;
  5407. DynamicAvailable : DWORD;
  5408. GroupCount : DWORD;
  5409. PrivilegeCount : DWORD;
  5410. ModifiedId : LUID;
  5411. end;
  5412. _TOKEN_STATISTICS = TOKEN_STATISTICS;
  5413. TTOKENSTATISTICS = TOKEN_STATISTICS;
  5414. PTOKENSTATISTICS = ^TOKEN_STATISTICS;
  5415. TOKEN_USER = record
  5416. User : SID_AND_ATTRIBUTES;
  5417. end;
  5418. _TOKEN_USER = TOKEN_USER;
  5419. TTOKENUSER = TOKEN_USER;
  5420. PTOKENUSER = ^TOKEN_USER;
  5421. TOOLINFO = record
  5422. cbSize : UINT;
  5423. uFlags : UINT;
  5424. hwnd : HWND;
  5425. uId : UINT;
  5426. rect : RECT;
  5427. hinst : HINST;
  5428. lpszText : LPTSTR;
  5429. end;
  5430. LPTOOLINFO = ^TOOLINFO;
  5431. TTOOLINFO = TOOLINFO;
  5432. PTOOLINFO = ^TOOLINFO;
  5433. TOOLTIPTEXT = record
  5434. hdr : NMHDR;
  5435. lpszText : LPTSTR;
  5436. szText : array[0..79] of char;
  5437. hinst : HINST;
  5438. uFlags : UINT;
  5439. end;
  5440. LPTOOLTIPTEXT = ^TOOLTIPTEXT;
  5441. TTOOLTIPTEXT = TOOLTIPTEXT;
  5442. PTOOLTIPTEXT = ^TOOLTIPTEXT;
  5443. TPMPARAMS = record
  5444. cbSize : UINT;
  5445. rcExclude : RECT;
  5446. end;
  5447. LPTPMPARAMS = ^TPMPARAMS;
  5448. tagTPMPARAMS = TPMPARAMS;
  5449. TTPMPARAMS = TPMPARAMS;
  5450. PTPMPARAMS = ^TPMPARAMS;
  5451. TRANSMIT_FILE_BUFFERS = record
  5452. Head : PVOID;
  5453. HeadLength : DWORD;
  5454. Tail : PVOID;
  5455. TailLength : DWORD;
  5456. end;
  5457. _TRANSMIT_FILE_BUFFERS = TRANSMIT_FILE_BUFFERS;
  5458. TTRANSMITFILEBUFFERS = TRANSMIT_FILE_BUFFERS;
  5459. PTRANSMITFILEBUFFERS = ^TRANSMIT_FILE_BUFFERS;
  5460. TTHITTESTINFO = record
  5461. hwnd : HWND;
  5462. pt : POINT;
  5463. ti : TOOLINFO;
  5464. end;
  5465. LPHITTESTINFO = ^TTHITTESTINFO;
  5466. _TT_HITTESTINFO = TTHITTESTINFO;
  5467. TTTHITTESTINFO = TTHITTESTINFO;
  5468. PTTHITTESTINFO = ^TTHITTESTINFO;
  5469. TTPOLYCURVE = record
  5470. wType : WORD;
  5471. cpfx : WORD;
  5472. apfx : array[0..0] of POINTFX;
  5473. end;
  5474. LPTTPOLYCURVE = ^TTPOLYCURVE;
  5475. tagTTPOLYCURVE = TTPOLYCURVE;
  5476. TTTPOLYCURVE = TTPOLYCURVE;
  5477. PTTPOLYCURVE = ^TTPOLYCURVE;
  5478. TTPOLYGONHEADER = record
  5479. cb : DWORD;
  5480. dwType : DWORD;
  5481. pfxStart : POINTFX;
  5482. end;
  5483. LPTTPOLYGONHEADER = ^TTPOLYGONHEADER;
  5484. _TTPOLYGONHEADER = TTPOLYGONHEADER;
  5485. TTTPOLYGONHEADER = TTPOLYGONHEADER;
  5486. PTTPOLYGONHEADER = ^TTPOLYGONHEADER;
  5487. TV_DISPINFO = record
  5488. hdr : NMHDR;
  5489. item : TV_ITEM;
  5490. end;
  5491. _TV_DISPINFO = TV_DISPINFO;
  5492. TTVDISPINFO = TV_DISPINFO;
  5493. PTVDISPINFO = ^TV_DISPINFO;
  5494. TV_HITTESTINFO = record
  5495. pt : POINT;
  5496. flags : UINT;
  5497. hItem : HTREEITEM;
  5498. end;
  5499. LPTV_HITTESTINFO = ^TV_HITTESTINFO;
  5500. _TVHITTESTINFO = TV_HITTESTINFO;
  5501. TTVHITTESTINFO = TV_HITTESTINFO;
  5502. PTVHITTESTINFO = ^TV_HITTESTINFO;
  5503. TV_INSERTSTRUCT = record
  5504. hParent : HTREEITEM;
  5505. hInsertAfter : HTREEITEM;
  5506. item : TV_ITEM;
  5507. end;
  5508. LPTV_INSERTSTRUCT = ^TV_INSERTSTRUCT;
  5509. _TV_INSERTSTRUCT = TV_INSERTSTRUCT;
  5510. TTVINSERTSTRUCT = TV_INSERTSTRUCT;
  5511. PTVINSERTSTRUCT = ^TV_INSERTSTRUCT;
  5512. TV_KEYDOWN = record
  5513. hdr : NMHDR;
  5514. wVKey : WORD;
  5515. flags : UINT;
  5516. end;
  5517. _TV_KEYDOWN = TV_KEYDOWN;
  5518. TTVKEYDOWN = TV_KEYDOWN;
  5519. PTVKEYDOWN = ^TV_KEYDOWN;
  5520. TV_SORTCB = record
  5521. hParent : HTREEITEM;
  5522. lpfnCompare : PFNTVCOMPARE;
  5523. lParam : LPARAM;
  5524. end;
  5525. LPTV_SORTCB = ^TV_SORTCB;
  5526. _TV_SORTCB = TV_SORTCB;
  5527. TTVSORTCB = TV_SORTCB;
  5528. PTVSORTCB = ^TV_SORTCB;
  5529. UDACCEL = record
  5530. nSec : UINT;
  5531. nInc : UINT;
  5532. end;
  5533. TUDACCEL = UDACCEL;
  5534. PUDACCEL = ^UDACCEL;
  5535. UNIVERSAL_NAME_INFO = record
  5536. lpUniversalName : LPTSTR;
  5537. end;
  5538. _UNIVERSAL_NAME_INFO = UNIVERSAL_NAME_INFO;
  5539. TUNIVERSALNAMEINFO = UNIVERSAL_NAME_INFO;
  5540. PUNIVERSALNAMEINFO = ^UNIVERSAL_NAME_INFO;
  5541. USEROBJECTFLAGS = record
  5542. fInherit : WINBOOL;
  5543. fReserved : WINBOOL;
  5544. dwFlags : DWORD;
  5545. end;
  5546. tagUSEROBJECTFLAGS = USEROBJECTFLAGS;
  5547. TUSEROBJECTFLAGS = USEROBJECTFLAGS;
  5548. PUSEROBJECTFLAGS = ^USEROBJECTFLAGS;
  5549. VALENT = record
  5550. ve_valuename : LPTSTR;
  5551. ve_valuelen : DWORD;
  5552. ve_valueptr : DWORD;
  5553. ve_type : DWORD;
  5554. end;
  5555. TVALENT = VALENT;
  5556. PVALENT = ^VALENT;
  5557. value_ent = VALENT;
  5558. Tvalue_ent = VALENT;
  5559. Pvalue_ent = ^VALENT;
  5560. VERIFY_INFORMATION = record
  5561. StartingOffset : LARGE_INTEGER;
  5562. Length : DWORD;
  5563. end;
  5564. _VERIFY_INFORMATION = VERIFY_INFORMATION;
  5565. TVERIFYINFORMATION = VERIFY_INFORMATION;
  5566. PVERIFYINFORMATION = ^VERIFY_INFORMATION;
  5567. VS_FIXEDFILEINFO = record
  5568. dwSignature : DWORD;
  5569. dwStrucVersion : DWORD;
  5570. dwFileVersionMS : DWORD;
  5571. dwFileVersionLS : DWORD;
  5572. dwProductVersionMS : DWORD;
  5573. dwProductVersionLS : DWORD;
  5574. dwFileFlagsMask : DWORD;
  5575. dwFileFlags : DWORD;
  5576. dwFileOS : DWORD;
  5577. dwFileType : DWORD;
  5578. dwFileSubtype : DWORD;
  5579. dwFileDateMS : DWORD;
  5580. dwFileDateLS : DWORD;
  5581. end;
  5582. _VS_FIXEDFILEINFO = VS_FIXEDFILEINFO;
  5583. TVSFIXEDFILEINFO = VS_FIXEDFILEINFO;
  5584. PVSFIXEDFILEINFO = ^VS_FIXEDFILEINFO;
  5585. WIN32_FIND_DATA = record
  5586. dwFileAttributes : DWORD;
  5587. ftCreationTime : FILETIME;
  5588. ftLastAccessTime : FILETIME;
  5589. ftLastWriteTime : FILETIME;
  5590. nFileSizeHigh : DWORD;
  5591. nFileSizeLow : DWORD;
  5592. dwReserved0 : DWORD;
  5593. dwReserved1 : DWORD;
  5594. cFileName : array[0..(MAX_PATH)-1] of TCHAR;
  5595. cAlternateFileName : array[0..13] of TCHAR;
  5596. end;
  5597. LPWIN32_FIND_DATA = ^WIN32_FIND_DATA;
  5598. PWIN32_FIND_DATA = ^WIN32_FIND_DATA;
  5599. _WIN32_FIND_DATA = WIN32_FIND_DATA;
  5600. TWIN32FINDDATA = WIN32_FIND_DATA;
  5601. TWIN32FINDDATAA = WIN32_FIND_DATA;
  5602. PWIN32FINDDATA = ^WIN32_FIND_DATA;
  5603. WIN32_FIND_DATAW = record
  5604. dwFileAttributes : DWORD;
  5605. ftCreationTime : FILETIME;
  5606. ftLastAccessTime : FILETIME;
  5607. ftLastWriteTime : FILETIME;
  5608. nFileSizeHigh : DWORD;
  5609. nFileSizeLow : DWORD;
  5610. dwReserved0 : DWORD;
  5611. dwReserved1 : DWORD;
  5612. cFileName : array[0..(MAX_PATH)-1] of WCHAR;
  5613. cAlternateFileName : array[0..13] of WCHAR;
  5614. end;
  5615. LPWIN32_FIND_DATAW = ^WIN32_FIND_DATAW;
  5616. PWIN32_FIND_DATAW = ^WIN32_FIND_DATAW;
  5617. _WIN32_FIND_DATAW = WIN32_FIND_DATAW;
  5618. TWIN32FINDDATAW = WIN32_FIND_DATAW;
  5619. PWIN32FINDDATAW = ^WIN32_FIND_DATAW;
  5620. WIN32_STREAM_ID = record
  5621. dwStreamId : DWORD;
  5622. dwStreamAttributes : DWORD;
  5623. Size : LARGE_INTEGER;
  5624. dwStreamNameSize : DWORD;
  5625. cStreamName : ^WCHAR;
  5626. end;
  5627. _WIN32_STREAM_ID = WIN32_STREAM_ID;
  5628. TWIN32STREAMID = WIN32_STREAM_ID;
  5629. PWIN32STREAMID = ^WIN32_STREAM_ID;
  5630. WINDOWPLACEMENT = record
  5631. length : UINT;
  5632. flags : UINT;
  5633. showCmd : UINT;
  5634. ptMinPosition : POINT;
  5635. ptMaxPosition : POINT;
  5636. rcNormalPosition : RECT;
  5637. end;
  5638. _WINDOWPLACEMENT = WINDOWPLACEMENT;
  5639. TWINDOWPLACEMENT = WINDOWPLACEMENT;
  5640. PWINDOWPLACEMENT = ^WINDOWPLACEMENT;
  5641. WNDCLASS = record
  5642. style : UINT;
  5643. lpfnWndProc : WNDPROC;
  5644. cbClsExtra : longint;
  5645. cbWndExtra : longint;
  5646. hInstance : HANDLE;
  5647. hIcon : HICON;
  5648. hCursor : HCURSOR;
  5649. hbrBackground : HBRUSH;
  5650. lpszMenuName : LPCTSTR;
  5651. lpszClassName : LPCTSTR;
  5652. end;
  5653. LPWNDCLASS = ^WNDCLASS;
  5654. _WNDCLASS = WNDCLASS;
  5655. TWNDCLASS = WNDCLASS;
  5656. TWNDCLASSA = WNDCLASS;
  5657. PWNDCLASS = ^WNDCLASS;
  5658. WNDCLASSW = record
  5659. style : UINT;
  5660. lpfnWndProc : WNDPROC;
  5661. cbClsExtra : longint;
  5662. cbWndExtra : longint;
  5663. hInstance : HANDLE;
  5664. hIcon : HICON;
  5665. hCursor : HCURSOR;
  5666. hbrBackground : HBRUSH;
  5667. lpszMenuName : LPCWSTR;
  5668. lpszClassName : LPCWSTR;
  5669. end;
  5670. LPWNDCLASSW = ^WNDCLASSW;
  5671. _WNDCLASSW = WNDCLASSW;
  5672. TWNDCLASSW = WNDCLASSW;
  5673. PWNDCLASSW = ^WNDCLASSW;
  5674. WNDCLASSEX = record
  5675. cbSize : UINT;
  5676. style : UINT;
  5677. lpfnWndProc : WNDPROC;
  5678. cbClsExtra : longint;
  5679. cbWndExtra : longint;
  5680. hInstance : HANDLE;
  5681. hIcon : HICON;
  5682. hCursor : HCURSOR;
  5683. hbrBackground : HBRUSH;
  5684. lpszMenuName : LPCTSTR;
  5685. lpszClassName : LPCTSTR;
  5686. hIconSm : HANDLE;
  5687. end;
  5688. LPWNDCLASSEX = ^WNDCLASSEX;
  5689. _WNDCLASSEX = WNDCLASSEX;
  5690. TWNDCLASSEX = WNDCLASSEX;
  5691. TWNDCLASSEXA = WNDCLASSEX;
  5692. PWNDCLASSEX = ^WNDCLASSEX;
  5693. WNDCLASSEXW = record
  5694. cbSize : UINT;
  5695. style : UINT;
  5696. lpfnWndProc : WNDPROC;
  5697. cbClsExtra : longint;
  5698. cbWndExtra : longint;
  5699. hInstance : HANDLE;
  5700. hIcon : HICON;
  5701. hCursor : HCURSOR;
  5702. hbrBackground : HBRUSH;
  5703. lpszMenuName : LPCWSTR;
  5704. lpszClassName : LPCWSTR;
  5705. hIconSm : HANDLE;
  5706. end;
  5707. LPWNDCLASSEXW = ^WNDCLASSEXW;
  5708. _WNDCLASSEXW = WNDCLASSEXW;
  5709. TWNDCLASSEXW = WNDCLASSEXW;
  5710. PWNDCLASSEXW = ^WNDCLASSEXW;
  5711. CONNECTDLGSTRUCT = record
  5712. cbStructure : DWORD;
  5713. hwndOwner : HWND;
  5714. lpConnRes : LPNETRESOURCE;
  5715. dwFlags : DWORD;
  5716. dwDevNum : DWORD;
  5717. end;
  5718. LPCONNECTDLGSTRUCT = ^CONNECTDLGSTRUCT;
  5719. _CONNECTDLGSTRUCT = CONNECTDLGSTRUCT;
  5720. TCONNECTDLGSTRUCT = CONNECTDLGSTRUCT;
  5721. PCONNECTDLGSTRUCT = ^CONNECTDLGSTRUCT;
  5722. DISCDLGSTRUCT = record
  5723. cbStructure : DWORD;
  5724. hwndOwner : HWND;
  5725. lpLocalName : LPTSTR;
  5726. lpRemoteName : LPTSTR;
  5727. dwFlags : DWORD;
  5728. end;
  5729. LPDISCDLGSTRUCT = ^DISCDLGSTRUCT;
  5730. _DISCDLGSTRUCT = DISCDLGSTRUCT;
  5731. TDISCDLGSTRUCT = DISCDLGSTRUCT;
  5732. TDISCDLGSTRUCTA = DISCDLGSTRUCT;
  5733. PDISCDLGSTRUCT = ^DISCDLGSTRUCT;
  5734. NETINFOSTRUCT = record
  5735. cbStructure : DWORD;
  5736. dwProviderVersion : DWORD;
  5737. dwStatus : DWORD;
  5738. dwCharacteristics : DWORD;
  5739. dwHandle : DWORD;
  5740. wNetType : WORD;
  5741. dwPrinters : DWORD;
  5742. dwDrives : DWORD;
  5743. end;
  5744. LPNETINFOSTRUCT = ^NETINFOSTRUCT;
  5745. _NETINFOSTRUCT = NETINFOSTRUCT;
  5746. TNETINFOSTRUCT = NETINFOSTRUCT;
  5747. PNETINFOSTRUCT = ^NETINFOSTRUCT;
  5748. NETCONNECTINFOSTRUCT = record
  5749. cbStructure : DWORD;
  5750. dwFlags : DWORD;
  5751. dwSpeed : DWORD;
  5752. dwDelay : DWORD;
  5753. dwOptDataSize : DWORD;
  5754. end;
  5755. LPNETCONNECTINFOSTRUCT = ^NETCONNECTINFOSTRUCT;
  5756. _NETCONNECTINFOSTRUCT = NETCONNECTINFOSTRUCT;
  5757. TNETCONNECTINFOSTRUCT = NETCONNECTINFOSTRUCT;
  5758. PNETCONNECTINFOSTRUCT = ^NETCONNECTINFOSTRUCT;
  5759. ENUMMETAFILEPROC = function (_para1:HDC; _para2:HANDLETABLE; _para3:METARECORD; _para4:longint; _para5:LPARAM):longint;stdcall;
  5760. ENHMETAFILEPROC = function (_para1:HDC; _para2:HANDLETABLE; _para3:ENHMETARECORD; _para4:longint; _para5:LPARAM):longint;stdcall;
  5761. ENUMFONTSPROC = function (_para1:LPLOGFONT; _para2:LPTEXTMETRIC; _para3:DWORD; _para4:LPARAM):longint;stdcall;
  5762. FONTENUMPROC = function (var _para1:ENUMLOGFONT; var _para2:NEWTEXTMETRIC; _para3:longint; _para4:LPARAM):longint;stdcall;
  5763. FONTENUMEXPROC = function (var _para1:ENUMLOGFONTEX;var _para2:NEWTEXTMETRICEX; _para3:longint; _para4:LPARAM):longint;stdcall;
  5764. LPOVERLAPPED_COMPLETION_ROUTINE = procedure (_para1:DWORD; _para2:DWORD; _para3:LPOVERLAPPED);stdcall;
  5765. { Structures for the extensions to OpenGL }
  5766. POINTFLOAT = record
  5767. x : Single;
  5768. y : Single;
  5769. end;
  5770. _POINTFLOAT = POINTFLOAT;
  5771. TPOINTFLOAT = POINTFLOAT;
  5772. PPOINTFLOAT = ^POINTFLOAT;
  5773. GLYPHMETRICSFLOAT = record
  5774. gmfBlackBoxX : Single;
  5775. gmfBlackBoxY : Single;
  5776. gmfptGlyphOrigin : POINTFLOAT;
  5777. gmfCellIncX : Single;
  5778. gmfCellIncY : Single;
  5779. end;
  5780. LPGLYPHMETRICSFLOAT = ^GLYPHMETRICSFLOAT;
  5781. _GLYPHMETRICSFLOAT = GLYPHMETRICSFLOAT;
  5782. TGLYPHMETRICSFLOAT = GLYPHMETRICSFLOAT;
  5783. PGLYPHMETRICSFLOAT = ^GLYPHMETRICSFLOAT;
  5784. LAYERPLANEDESCRIPTOR = record
  5785. nSize : WORD;
  5786. nVersion : WORD;
  5787. dwFlags : DWORD;
  5788. iPixelType : BYTE;
  5789. cColorBits : BYTE;
  5790. cRedBits : BYTE;
  5791. cRedShift : BYTE;
  5792. cGreenBits : BYTE;
  5793. cGreenShift : BYTE;
  5794. cBlueBits : BYTE;
  5795. cBlueShift : BYTE;
  5796. cAlphaBits : BYTE;
  5797. cAlphaShift : BYTE;
  5798. cAccumBits : BYTE;
  5799. cAccumRedBits : BYTE;
  5800. cAccumGreenBits : BYTE;
  5801. cAccumBlueBits : BYTE;
  5802. cAccumAlphaBits : BYTE;
  5803. cDepthBits : BYTE;
  5804. cStencilBits : BYTE;
  5805. cAuxBuffers : BYTE;
  5806. iLayerPlane : BYTE;
  5807. bReserved : BYTE;
  5808. crTransparent : COLORREF;
  5809. end;
  5810. LPLAYERPLANEDESCRIPTOR = ^LAYERPLANEDESCRIPTOR;
  5811. tagLAYERPLANEDESCRIPTOR = LAYERPLANEDESCRIPTOR;
  5812. TLAYERPLANEDESCRIPTOR = LAYERPLANEDESCRIPTOR;
  5813. PLAYERPLANEDESCRIPTOR = ^LAYERPLANEDESCRIPTOR;
  5814. PIXELFORMATDESCRIPTOR = record
  5815. nSize : WORD;
  5816. nVersion : WORD;
  5817. dwFlags : DWORD;
  5818. iPixelType : BYTE;
  5819. cColorBits : BYTE;
  5820. cRedBits : BYTE;
  5821. cRedShift : BYTE;
  5822. cGreenBits : BYTE;
  5823. cGreenShift : BYTE;
  5824. cBlueBits : BYTE;
  5825. cBlueShift : BYTE;
  5826. cAlphaBits : BYTE;
  5827. cAlphaShift : BYTE;
  5828. cAccumBits : BYTE;
  5829. cAccumRedBits : BYTE;
  5830. cAccumGreenBits : BYTE;
  5831. cAccumBlueBits : BYTE;
  5832. cAccumAlphaBits : BYTE;
  5833. cDepthBits : BYTE;
  5834. cStencilBits : BYTE;
  5835. cAuxBuffers : BYTE;
  5836. iLayerType : BYTE;
  5837. bReserved : BYTE;
  5838. dwLayerMask : DWORD;
  5839. dwVisibleMask : DWORD;
  5840. dwDamageMask : DWORD;
  5841. end;
  5842. LPPIXELFORMATDESCRIPTOR = ^PIXELFORMATDESCRIPTOR;
  5843. tagPIXELFORMATDESCRIPTOR = PIXELFORMATDESCRIPTOR;
  5844. TPIXELFORMATDESCRIPTOR = PIXELFORMATDESCRIPTOR;
  5845. PPIXELFORMATDESCRIPTOR = ^PIXELFORMATDESCRIPTOR;
  5846. USER_INFO_2 = record
  5847. usri2_name : LPWSTR;
  5848. usri2_password : LPWSTR;
  5849. usri2_password_age : DWORD;
  5850. usri2_priv : DWORD;
  5851. usri2_home_dir : LPWSTR;
  5852. usri2_comment : LPWSTR;
  5853. usri2_flags : DWORD;
  5854. usri2_script_path : LPWSTR;
  5855. usri2_auth_flags : DWORD;
  5856. usri2_full_name : LPWSTR;
  5857. usri2_usr_comment : LPWSTR;
  5858. usri2_parms : LPWSTR;
  5859. usri2_workstations : LPWSTR;
  5860. usri2_last_logon : DWORD;
  5861. usri2_last_logoff : DWORD;
  5862. usri2_acct_expires : DWORD;
  5863. usri2_max_storage : DWORD;
  5864. usri2_units_per_week : DWORD;
  5865. usri2_logon_hours : PBYTE;
  5866. usri2_bad_pw_count : DWORD;
  5867. usri2_num_logons : DWORD;
  5868. usri2_logon_server : LPWSTR;
  5869. usri2_country_code : DWORD;
  5870. usri2_code_page : DWORD;
  5871. end;
  5872. PUSER_INFO_2 = ^USER_INFO_2;
  5873. LPUSER_INFO_2 = ^USER_INFO_2;
  5874. TUSERINFO2 = USER_INFO_2;
  5875. PUSERINFO2 = ^USER_INFO_2;
  5876. USER_INFO_0 = record
  5877. usri0_name : LPWSTR;
  5878. end;
  5879. PUSER_INFO_0 = ^USER_INFO_0;
  5880. LPUSER_INFO_0 = ^USER_INFO_0;
  5881. TUSERINFO0 = USER_INFO_0;
  5882. PUSERINFO0 = ^USER_INFO_0;
  5883. USER_INFO_3 = record
  5884. usri3_name : LPWSTR;
  5885. usri3_password : LPWSTR;
  5886. usri3_password_age : DWORD;
  5887. usri3_priv : DWORD;
  5888. usri3_home_dir : LPWSTR;
  5889. usri3_comment : LPWSTR;
  5890. usri3_flags : DWORD;
  5891. usri3_script_path : LPWSTR;
  5892. usri3_auth_flags : DWORD;
  5893. usri3_full_name : LPWSTR;
  5894. usri3_usr_comment : LPWSTR;
  5895. usri3_parms : LPWSTR;
  5896. usri3_workstations : LPWSTR;
  5897. usri3_last_logon : DWORD;
  5898. usri3_last_logoff : DWORD;
  5899. usri3_acct_expires : DWORD;
  5900. usri3_max_storage : DWORD;
  5901. usri3_units_per_week : DWORD;
  5902. usri3_logon_hours : PBYTE;
  5903. usri3_bad_pw_count : DWORD;
  5904. usri3_num_logons : DWORD;
  5905. usri3_logon_server : LPWSTR;
  5906. usri3_country_code : DWORD;
  5907. usri3_code_page : DWORD;
  5908. usri3_user_id : DWORD;
  5909. usri3_primary_group_id : DWORD;
  5910. usri3_profile : LPWSTR;
  5911. usri3_home_dir_drive : LPWSTR;
  5912. usri3_password_expired : DWORD;
  5913. end;
  5914. PUSER_INFO_3 = ^USER_INFO_3;
  5915. LPUSER_INFO_3 = ^USER_INFO_3;
  5916. TUSERINFO3 = USER_INFO_3;
  5917. PUSERINFO3 = ^USER_INFO_3;
  5918. GROUP_INFO_2 = record
  5919. grpi2_name : LPWSTR;
  5920. grpi2_comment : LPWSTR;
  5921. grpi2_group_id : DWORD;
  5922. grpi2_attributes : DWORD;
  5923. end;
  5924. PGROUP_INFO_2 = ^GROUP_INFO_2;
  5925. TGROUPINFO2 = GROUP_INFO_2;
  5926. PGROUPINFO2 = ^GROUP_INFO_2;
  5927. LOCALGROUP_INFO_0 = record
  5928. lgrpi0_name : LPWSTR;
  5929. end;
  5930. PLOCALGROUP_INFO_0 = ^LOCALGROUP_INFO_0;
  5931. LPLOCALGROUP_INFO_0 = ^LOCALGROUP_INFO_0;
  5932. TLOCALGROUPINFO0 = LOCALGROUP_INFO_0;
  5933. PLOCALGROUPINFO0 = ^LOCALGROUP_INFO_0;
  5934. { PE executable header. }
  5935. { Magic number, 0x5a4d }
  5936. { Bytes on last page of file, 0x90 }
  5937. { Pages in file, 0x3 }
  5938. { Relocations, 0x0 }
  5939. { Size of header in paragraphs, 0x4 }
  5940. { Minimum extra paragraphs needed, 0x0 }
  5941. { Maximum extra paragraphs needed, 0xFFFF }
  5942. { Initial (relative) SS value, 0x0 }
  5943. { Initial SP value, 0xb8 }
  5944. { Checksum, 0x0 }
  5945. { Initial IP value, 0x0 }
  5946. { Initial (relative) CS value, 0x0 }
  5947. { File address of relocation table, 0x40 }
  5948. { Overlay number, 0x0 }
  5949. { Reserved words, all 0x0 }
  5950. { OEM identifier (for e_oeminfo), 0x0 }
  5951. { OEM information; e_oemid specific, 0x0 }
  5952. { Reserved words, all 0x0 }
  5953. { File address of new exe header, 0x80 }
  5954. { We leave out the next two fields, since they aren't in the header file }
  5955. { DWORD dos_message[16]; text which always follows dos header }
  5956. { DWORD nt_signature; required NT signature, 0x4550 }
  5957. IMAGE_DOS_HEADER = record
  5958. e_magic : WORD;
  5959. e_cblp : WORD;
  5960. e_cp : WORD;
  5961. e_crlc : WORD;
  5962. e_cparhdr : WORD;
  5963. e_minalloc : WORD;
  5964. e_maxalloc : WORD;
  5965. e_ss : WORD;
  5966. e_sp : WORD;
  5967. e_csum : WORD;
  5968. e_ip : WORD;
  5969. e_cs : WORD;
  5970. e_lfarlc : WORD;
  5971. e_ovno : WORD;
  5972. e_res : array[0..3] of WORD;
  5973. e_oemid : WORD;
  5974. e_oeminfo : WORD;
  5975. e_res2 : array[0..9] of WORD;
  5976. e_lfanew : LONG;
  5977. end;
  5978. PIMAGE_DOS_HEADER = ^IMAGE_DOS_HEADER;
  5979. TIMAGEDOSHEADER = IMAGE_DOS_HEADER;
  5980. PIMAGEDOSHEADER = ^IMAGE_DOS_HEADER;
  5981. _NOTIFYICONDATAA = record
  5982. cbSize: DWORD;
  5983. Wnd: HWND;
  5984. uID: UINT;
  5985. uFlags: UINT;
  5986. uCallbackMessage: UINT;
  5987. hIcon: HICON;
  5988. szTip: array [0..63] of Char;
  5989. end;
  5990. _NOTIFYICONDATA = _NOTIFYICONDATAA;
  5991. _NOTIFYICONDATAW = record
  5992. cbSize: DWORD;
  5993. Wnd: HWND;
  5994. uID: UINT;
  5995. uFlags: UINT;
  5996. uCallbackMessage: UINT;
  5997. hIcon: HICON;
  5998. szTip: array [0..63] of Word;
  5999. end;
  6000. TNotifyIconDataA = _NOTIFYICONDATAA;
  6001. TNotifyIconDataW = _NOTIFYICONDATAW;
  6002. TNotifyIconData = TNotifyIconDataA;
  6003. NOTIFYICONDATAA = _NOTIFYICONDATAA;
  6004. NOTIFYICONDATAW = _NOTIFYICONDATAW;
  6005. NOTIFYICONDATA = NOTIFYICONDATAA;
  6006. PNotifyIconDataA = ^TNotifyIconDataA;
  6007. PNotifyIconDataW = ^TNotifyIconDataW;
  6008. PNotifyIconData = PNotifyIconDataA;
  6009. TWOHandleArray = array[0..MAXIMUM_WAIT_OBJECTS-1] of HANDLE;
  6010. PWOHandleArray = ^TWOHandleArray;
  6011. {$ifndef HASVARIANT}
  6012. { This causes trouble with a compiler which has real variant support FK }
  6013. { Variant support }
  6014. TVarType = Word;
  6015. PVariant = ^TVariant;
  6016. { This variant type definition doesn't contain _all_ possible variant
  6017. types - some are not possible atm with FPC, e.g. VT_BSTR to mention
  6018. This is part of the variant definition used by Windows API not that Borland
  6019. TVarRec one which is already partially implemented.
  6020. Needed for some COM objects }
  6021. TVariant = record
  6022. vt: TVarType;
  6023. wReserved1: Word;
  6024. wReserved2: Word;
  6025. wReserved3: Word;
  6026. case Integer of
  6027. VT_UI1: (bVal: Byte);
  6028. VT_I2: (iVal: Smallint);
  6029. VT_I4: (lVal: Longint);
  6030. VT_R4: (fltVal: Single);
  6031. VT_R8: (dblVal: Double);
  6032. VT_BOOL: (vbool: WordBool);
  6033. VT_ERROR: (scode: HResult);
  6034. VT_BYREF or VT_UI1: (pbVal: ^Byte);
  6035. VT_BYREF or VT_I2: (piVal: ^Smallint);
  6036. VT_BYREF or VT_I4: (plVal: ^Longint);
  6037. VT_BYREF or VT_R4: (pfltVal: ^Single);
  6038. VT_BYREF or VT_R8: (pdblVal: ^Double);
  6039. VT_BYREF or VT_BOOL: (pbool: ^WordBool);
  6040. VT_BYREF or VT_ERROR: (pscode: ^HResult);
  6041. VT_BYREF: (byRef: Pointer);
  6042. end;
  6043. VARIANT = TVariant;
  6044. {$endif HASVARIANT}
  6045. MMRESULT = Longint;
  6046. type
  6047. PWaveFormatEx = ^TWaveFormatEx;
  6048. TWaveFormatEx = packed record
  6049. wFormatTag: Word; { format type }
  6050. nChannels: Word; { number of channels (i.e. mono, stereo, etc.) }
  6051. nSamplesPerSec: DWORD; { sample rate }
  6052. nAvgBytesPerSec: DWORD; { for buffer estimation }
  6053. nBlockAlign: Word; { block size of data }
  6054. wBitsPerSample: Word; { number of bits per sample of mono data }
  6055. cbSize: Word; { the count in bytes of the size of }
  6056. end;
  6057. _WIN32_FILE_ATTRIBUTE_DATA = packed record
  6058. dwFileAttributes: DWORD;
  6059. ftCreationTime: FILETIME;
  6060. ftLastAccessTime: FILETIME;
  6061. ftLastWriteTime: FILETIME;
  6062. nFileSizeHigh: DWORD;
  6063. nFileSizeLow: DWORD;
  6064. end;
  6065. WIN32_FILE_ATTRIBUTE_DATA = _WIN32_FILE_ATTRIBUTE_DATA ;
  6066. LPWIN32_FILE_ATTRIBUTE_DATA = ^_WIN32_FILE_ATTRIBUTE_DATA;
  6067. TWIN32FILEATTRIBUTEDATA = _WIN32_FILE_ATTRIBUTE_DATA ;
  6068. PWIN32FILEATTRIBUTEDATA = ^_WIN32_FILE_ATTRIBUTE_DATA;
  6069. // TrackMouseEvent. NT or higher only.
  6070. TTrackMouseEvent = Record
  6071. cbSize : DWORD;
  6072. dwFlags : DWORD;
  6073. hwndTrack : HWND;
  6074. dwHoverTime : DWORD;
  6075. end;
  6076. PTrackMouseEvent = ^TTrackMouseEvent;
  6077. {$endif read_interface}
  6078. {$ifdef read_implementation}
  6079. function fBinary(var a : DCB) : DWORD;
  6080. begin
  6081. fBinary:=(a.flags and bm_DCB_fBinary) shr bp_DCB_fBinary;
  6082. end;
  6083. procedure set_fBinary(var a : DCB; __fBinary : DWORD);
  6084. begin
  6085. a.flags:=a.flags or ((__fBinary shl bp_DCB_fBinary) and bm_DCB_fBinary);
  6086. end;
  6087. function fParity(var a : DCB) : DWORD;
  6088. begin
  6089. fParity:=(a.flags and bm_DCB_fParity) shr bp_DCB_fParity;
  6090. end;
  6091. procedure set_fParity(var a : DCB; __fParity : DWORD);
  6092. begin
  6093. a.flags:=a.flags or ((__fParity shl bp_DCB_fParity) and bm_DCB_fParity);
  6094. end;
  6095. function fOutxCtsFlow(var a : DCB) : DWORD;
  6096. begin
  6097. fOutxCtsFlow:=(a.flags and bm_DCB_fOutxCtsFlow) shr bp_DCB_fOutxCtsFlow;
  6098. end;
  6099. procedure set_fOutxCtsFlow(var a : DCB; __fOutxCtsFlow : DWORD);
  6100. begin
  6101. a.flags:=a.flags or ((__fOutxCtsFlow shl bp_DCB_fOutxCtsFlow) and bm_DCB_fOutxCtsFlow);
  6102. end;
  6103. function fOutxDsrFlow(var a : DCB) : DWORD;
  6104. begin
  6105. fOutxDsrFlow:=(a.flags and bm_DCB_fOutxDsrFlow) shr bp_DCB_fOutxDsrFlow;
  6106. end;
  6107. procedure set_fOutxDsrFlow(var a : DCB; __fOutxDsrFlow : DWORD);
  6108. begin
  6109. a.flags:=a.flags or ((__fOutxDsrFlow shl bp_DCB_fOutxDsrFlow) and bm_DCB_fOutxDsrFlow);
  6110. end;
  6111. function fDtrControl(var a : DCB) : DWORD;
  6112. begin
  6113. fDtrControl:=(a.flags and bm_DCB_fDtrControl) shr bp_DCB_fDtrControl;
  6114. end;
  6115. procedure set_fDtrControl(var a : DCB; __fDtrControl : DWORD);
  6116. begin
  6117. a.flags:=a.flags or ((__fDtrControl shl bp_DCB_fDtrControl) and bm_DCB_fDtrControl);
  6118. end;
  6119. function fDsrSensitivity(var a : DCB) : DWORD;
  6120. begin
  6121. fDsrSensitivity:=(a.flags and bm_DCB_fDsrSensitivity) shr bp_DCB_fDsrSensitivity;
  6122. end;
  6123. procedure set_fDsrSensitivity(var a : DCB; __fDsrSensitivity : DWORD);
  6124. begin
  6125. a.flags:=a.flags or ((__fDsrSensitivity shl bp_DCB_fDsrSensitivity) and bm_DCB_fDsrSensitivity);
  6126. end;
  6127. function fTXContinueOnXoff(var a : DCB) : DWORD;
  6128. begin
  6129. fTXContinueOnXoff:=(a.flags and bm_DCB_fTXContinueOnXoff) shr bp_DCB_fTXContinueOnXoff;
  6130. end;
  6131. procedure set_fTXContinueOnXoff(var a : DCB; __fTXContinueOnXoff : DWORD);
  6132. begin
  6133. a.flags:=a.flags or ((__fTXContinueOnXoff shl bp_DCB_fTXContinueOnXoff) and bm_DCB_fTXContinueOnXoff);
  6134. end;
  6135. function fOutX(var a : DCB) : DWORD;
  6136. begin
  6137. fOutX:=(a.flags and bm_DCB_fOutX) shr bp_DCB_fOutX;
  6138. end;
  6139. procedure set_fOutX(var a : DCB; __fOutX : DWORD);
  6140. begin
  6141. a.flags:=a.flags or ((__fOutX shl bp_DCB_fOutX) and bm_DCB_fOutX);
  6142. end;
  6143. function fInX(var a : DCB) : DWORD;
  6144. begin
  6145. fInX:=(a.flags and bm_DCB_fInX) shr bp_DCB_fInX;
  6146. end;
  6147. procedure set_fInX(var a : DCB; __fInX : DWORD);
  6148. begin
  6149. a.flags:=a.flags or ((__fInX shl bp_DCB_fInX) and bm_DCB_fInX);
  6150. end;
  6151. function fErrorChar(var a : DCB) : DWORD;
  6152. begin
  6153. fErrorChar:=(a.flags and bm_DCB_fErrorChar) shr bp_DCB_fErrorChar;
  6154. end;
  6155. procedure set_fErrorChar(var a : DCB; __fErrorChar : DWORD);
  6156. begin
  6157. a.flags:=a.flags or ((__fErrorChar shl bp_DCB_fErrorChar) and bm_DCB_fErrorChar);
  6158. end;
  6159. function fNull(var a : DCB) : DWORD;
  6160. begin
  6161. fNull:=(a.flags and bm_DCB_fNull) shr bp_DCB_fNull;
  6162. end;
  6163. procedure set_fNull(var a : DCB; __fNull : DWORD);
  6164. begin
  6165. a.flags:=a.flags or ((__fNull shl bp_DCB_fNull) and bm_DCB_fNull);
  6166. end;
  6167. function fRtsControl(var a : DCB) : DWORD;
  6168. begin
  6169. fRtsControl:=(a.flags and bm_DCB_fRtsControl) shr bp_DCB_fRtsControl;
  6170. end;
  6171. procedure set_fRtsControl(var a : DCB; __fRtsControl : DWORD);
  6172. begin
  6173. a.flags:=a.flags or ((__fRtsControl shl bp_DCB_fRtsControl) and bm_DCB_fRtsControl);
  6174. end;
  6175. function fAbortOnError(var a : DCB) : DWORD;
  6176. begin
  6177. fAbortOnError:=(a.flags and bm_DCB_fAbortOnError) shr bp_DCB_fAbortOnError;
  6178. end;
  6179. procedure set_fAbortOnError(var a : DCB; __fAbortOnError : DWORD);
  6180. begin
  6181. a.flags:=a.flags or ((__fAbortOnError shl bp_DCB_fAbortOnError) and bm_DCB_fAbortOnError);
  6182. end;
  6183. function fDummy2(var a : DCB) : DWORD;
  6184. begin
  6185. fDummy2:=(a.flags and bm_DCB_fDummy2) shr bp_DCB_fDummy2;
  6186. end;
  6187. procedure set_fDummy2(var a : DCB; __fDummy2 : DWORD);
  6188. begin
  6189. a.flags:=a.flags or ((__fDummy2 shl bp_DCB_fDummy2) and bm_DCB_fDummy2);
  6190. end;
  6191. function fCtsHold(var a : COMSTAT) : DWORD;
  6192. begin
  6193. fCtsHold:=(a.flag0 and bm_COMSTAT_fCtsHold) shr bp_COMSTAT_fCtsHold;
  6194. end;
  6195. procedure set_fCtsHold(var a : COMSTAT; __fCtsHold : DWORD);
  6196. begin
  6197. a.flag0:=a.flag0 or ((__fCtsHold shl bp_COMSTAT_fCtsHold) and bm_COMSTAT_fCtsHold);
  6198. end;
  6199. function fDsrHold(var a : COMSTAT) : DWORD;
  6200. begin
  6201. fDsrHold:=(a.flag0 and bm_COMSTAT_fDsrHold) shr bp_COMSTAT_fDsrHold;
  6202. end;
  6203. procedure set_fDsrHold(var a : COMSTAT; __fDsrHold : DWORD);
  6204. begin
  6205. a.flag0:=a.flag0 or ((__fDsrHold shl bp_COMSTAT_fDsrHold) and bm_COMSTAT_fDsrHold);
  6206. end;
  6207. function fRlsdHold(var a : COMSTAT) : DWORD;
  6208. begin
  6209. fRlsdHold:=(a.flag0 and bm_COMSTAT_fRlsdHold) shr bp_COMSTAT_fRlsdHold;
  6210. end;
  6211. procedure set_fRlsdHold(var a : COMSTAT; __fRlsdHold : DWORD);
  6212. begin
  6213. a.flag0:=a.flag0 or ((__fRlsdHold shl bp_COMSTAT_fRlsdHold) and bm_COMSTAT_fRlsdHold);
  6214. end;
  6215. function fXoffHold(var a : COMSTAT) : DWORD;
  6216. begin
  6217. fXoffHold:=(a.flag0 and bm_COMSTAT_fXoffHold) shr bp_COMSTAT_fXoffHold;
  6218. end;
  6219. procedure set_fXoffHold(var a : COMSTAT; __fXoffHold : DWORD);
  6220. begin
  6221. a.flag0:=a.flag0 or ((__fXoffHold shl bp_COMSTAT_fXoffHold) and bm_COMSTAT_fXoffHold);
  6222. end;
  6223. function fXoffSent(var a : COMSTAT) : DWORD;
  6224. begin
  6225. fXoffSent:=(a.flag0 and bm_COMSTAT_fXoffSent) shr bp_COMSTAT_fXoffSent;
  6226. end;
  6227. procedure set_fXoffSent(var a : COMSTAT; __fXoffSent : DWORD);
  6228. begin
  6229. a.flag0:=a.flag0 or ((__fXoffSent shl bp_COMSTAT_fXoffSent) and bm_COMSTAT_fXoffSent);
  6230. end;
  6231. function fEof(var a : COMSTAT) : DWORD;
  6232. begin
  6233. fEof:=(a.flag0 and bm_COMSTAT_fEof) shr bp_COMSTAT_fEof;
  6234. end;
  6235. procedure set_fEof(var a : COMSTAT; __fEof : DWORD);
  6236. begin
  6237. a.flag0:=a.flag0 or ((__fEof shl bp_COMSTAT_fEof) and bm_COMSTAT_fEof);
  6238. end;
  6239. function fTxim(var a : COMSTAT) : DWORD;
  6240. begin
  6241. fTxim:=(a.flag0 and bm_COMSTAT_fTxim) shr bp_COMSTAT_fTxim;
  6242. end;
  6243. procedure set_fTxim(var a : COMSTAT; __fTxim : DWORD);
  6244. begin
  6245. a.flag0:=a.flag0 or ((__fTxim shl bp_COMSTAT_fTxim) and bm_COMSTAT_fTxim);
  6246. end;
  6247. function fReserved(var a : COMSTAT) : DWORD;
  6248. begin
  6249. fReserved:=(a.flag0 and bm_COMSTAT_fReserved) shr bp_COMSTAT_fReserved;
  6250. end;
  6251. procedure set_fReserved(var a : COMSTAT; __fReserved : DWORD);
  6252. begin
  6253. a.flag0:=a.flag0 or ((__fReserved shl bp_COMSTAT_fReserved) and bm_COMSTAT_fReserved);
  6254. end;
  6255. function bAppReturnCode(var a : DDEACK) : word;
  6256. begin
  6257. bAppReturnCode:=(a.flag0 and bm_DDEACK_bAppReturnCode) shr bp_DDEACK_bAppReturnCode;
  6258. end;
  6259. procedure set_bAppReturnCode(var a : DDEACK; __bAppReturnCode : word);
  6260. begin
  6261. a.flag0:=a.flag0 or ((__bAppReturnCode shl bp_DDEACK_bAppReturnCode) and bm_DDEACK_bAppReturnCode);
  6262. end;
  6263. function reserved(var a : DDEACK) : word;
  6264. begin
  6265. reserved:=(a.flag0 and bm_DDEACK_reserved) shr bp_DDEACK_reserved;
  6266. end;
  6267. procedure set_reserved(var a : DDEACK; __reserved : word);
  6268. begin
  6269. a.flag0:=a.flag0 or ((__reserved shl bp_DDEACK_reserved) and bm_DDEACK_reserved);
  6270. end;
  6271. function fBusy(var a : DDEACK) : word;
  6272. begin
  6273. fBusy:=(a.flag0 and bm_DDEACK_fBusy) shr bp_DDEACK_fBusy;
  6274. end;
  6275. procedure set_fBusy(var a : DDEACK; __fBusy : word);
  6276. begin
  6277. a.flag0:=a.flag0 or ((__fBusy shl bp_DDEACK_fBusy) and bm_DDEACK_fBusy);
  6278. end;
  6279. function fAck(var a : DDEACK) : word;
  6280. begin
  6281. fAck:=(a.flag0 and bm_DDEACK_fAck) shr bp_DDEACK_fAck;
  6282. end;
  6283. procedure set_fAck(var a : DDEACK; __fAck : word);
  6284. begin
  6285. a.flag0:=a.flag0 or ((__fAck shl bp_DDEACK_fAck) and bm_DDEACK_fAck);
  6286. end;
  6287. function reserved(var a : DDEADVISE) : word;
  6288. begin
  6289. reserved:=(a.flag0 and bm_DDEADVISE_reserved) shr bp_DDEADVISE_reserved;
  6290. end;
  6291. procedure set_reserved(var a : DDEADVISE; __reserved : word);
  6292. begin
  6293. a.flag0:=a.flag0 or ((__reserved shl bp_DDEADVISE_reserved) and bm_DDEADVISE_reserved);
  6294. end;
  6295. function fDeferUpd(var a : DDEADVISE) : word;
  6296. begin
  6297. fDeferUpd:=(a.flag0 and bm_DDEADVISE_fDeferUpd) shr bp_DDEADVISE_fDeferUpd;
  6298. end;
  6299. procedure set_fDeferUpd(var a : DDEADVISE; __fDeferUpd : word);
  6300. begin
  6301. a.flag0:=a.flag0 or ((__fDeferUpd shl bp_DDEADVISE_fDeferUpd) and bm_DDEADVISE_fDeferUpd);
  6302. end;
  6303. function fAckReq(var a : DDEADVISE) : word;
  6304. begin
  6305. fAckReq:=(a.flag0 and bm_DDEADVISE_fAckReq) shr bp_DDEADVISE_fAckReq;
  6306. end;
  6307. procedure set_fAckReq(var a : DDEADVISE; __fAckReq : word);
  6308. begin
  6309. a.flag0:=a.flag0 or ((__fAckReq shl bp_DDEADVISE_fAckReq) and bm_DDEADVISE_fAckReq);
  6310. end;
  6311. function unused(var a : DDEDATA) : word;
  6312. begin
  6313. unused:=(a.flag0 and bm_DDEDATA_unused) shr bp_DDEDATA_unused;
  6314. end;
  6315. procedure set_unused(var a : DDEDATA; __unused : word);
  6316. begin
  6317. a.flag0:=a.flag0 or ((__unused shl bp_DDEDATA_unused) and bm_DDEDATA_unused);
  6318. end;
  6319. function fResponse(var a : DDEDATA) : word;
  6320. begin
  6321. fResponse:=(a.flag0 and bm_DDEDATA_fResponse) shr bp_DDEDATA_fResponse;
  6322. end;
  6323. procedure set_fResponse(var a : DDEDATA; __fResponse : word);
  6324. begin
  6325. a.flag0:=a.flag0 or ((__fResponse shl bp_DDEDATA_fResponse) and bm_DDEDATA_fResponse);
  6326. end;
  6327. function fRelease(var a : DDEDATA) : word;
  6328. begin
  6329. fRelease:=(a.flag0 and bm_DDEDATA_fRelease) shr bp_DDEDATA_fRelease;
  6330. end;
  6331. procedure set_fRelease(var a : DDEDATA; __fRelease : word);
  6332. begin
  6333. a.flag0:=a.flag0 or ((__fRelease shl bp_DDEDATA_fRelease) and bm_DDEDATA_fRelease);
  6334. end;
  6335. function reserved(var a : DDEDATA) : word;
  6336. begin
  6337. reserved:=(a.flag0 and bm_DDEDATA_reserved) shr bp_DDEDATA_reserved;
  6338. end;
  6339. procedure set_reserved(var a : DDEDATA; __reserved : word);
  6340. begin
  6341. a.flag0:=a.flag0 or ((__reserved shl bp_DDEDATA_reserved) and bm_DDEDATA_reserved);
  6342. end;
  6343. function fAckReq(var a : DDEDATA) : word;
  6344. begin
  6345. fAckReq:=(a.flag0 and bm_DDEDATA_fAckReq) shr bp_DDEDATA_fAckReq;
  6346. end;
  6347. procedure set_fAckReq(var a : DDEDATA; __fAckReq : word);
  6348. begin
  6349. a.flag0:=a.flag0 or ((__fAckReq shl bp_DDEDATA_fAckReq) and bm_DDEDATA_fAckReq);
  6350. end;
  6351. function unused(var a : DDELN) : word;
  6352. begin
  6353. unused:=(a.flag0 and bm_DDELN_unused) shr bp_DDELN_unused;
  6354. end;
  6355. procedure set_unused(var a : DDELN; __unused : word);
  6356. begin
  6357. a.flag0:=a.flag0 or ((__unused shl bp_DDELN_unused) and bm_DDELN_unused);
  6358. end;
  6359. function fRelease(var a : DDELN) : word;
  6360. begin
  6361. fRelease:=(a.flag0 and bm_DDELN_fRelease) shr bp_DDELN_fRelease;
  6362. end;
  6363. procedure set_fRelease(var a : DDELN; __fRelease : word);
  6364. begin
  6365. a.flag0:=a.flag0 or ((__fRelease shl bp_DDELN_fRelease) and bm_DDELN_fRelease);
  6366. end;
  6367. function fDeferUpd(var a : DDELN) : word;
  6368. begin
  6369. fDeferUpd:=(a.flag0 and bm_DDELN_fDeferUpd) shr bp_DDELN_fDeferUpd;
  6370. end;
  6371. procedure set_fDeferUpd(var a : DDELN; __fDeferUpd : word);
  6372. begin
  6373. a.flag0:=a.flag0 or ((__fDeferUpd shl bp_DDELN_fDeferUpd) and bm_DDELN_fDeferUpd);
  6374. end;
  6375. function fAckReq(var a : DDELN) : word;
  6376. begin
  6377. fAckReq:=(a.flag0 and bm_DDELN_fAckReq) shr bp_DDELN_fAckReq;
  6378. end;
  6379. procedure set_fAckReq(var a : DDELN; __fAckReq : word);
  6380. begin
  6381. a.flag0:=a.flag0 or ((__fAckReq shl bp_DDELN_fAckReq) and bm_DDELN_fAckReq);
  6382. end;
  6383. function unused(var a : DDEPOKE) : word;
  6384. begin
  6385. unused:=(a.flag0 and bm_DDEPOKE_unused) shr bp_DDEPOKE_unused;
  6386. end;
  6387. procedure set_unused(var a : DDEPOKE; __unused : word);
  6388. begin
  6389. a.flag0:=a.flag0 or ((__unused shl bp_DDEPOKE_unused) and bm_DDEPOKE_unused);
  6390. end;
  6391. function fRelease(var a : DDEPOKE) : word;
  6392. begin
  6393. fRelease:=(a.flag0 and bm_DDEPOKE_fRelease) shr bp_DDEPOKE_fRelease;
  6394. end;
  6395. procedure set_fRelease(var a : DDEPOKE; __fRelease : word);
  6396. begin
  6397. a.flag0:=a.flag0 or ((__fRelease shl bp_DDEPOKE_fRelease) and bm_DDEPOKE_fRelease);
  6398. end;
  6399. function fReserved(var a : DDEPOKE) : word;
  6400. begin
  6401. fReserved:=(a.flag0 and bm_DDEPOKE_fReserved) shr bp_DDEPOKE_fReserved;
  6402. end;
  6403. procedure set_fReserved(var a : DDEPOKE; __fReserved : word);
  6404. begin
  6405. a.flag0:=a.flag0 or ((__fReserved shl bp_DDEPOKE_fReserved) and bm_DDEPOKE_fReserved);
  6406. end;
  6407. function unused(var a : DDEUP) : word;
  6408. begin
  6409. unused:=(a.flag0 and bm_DDEUP_unused) shr bp_DDEUP_unused;
  6410. end;
  6411. procedure set_unused(var a : DDEUP; __unused : word);
  6412. begin
  6413. a.flag0:=a.flag0 or ((__unused shl bp_DDEUP_unused) and bm_DDEUP_unused);
  6414. end;
  6415. function fAck(var a : DDEUP) : word;
  6416. begin
  6417. fAck:=(a.flag0 and bm_DDEUP_fAck) shr bp_DDEUP_fAck;
  6418. end;
  6419. procedure set_fAck(var a : DDEUP; __fAck : word);
  6420. begin
  6421. a.flag0:=a.flag0 or ((__fAck shl bp_DDEUP_fAck) and bm_DDEUP_fAck);
  6422. end;
  6423. function fRelease(var a : DDEUP) : word;
  6424. begin
  6425. fRelease:=(a.flag0 and bm_DDEUP_fRelease) shr bp_DDEUP_fRelease;
  6426. end;
  6427. procedure set_fRelease(var a : DDEUP; __fRelease : word);
  6428. begin
  6429. a.flag0:=a.flag0 or ((__fRelease shl bp_DDEUP_fRelease) and bm_DDEUP_fRelease);
  6430. end;
  6431. function fReserved(var a : DDEUP) : word;
  6432. begin
  6433. fReserved:=(a.flag0 and bm_DDEUP_fReserved) shr bp_DDEUP_fReserved;
  6434. end;
  6435. procedure set_fReserved(var a : DDEUP; __fReserved : word);
  6436. begin
  6437. a.flag0:=a.flag0 or ((__fReserved shl bp_DDEUP_fReserved) and bm_DDEUP_fReserved);
  6438. end;
  6439. function fAckReq(var a : DDEUP) : word;
  6440. begin
  6441. fAckReq:=(a.flag0 and bm_DDEUP_fAckReq) shr bp_DDEUP_fAckReq;
  6442. end;
  6443. procedure set_fAckReq(var a : DDEUP; __fAckReq : word);
  6444. begin
  6445. a.flag0:=a.flag0 or ((__fAckReq shl bp_DDEUP_fAckReq) and bm_DDEUP_fAckReq);
  6446. end;
  6447. {$endif read_implementation}
  6448. {
  6449. $Log$
  6450. Revision 1.31 2005-01-08 14:43:34 florian
  6451. + added LOGFONTW
  6452. Revision 1.30 2005/01/08 14:39:01 florian
  6453. * DEVMODE fixed
  6454. Revision 1.29 2004/12/18 20:00:59 michael
  6455. Fixed widestring version of getversionex as per bug 3440 (Alexey Barkovoy)
  6456. Revision 1.28 2004/11/07 20:46:27 marco
  6457. * fix for 3299
  6458. Revision 1.27 2004/11/07 20:25:02 marco
  6459. * fixes for bug 3303 (devmodew)
  6460. Revision 1.26 2004/07/27 12:03:15 michael
  6461. + More TrackMouseEvent
  6462. Revision 1.25 2004/07/26 06:48:30 michael
  6463. + Added trackmouseevent call and structures
  6464. Revision 1.24 2004/05/04 10:34:29 marco
  6465. * pcritical section missed a ^
  6466. Revision 1.23 2004/03/10 15:08:10 marco
  6467. wininc/struct.inc
  6468. Revision 1.22 2004/02/06 23:10:20 marco
  6469. * a large_integer -> int64 change.
  6470. Revision 1.21 2003/12/04 12:34:09 marco
  6471. * twin32fileattributedata
  6472. Revision 1.20 2003/01/02 22:07:00 peter
  6473. * missing items
  6474. Revision 1.19 2002/12/15 20:24:17 peter
  6475. * some more C style functions
  6476. Revision 1.18 2002/12/12 17:34:35 peter
  6477. * Renaming INT type to WINT
  6478. Revision 1.17 2002/11/04 12:19:01 marco
  6479. * Move tmsg and family to messages.inc. windows.pp needed include sequence patch
  6480. Revision 1.16 2002/10/02 21:03:04 peter
  6481. * TSystemTime fpc compatibility parameters added as variant record
  6482. Revision 1.15 2002/09/15 17:53:45 peter
  6483. * Remove Float type, use Single instead
  6484. Revision 1.14 2002/09/07 16:01:32 peter
  6485. * old logs removed and tabs fixed
  6486. Revision 1.13 2002/07/16 13:52:14 florian
  6487. * LARGE_INT and ULARGE_INT types fixed
  6488. * LONGLONG defined properly
  6489. Revision 1.12 2002/02/07 13:04:40 florian
  6490. * some property sheet related structs fixed
  6491. Revision 1.11 2002/01/19 11:58:21 peter
  6492. * more functions from webbugs
  6493. }