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

2505 lines
67 KiB

  1. /*++ BUILD Version: 0001
  2. *
  3. * WOW v1.0
  4. *
  5. * Copyright (c) 1991, Microsoft Corporation
  6. *
  7. * WOWGDI.H
  8. * 16-bit GDI API argument structures
  9. *
  10. * History:
  11. * Created 02-Feb-1991 by Jeff Parsons (jeffpar)
  12. * Added Win 31 19-March-1992 Chandan S. Chauhan (ChandanC)
  13. *
  14. --*/
  15. /* GDI API IDs
  16. */
  17. #define FUN_ADDFONTRESOURCE 119 //
  18. #define FUN_ANIMATEPALETTE 367 //
  19. #define FUN_ARC 23 //
  20. #define FUN_BITBLT 34 //
  21. #define FUN_BRUTE 213 // No proto
  22. #define FUN_CHORD 348 //
  23. #define FUN_CLOSEJOB 243 // No proto
  24. #define FUN_CLOSEMETAFILE 126 //
  25. #define FUN_COMBINERGN 47 //
  26. #define FUN_COMPATIBLEBITMAP 157 // Internal
  27. #define FUN_COPY 250 // Internal
  28. #define FUN_COPYMETAFILE 151 //
  29. #define FUN_CREATEBITMAP 48 //
  30. #define FUN_CREATEBITMAPINDIRECT 49 //
  31. #define FUN_CREATEBRUSHINDIRECT 50 //
  32. #define FUN_CREATECOMPATIBLEBITMAP 51 //
  33. #define FUN_CREATECOMPATIBLEDC 52 //
  34. #define FUN_CREATEDC 53 //
  35. #define FUN_CREATEDIBITMAP 442 //
  36. #define FUN_CREATEDIBPATTERNBRUSH 445 //
  37. #define FUN_CREATEDISCARDABLEBITMAP 156 //
  38. #define FUN_CREATEELLIPTICRGN 54 //
  39. #define FUN_CREATEELLIPTICRGNINDIRECT 55 //
  40. #define FUN_CREATEFONT 56 //
  41. #define FUN_CREATEFONTINDIRECT 57 //
  42. #define FUN_CREATEHATCHBRUSH 58 //
  43. #define FUN_CREATEIC 153 //
  44. #define FUN_CREATEMETAFILE 125 //
  45. #define FUN_CREATEPALETTE 360 //
  46. #define FUN_CREATEPATTERNBRUSH 60 //
  47. #define FUN_CREATEPEN 61 //
  48. #define FUN_CREATEPENINDIRECT 62 //
  49. #define FUN_CREATEPOLYGONRGN 63 //
  50. #define FUN_CREATEPOLYPOLYGONRGN 451 //
  51. #define FUN_CREATEPQ 230 // No proto
  52. #define FUN_CREATEREALBITMAP 408 // Internal
  53. #define FUN_CREATEREALBITMAPINDIRECT 406 // Internal
  54. #define FUN_CREATERECTRGN 64 //
  55. #define FUN_CREATERECTRGNINDIRECT 65 //
  56. #define FUN_CREATEROUNDRECTRGN 444 //
  57. #define FUN_CREATESOLIDBRUSH 66 //
  58. #define FUN_CREATEUSERBITMAP 407 // Internal
  59. #define FUN_CREATEUSERDISCARDABLEBITMAP 409 // Internal
  60. #define FUN_DEATH 121 // Internal
  61. #define FUN_DELETEABOVELINEFONTS 186 // Internal
  62. #define FUN_DELETEDC 68 //
  63. #define FUN_DELETEJOB 244 // No proto
  64. #define FUN_DELETEMETAFILE 127 //
  65. #define FUN_DELETEOBJECT 69 //
  66. #define FUN_DELETEPQ 235 // No proto
  67. #define FUN_DEVICECOLORMATCH 449 // Internal
  68. #define FUN_DEVICEMODE 452 //
  69. #define FUN_DMBITBLT 201 // No proto
  70. #define FUN_DMCOLORINFO 202 // No proto
  71. #define FUN_DMENUMDFONTS 206 // No proto
  72. #define FUN_DMENUMOBJ 207 // No proto
  73. #define FUN_DMOUTPUT 208 // No proto
  74. #define FUN_DMPIXEL 209 // No proto
  75. #define FUN_DMREALIZEOBJECT 210 // No proto
  76. #define FUN_DMSCANLR 212 // No proto
  77. #define FUN_DMSTRBLT 211 // No proto
  78. #define FUN_DMTRANSPOSE 220 // No proto
  79. #define FUN_DPTOLP 67 //
  80. #define FUN_DPXLATE 138 // Internal
  81. #define FUN_ELLIPSE 24 //
  82. #define FUN_ENDSPOOLPAGE 247 // No proto
  83. #define FUN_ENUMCALLBACK 158 // Internal
  84. #define FUN_ENUMFONTS 70 //
  85. #define FUN_ENUMMETAFILE 175 //
  86. #define FUN_ENUMOBJECTS 71 //
  87. #define FUN_EQUALRGN 72 //
  88. #define FUN_ESCAPE 38 //
  89. #define FUN_EXCLUDECLIPRECT 21 //
  90. #define FUN_EXCLUDEVISRECT 73 // Internal
  91. #define FUN_EXTDEVICEMODE 453 //
  92. #define FUN_DEVICECAPABILITIES 454
  93. //#define FUN_ADVANCEDSETUPDIALOG 455
  94. #define FUN_EXTFLOODFILL 372 // Internal, proto
  95. #define FUN_EXTRACTPQ 232 // No proto
  96. #define FUN_EXTTEXTOUT 351 //
  97. #define FUN_FASTWINDOWFRAME 400 // Internal
  98. #define FUN_FILLRGN 40 //
  99. #define FUN_FINALGDIINIT 405 // Internal
  100. #define FUN_FLOODFILL 25 //
  101. #define FUN_FRAMERGN 41 //
  102. #define FUN_GDIFLUSH 263 // New Private
  103. #define FUN_GDIINIT2 403 // Internal
  104. #define FUN_GDIMOVEBITMAP 401 // Internal
  105. #define FUN_GDIREALIZEPALETTE 362 // Internal
  106. #define FUN_GDISELECTPALETTE 361 // Internal
  107. #define FUN_GDI_WEP 0 // Export by name
  108. #define FUN_GETASPECTRATIOFILTER 353 //
  109. #define FUN_GETBITMAPBITS 74 //
  110. #define FUN_GETBITMAPDIMENSION 162 //
  111. #define FUN_GETBKCOLOR 75 //
  112. #define FUN_GETBKMODE 76 //
  113. #define FUN_GETBRUSHORG 149 //
  114. #define FUN_GETCHARWIDTH 350 //
  115. #define FUN_GETCLIPBOX 77 //
  116. #define FUN_GETCLIPRGN 173 // Internal
  117. #define FUN_GETCURLOGFONT 411 // Internal
  118. #define FUN_GETCURRENTOBJECT 261 // New Private
  119. #define FUN_GETCURRENTPOSITION 78 //
  120. #define FUN_GETDCORG 79 //
  121. #define FUN_GETDCSTATE 179 // Internal
  122. #define FUN_GETDEVICECAPS 80 //
  123. #define FUN_GETDIBITS 441 //
  124. #define FUN_GETENVIRONMENT 133 //
  125. #define FUN_GETMAPMODE 81 //
  126. #define FUN_GETMETAFILE 124 //
  127. #define FUN_GETMETAFILEBITS 159 //
  128. #define FUN_GETNEARESTCOLOR 154 //
  129. #define FUN_GETNEARESTPALETTEINDEX 370 //
  130. #define FUN_GETOBJECT 82 //
  131. #define FUN_GETOBJECTTYPE 260 // New Private
  132. #define FUN_GETPALETTEENTRIES 363 //
  133. #define FUN_GETPHYSICALFONTHANDLE 352 // Internal
  134. #define FUN_GETPIXEL 83 //
  135. #define FUN_GETPOLYFILLMODE 84 //
  136. #define FUN_GETRELABS 86 // Internal
  137. #define FUN_GETRGNBOX 134 //
  138. #define FUN_GETROP2 85 //
  139. #define FUN_GETSPOOLJOB 245 // No proto
  140. #define FUN_GETSTOCKOBJECT 87 //
  141. #define FUN_GETSTRETCHBLTMODE 88 //
  142. #define FUN_GETSYSTEMPALETTEENTRIES 375 //
  143. #define FUN_GETSYSTEMPALETTEUSE 374 //
  144. #define FUN_GETTEXTALIGN 345 //
  145. #define FUN_GETTEXTCHARACTEREXTRA 89 //
  146. #define FUN_GETTEXTCOLOR 90 //
  147. #define FUN_GETTEXTEXTENT 91 //
  148. #define FUN_GETTEXTFACE 92 //
  149. #define FUN_GETTEXTMETRICS 93 //
  150. #define FUN_GETVIEWPORTEXT 94 //
  151. #define FUN_GETVIEWPORTORG 95 //
  152. #define FUN_GETWINDOWEXT 96 //
  153. #define FUN_GETWINDOWORG 97 //
  154. #define FUN_GSV 137 // Internal
  155. #define FUN_INQUIREVISRGN 131 // Internal
  156. #define FUN_INSERTPQ 233 // No proto
  157. #define FUN_INTERNALCREATEDC 118 // Internal
  158. #define FUN_INTERSECTCLIPRECT 22 //
  159. #define FUN_INTERSECTVISRECT 98 // Internal
  160. #define FUN_INVERTRGN 42 //
  161. #define FUN_ISDCCURRENTPALETTE 412 // Internal
  162. #define FUN_ISDCDIRTY 169 // Internal
  163. #define FUN_ISVALIDMETAFILE 410 // Internal
  164. #define FUN_LINEDDA 100 //
  165. #define FUN_LINETO 19 //
  166. #define FUN_LPTODP 99 //
  167. #define FUN_LVBUNION 171 // Internal
  168. #define FUN_MFDRAWTEXT 347 // Internal
  169. #define FUN_MINPQ 231 // No proto
  170. #define FUN_MOVETO 20 //
  171. #define FUN_MULDIV 128 //
  172. #define FUN_OFFSETCLIPRGN 32 //
  173. #define FUN_OFFSETORG 143 // Internal
  174. #define FUN_OFFSETRGN 101 //
  175. #define FUN_OFFSETVIEWPORTORG 17 //
  176. #define FUN_OFFSETVISRGN 102 // Internal
  177. #define FUN_OFFSETWINDOWORG 15 //
  178. #define FUN_OPENJOB 240 // No proto
  179. #define FUN_PAINTRGN 43 //
  180. #define FUN_PATBLT 29 //
  181. #define FUN_PIE 26 //
  182. #define FUN_PIXTOLINE 164 // Internal
  183. #define FUN_PLAYMETAFILE 123 //
  184. #define FUN_PLAYMETAFILERECORD 176 //
  185. #define FUN_POLYGON 36 //
  186. #define FUN_POLYLINE 37 //
  187. #define FUN_POLYPOLYGON 450 //
  188. #define FUN_POLYPOLYLINEWOW 487 //
  189. #define FUN_PTINREGION 161 //
  190. #define FUN_PTVISIBLE 103 //
  191. #define FUN_QUERYABORT 155 // Internal
  192. #define FUN_QUERYJOB 248 // Internal
  193. #define FUN_RCOS 177 // Internal
  194. #define FUN_REALIZEDEFAULTPALETTE 365 // Internal
  195. #define FUN_RECTANGLE 27 //
  196. #define FUN_RECTINREGION 181 //
  197. #define FUN_RECTSTUFF 142 // Internal
  198. #define FUN_RECTVISIBLE 104 //
  199. #define FUN_REMOVEFONTRESOURCE 136 //
  200. #define FUN_RESIZEPALETTE 368 //
  201. #define FUN_RESTOREDC 39 //
  202. #define FUN_RESTOREVISRGN 130 // Internal
  203. #define FUN_RESURRECTION 122 // Internal
  204. #define FUN_ROUNDRECT 28 //
  205. #define FUN_RSIN 178 // Internal
  206. #define FUN_SAVEDC 30 //
  207. #define FUN_SAVEVISRGN 129 // Internal
  208. #define FUN_SCALEEXT 140 // Internal
  209. #define FUN_SCALEVIEWPORTEXT 18 //
  210. #define FUN_SCALEWINDOWEXT 16 //
  211. #define FUN_SCANLR 135 // Internal
  212. #define FUN_SELECTCLIPRGN 44 //
  213. #define FUN_SELECTOBJECT 45 //
  214. #define FUN_SELECTVISRGN 105 // Internal
  215. #define FUN_SETBITMAPBITS 106 //
  216. #define FUN_SETBITMAPDIMENSION 163 //
  217. #define FUN_SETBKCOLOR 1 //
  218. #define FUN_SETBKMODE 2 //
  219. #define FUN_SETBRUSHORG 148 //
  220. #define FUN_SETDCORG 117 // Internal
  221. #define FUN_SETDCSTATE 180 // Internal
  222. #define FUN_SETDCSTATUS 170 // Internal
  223. #define FUN_SETDIBITS 440 //
  224. #define FUN_SETDIBITSTODEVICE 443 //
  225. #define FUN_SETENVIRONMENT 132 //
  226. #define FUN_SETMAPMODE 3 //
  227. #define FUN_SETMAPPERFLAGS 349 //
  228. #define FUN_SETMETAFILEBITS 160 //
  229. #define FUN_SETPALETTEENTRIES 364 //
  230. #define FUN_SETPIXEL 31 //
  231. #define FUN_SETPOLYFILLMODE 6 //
  232. #define FUN_SETRECTRGN 172 //
  233. #define FUN_SETRELABS 5 // Internal
  234. #define FUN_SETROP2 4 //
  235. #define FUN_SETSTRETCHBLTMODE 7 //
  236. #define FUN_SETSYSTEMPALETTEUSE 373 //
  237. #define FUN_SETTEXTALIGN 346 //
  238. #define FUN_SETTEXTCHARACTEREXTRA 8 //
  239. #define FUN_SETTEXTCOLOR 9 //
  240. #define FUN_SETTEXTJUSTIFICATION 10 //
  241. #define FUN_SETVIEWPORTEXT 14 //
  242. #define FUN_SETVIEWPORTORG 13 //
  243. #define FUN_SETWINDOWEXT 12 //
  244. #define FUN_SETWINDOWORG 11 //
  245. #define FUN_SETWINVIEWEXT 139 // Internal
  246. #define FUN_SHRINKGDIHEAP 354 // Internal
  247. #define FUN_SIZEPQ 234 // No proto
  248. #define FUN_STARTSPOOLPAGE 246 // No proto
  249. #define FUN_STRETCHBLT 35 //
  250. #define FUN_STRETCHDIBITS 439 //
  251. #define FUN_STUFFINREGION 185 // Internal
  252. #define FUN_STUFFVISIBLE 184 // Internal
  253. #define FUN_TEXTOUT 33 //
  254. #define FUN_UNREALIZEOBJECT 150 //
  255. #define FUN_UPDATECOLORS 366 //
  256. #define FUN_WORDSET 141 // Internal
  257. #define FUN_WRITEDIALOG 242 // No proto
  258. #define FUN_WRITESPOOL 241 // No proto
  259. #define FUN_ABORTDOC 382
  260. #define FUN_CREATESCALABLEFONTRESOURCE 310
  261. #define FUN_ENDDOC 378
  262. #define FUN_ENDPAGE 380
  263. #define FUN_ENUMFONTFAMILIES 330
  264. #define FUN_GETASPECTRATIOFILTEREX 486
  265. #define FUN_GETBITMAPDIMENSIONEX 468
  266. #define FUN_GETBOUNDSRECT 194
  267. #define FUN_GETBRUSHORGEX 469
  268. #define FUN_GETCHARABCWIDTHS 307
  269. #define FUN_GETCURRENTPOSITIONEX 470
  270. #define FUN_GETFONTDATA 311
  271. #define FUN_GETGLYPHOUTLINE 309
  272. #define FUN_GETOUTLINETEXTMETRICS 308
  273. #define FUN_GETRASTERIZERCAPS 313
  274. #define FUN_GETEXTEXTENTEX 188
  275. #define FUN_GETEXTEXTENTPOINT 471
  276. #define FUN_GETVIEWPORTEXTEX 472
  277. #define FUN_GETVIEWPORTORGEX 473
  278. #define FUN_GETWINDOWEXTEX 474
  279. #define FUN_GETWINDOWORGEX 475
  280. #define FUN_ISGDIOBJECT 462
  281. #define FUN_MOVETOEX 483
  282. #define FUN_OFFSETVIEWPORTORGEX 476
  283. #define FUN_OFFSETWINDOWORGEX 477
  284. #define FUN_QUERYABORT 155
  285. #define FUN_RESETDC 376
  286. #define FUN_SCALEVIEWPORTEXTEX 484
  287. #define FUN_SCALEWINDOWEXTEX 485
  288. #define FUN_SETABORTPROC 381
  289. #define FUN_SETBITMAPDIMENSIONEX 478
  290. #define FUN_SETBOUNDSRECT 193
  291. #define FUN_SETMETAFILEBITSBETTER 196
  292. #define FUN_SETVIEWPORTEXTEX 479
  293. #define FUN_SETVIEWPORTORGEX 480
  294. #define FUN_SETWINDOWEXTEX 481
  295. #define FUN_SETWINDOWORGEX 482
  296. #define FUN_SPOOLFILE 254
  297. #define FUN_STARTDOC 377
  298. #define FUN_STARTPAGE 379
  299. #define FUN_BITMAPBITS 46
  300. #define FUN_SETDCHOOK 190
  301. #define FUN_GETDCHOOK 191
  302. #define FUN_SETHOOKFLAGS 192
  303. #define FUN_SELECTBITMAP 195
  304. #define FUN_DMEXTTEXTOUT 214
  305. #define FUN_DMGETCHARWIDTH 215
  306. #define FUN_DMSTRETCHBLT 216
  307. #define FUN_DMDIBBITS 217
  308. #define FUN_DMSTRETCHDIBITS 218
  309. #define FUN_DMSETDIBTODEV 219
  310. #define FUN_DELETESPOOLPAGE 253
  311. #define FUN_ENGINEENUMERATEFONT 300 // Internal
  312. #define FUN_ENGINEDELETEFONT 301
  313. #define FUN_ENGINEREALIZEFONT 302
  314. #define FUN_ENGINEGETCHARWIDTH 303
  315. #define FUN_ENGINESETFONTCONTEXT 304
  316. #define FUN_ENGINEGETGLYPHBMP 305
  317. #define FUN_ENGINEMAKEFONTDIR 306
  318. #define FUN_ENGINEEXTTEXTOUT 314 // Internal
  319. #define FUN_GETKERNINGPAIRS 332
  320. #define FUN_FTRAPPING0 355 // Internal
  321. #define FUN_GDISEEGDIDO 452
  322. #define FUN_GDITASKTERMINATION 460
  323. #define FUN_SETOBJECTOWNER 461
  324. #define FUN_MAKEOBJECTPRIVATE 463
  325. #define FUN_FIXUPBOGUSPUBLISHERMETAFILE 464
  326. #define FUN_RECTVISIBLE_EHH 465
  327. #define FUN_RECTINREGION_EHH 466
  328. #define FUN_UNICODETOANSI 467 // Internal
  329. #define FUN_CONVERTOUTLINEFONTFILE 312
  330. #define FUN_GETTEXTEXTENTPOINT 471
  331. #define FUN_CREATEDIBSECTION 489
  332. #define FUN_SETDIBCOLORTABLE 602
  333. #define FUN_GETDIBCOLORTABLE 603
  334. #ifdef FE_SB
  335. // GetFontAssocStatus @488->459 for Taiwan, Prc and Korea
  336. #define FUN_GETFONTASSOCSTATUS 459
  337. /* EUDC/GAIJI escapes for FE */
  338. #define TTYMODE 2560
  339. #define GAIJIFIRST TTYMODE+0x10
  340. #define GAIJIFONTSIZE GAIJIFIRST
  341. #define GAIJIAREASIZE GAIJIFIRST+1
  342. #define GAIJISYSTEMGETFONT GAIJIFIRST+2
  343. #define GAIJISYSTEMSETFONT GAIJIFIRST+3
  344. #define GAIJIITOCODE GAIJIFIRST+4
  345. #define GAIJILOCALOPEN GAIJIFIRST+5
  346. #define GAIJILOCALCLOSE GAIJIFIRST+6
  347. #define GAIJILOCALSETFONT GAIJIFIRST+7
  348. #define GAIJILOCALSAVE GAIJIFIRST+8
  349. #define GAIJILOCALRESTORE GAIJIFIRST+9
  350. #define GAIJIGETFILENAME GAIJIFIRST+10
  351. #define GAIJISETFILENAME GAIJIFIRST+11
  352. #define GAIJIGETDESCRIPTIONNAME GAIJIFIRST+12
  353. #define GAIJIPHYSICALFONTSIZE GAIJIFIRST+13
  354. #endif // FE_SB
  355. /* New for NT 5.0 Win95 compatibility */
  356. #define FUN_ABORTPATH 511
  357. #define FUN_ABORTPRINTER 271
  358. #define FUN_ADDLPKTOGDI 614
  359. #define FUN_BEGINPATH 512
  360. #define FUN_BUILDINVERSETABLEDIB 617 // export 650
  361. #define FUN_CLOSEENHMETAFILE 490
  362. #define FUN_CLOSEFIGURE 513
  363. #define FUN_CLOSEPRINTER 274
  364. #define FUN_COPYENHMETAFILE 491
  365. #define FUN_CREATEENHMETAFILE 492
  366. #define FUN_CREATEHALFTONEPALETTE 529
  367. #define FUN_DELETEENHMETAFILE 493
  368. #define FUN_DRVGETPRINTERDATA 282
  369. #define FUN_DRVSETPRINTERDATA 281
  370. #define FUN_ENDDOCPRINTER 272
  371. #define FUN_ENDPAGEPRINTER 270
  372. #define FUN_ENDPATH 514
  373. #define FUN_ENGINEGETCHARWIDTHEX 299
  374. #define FUN_ENGINEGETCHARWIDTHSTR 316
  375. #define FUN_ENGINEGETGLYPHBMPEXT 305
  376. #define FUN_ENGINEREALIZEFONTEXT 315
  377. #define FUN_ENUMFONTFAMILIESEX 613
  378. #define FUN_EXTCREATEPEN 523
  379. #define FUN_EXTCREATEREGION 608
  380. #define FUN_EXTSELECTCLIPRGN 508
  381. #define FUN_FILLPATH 515
  382. #define FUN_FLATTENPATH 516
  383. #define FUN_GDICOMMENT 495
  384. #define FUN___AVAILABLE_609 609
  385. #define FUN_GDIPARAMETERSINFO 528
  386. #define FUN_GDISIGNALPROC32 610
  387. #define FUN_GETARCDIRECTION 524
  388. #define FUN_GETCHARACTERPLACEMENT 615
  389. #define FUN_GETENHMETAFILE 496
  390. #define FUN_GETENHMETAFILEBITS 497
  391. #define FUN_GETENHMETAFILEDESCRIPTION 498
  392. #define FUN_GETENHMETAFILEHEADER 499
  393. #define FUN_GETENHMETAFILEPALETTEENTRIES 501
  394. #define FUN_GETFONTLANGUAGEINFO 616
  395. #define FUN_GETMITERLIMIT 526
  396. #define FUN_GETPATH 517
  397. #define FUN_GETRANDOMRGN 611
  398. #define FUN_GETREALDRIVERINFO 280
  399. #define FUN_GETREGIONDATA 607
  400. #define FUN_GETTEXTCHARSET 612
  401. #define FUN_GETTEXTEXTENTEX 188
  402. #define FUN_GETTTGLYPHINDEXMAP 404
  403. #define FUN_ICMCHECKCOLORSINGAMUT 622 // export 824
  404. #define FUN_ICMCREATETRANSFORM 618 // export 820
  405. #define FUN_ICMDELETETRANSFORM 619 // export 821
  406. #define FUN_ICMTRANSLATERGB 620 // export 822
  407. #define FUN_ICMTRANSLATERGBS 621 // export 823
  408. #define FUN_OPENPRINTERA 266
  409. #define FUN_PATHTOREGION 518
  410. #define FUN_PLAYENHMETAFILERECORD 504
  411. #define FUN_POLYBEZIER 502
  412. #define FUN_POLYBEZIERTO 503
  413. #define FUN_SELECTCLIPPATH 519
  414. #define FUN_SETARCDIRECTION 525
  415. #define FUN_SETENHMETAFILEBITS 505
  416. #define FUN_SETMAGICCOLORS 606
  417. #define FUN_SETMETARGN 506
  418. #define FUN_SETMITERLIMIT 527
  419. #define FUN_SETSOLIDBRUSH 604
  420. #define FUN_STARTDOCPRINTERA 267
  421. #define FUN_STARTPAGEPRINTER 268
  422. #define FUN_STROKEANDFILLPATH 520
  423. #define FUN_STROKEPATH 521
  424. #define FUN_SYSDELETEOBJECT 605
  425. #define FUN_WIDENPATH 522
  426. #define FUN_WRITEPRINTER 269
  427. /* XLATOFF */
  428. #pragma pack(2)
  429. /* XLATON */
  430. typedef struct _ADDFONTRESOURCE16 { /* g119 */
  431. VPSZ f1;
  432. } ADDFONTRESOURCE16;
  433. typedef ADDFONTRESOURCE16 UNALIGNED *PADDFONTRESOURCE16;
  434. typedef struct _ANIMATEPALETTE16 { /* g367 */
  435. VPPALETTEENTRY16 f4;
  436. WORD f3;
  437. WORD f2;
  438. HPAL16 f1;
  439. } ANIMATEPALETTE16;
  440. typedef ANIMATEPALETTE16 UNALIGNED *PANIMATEPALETTE16;
  441. typedef struct _ARC16 { /* g23 */
  442. SHORT f9;
  443. SHORT f8;
  444. SHORT f7;
  445. SHORT f6;
  446. SHORT f5;
  447. SHORT f4;
  448. SHORT f3;
  449. SHORT f2;
  450. HDC16 f1;
  451. } ARC16;
  452. typedef ARC16 UNALIGNED *PARC16;
  453. typedef struct _BITBLT16 { /* g34 */
  454. DWORD f9;
  455. SHORT f8;
  456. SHORT f7;
  457. HDC16 f6;
  458. SHORT f5;
  459. SHORT f4;
  460. SHORT f3;
  461. SHORT f2;
  462. HDC16 f1;
  463. } BITBLT16;
  464. typedef BITBLT16 UNALIGNED *PBITBLT16;
  465. typedef struct _CHORD16 { /* g348 */
  466. SHORT f9;
  467. SHORT f8;
  468. SHORT f7;
  469. SHORT f6;
  470. SHORT f5;
  471. SHORT f4;
  472. SHORT f3;
  473. SHORT f2;
  474. HDC16 f1;
  475. } CHORD16;
  476. typedef CHORD16 UNALIGNED *PCHORD16;
  477. typedef struct _SETRELABS16 { /* g5 */
  478. SHORT f2;
  479. HDC16 f1;
  480. } SETRELABS16;
  481. typedef SETRELABS16 UNALIGNED *PSETRELABS16;
  482. typedef struct _GETRELABS16 { /* g86 */
  483. HDC16 f1;
  484. } GETRELABS16;
  485. typedef GETRELABS16 UNALIGNED *PGETRELABS16;
  486. typedef struct _CLOSEMETAFILE16 { /* g126 */
  487. HAND16 f1;
  488. } CLOSEMETAFILE16;
  489. typedef CLOSEMETAFILE16 UNALIGNED *PCLOSEMETAFILE16;
  490. typedef struct _COMBINERGN16 { /* g47 */
  491. SHORT f4;
  492. HRGN16 f3;
  493. HRGN16 f2;
  494. HRGN16 f1;
  495. } COMBINERGN16;
  496. typedef COMBINERGN16 UNALIGNED *PCOMBINERGN16;
  497. typedef struct _COPYMETAFILE16 { /* g151 */
  498. VPSZ f2;
  499. HAND16 f1;
  500. } COPYMETAFILE16;
  501. typedef COPYMETAFILE16 UNALIGNED *PCOPYMETAFILE16;
  502. typedef struct _CREATEBITMAP16 { /* g48 */
  503. VPBYTE f5;
  504. WORD f4;
  505. WORD f3;
  506. SHORT f2;
  507. SHORT f1;
  508. } CREATEBITMAP16;
  509. typedef CREATEBITMAP16 UNALIGNED *PCREATEBITMAP16;
  510. typedef struct _CREATEUSERBITMAP16 { /* g407 */
  511. VPBYTE f5;
  512. WORD f4;
  513. WORD f3;
  514. SHORT f2;
  515. SHORT f1;
  516. } CREATEUSERBITMAP16, *PCREATEUSERBITMAP16;
  517. typedef struct _CREATEBITMAPINDIRECT16 { /* g49 */
  518. VPBITMAP16 f1;
  519. } CREATEBITMAPINDIRECT16;
  520. typedef CREATEBITMAPINDIRECT16 UNALIGNED *PCREATEBITMAPINDIRECT16;
  521. typedef struct _CREATEBRUSHINDIRECT16 { /* g50 */
  522. VPLOGBRUSH16 f1;
  523. } CREATEBRUSHINDIRECT16;
  524. typedef CREATEBRUSHINDIRECT16 UNALIGNED *PCREATEBRUSHINDIRECT16;
  525. typedef struct _CREATECOMPATIBLEBITMAP16 { /* g51 */
  526. SHORT f3;
  527. SHORT f2;
  528. HDC16 f1;
  529. } CREATECOMPATIBLEBITMAP16;
  530. typedef CREATECOMPATIBLEBITMAP16 UNALIGNED *PCREATECOMPATIBLEBITMAP16;
  531. typedef struct _CREATECOMPATIBLEDC16 { /* g52 */
  532. HDC16 f1;
  533. } CREATECOMPATIBLEDC16;
  534. typedef CREATECOMPATIBLEDC16 UNALIGNED *PCREATECOMPATIBLEDC16;
  535. typedef struct _CREATEDC16 { /* g53 */
  536. VPDEVMODE31 f4;
  537. VPSZ f3;
  538. VPSZ f2;
  539. VPSZ f1;
  540. } CREATEDC16;
  541. typedef CREATEDC16 UNALIGNED *PCREATEDC16;
  542. typedef struct _CREATEDIBITMAP16 { /* g442 */
  543. WORD f6;
  544. VPBITMAPINFO16 f5;
  545. VPBYTE f4;
  546. DWORD f3;
  547. VPBITMAPINFOHEADER16 f2;
  548. HDC16 f1;
  549. } CREATEDIBITMAP16;
  550. typedef CREATEDIBITMAP16 UNALIGNED *PCREATEDIBITMAP16;
  551. typedef struct _CREATEDIBSECTION16 { /* g489 */
  552. DWORD f6;
  553. DWORD f5;
  554. VPBYTE f4;
  555. WORD f3;
  556. VPBITMAPINFO16 f2;
  557. HDC16 f1;
  558. } CREATEDIBSECTION16;
  559. typedef CREATEDIBSECTION16 UNALIGNED *PCREATEDIBSECTION16;
  560. typedef struct _GETDIBCOLORTABLE16 { /* g603 */
  561. VPBYTE f4;
  562. WORD f3;
  563. WORD f2;
  564. HDC16 f1;
  565. } GETDIBCOLORTABLE16;
  566. typedef GETDIBCOLORTABLE16 UNALIGNED *PGETDIBCOLORTABLE16;
  567. typedef struct _SETDIBCOLORTABLE16 { /* g602 */
  568. VPBYTE f4;
  569. WORD f3;
  570. WORD f2;
  571. HDC16 f1;
  572. } SETDIBCOLORTABLE16;
  573. typedef SETDIBCOLORTABLE16 UNALIGNED *PSETDIBCOLORTABLE16;
  574. typedef struct _CREATEDIBPATTERNBRUSH16 { /* g445 */
  575. WORD f2;
  576. VPVOID f1;
  577. } CREATEDIBPATTERNBRUSH16;
  578. typedef CREATEDIBPATTERNBRUSH16 UNALIGNED *PCREATEDIBPATTERNBRUSH16;
  579. typedef struct _CREATEDISCARDABLEBITMAP16 { /* g156 */
  580. SHORT height;
  581. SHORT width;
  582. HDC16 hdc;
  583. } CREATEDISCARDABLEBITMAP16;
  584. typedef CREATEDISCARDABLEBITMAP16 UNALIGNED *PCREATEDISCARDABLEBITMAP16;
  585. typedef struct _CREATEELLIPTICRGN16 { /* g54 */
  586. SHORT f4;
  587. SHORT f3;
  588. SHORT f2;
  589. SHORT f1;
  590. } CREATEELLIPTICRGN16;
  591. typedef CREATEELLIPTICRGN16 UNALIGNED *PCREATEELLIPTICRGN16;
  592. typedef struct _CREATEELLIPTICRGNINDIRECT16 { /* g55 */
  593. VPRECT16 f1;
  594. } CREATEELLIPTICRGNINDIRECT16;
  595. typedef CREATEELLIPTICRGNINDIRECT16 UNALIGNED *PCREATEELLIPTICRGNINDIRECT16;
  596. typedef struct _CREATEFONT16 { /* g56 */
  597. VPSZ f14;
  598. WORD f13;
  599. WORD f12;
  600. WORD f11;
  601. WORD f10;
  602. WORD f9;
  603. WORD f8;
  604. WORD f7;
  605. WORD f6;
  606. SHORT f5;
  607. SHORT f4;
  608. SHORT f3;
  609. SHORT f2;
  610. SHORT f1;
  611. } CREATEFONT16;
  612. typedef CREATEFONT16 UNALIGNED *PCREATEFONT16;
  613. typedef struct _CREATEFONTINDIRECT16 { /* g57 */
  614. VPLOGFONT16 f1;
  615. } CREATEFONTINDIRECT16;
  616. typedef CREATEFONTINDIRECT16 UNALIGNED *PCREATEFONTINDIRECT16;
  617. typedef struct _CREATEHATCHBRUSH16 { /* g58 */
  618. DWORD f2;
  619. SHORT f1;
  620. } CREATEHATCHBRUSH16;
  621. typedef CREATEHATCHBRUSH16 UNALIGNED *PCREATEHATCHBRUSH16;
  622. typedef struct _CREATEIC16 { /* g153 */
  623. VPDEVMODE31 f4;
  624. VPSZ f3;
  625. VPSZ f2;
  626. VPSZ f1;
  627. } CREATEIC16;
  628. typedef CREATEIC16 UNALIGNED *PCREATEIC16;
  629. typedef struct _CREATEMETAFILE16 { /* g125 */
  630. VPSZ f1;
  631. } CREATEMETAFILE16;
  632. typedef CREATEMETAFILE16 UNALIGNED *PCREATEMETAFILE16;
  633. typedef struct _CREATEPALETTE16 { /* g360 */
  634. VPLOGPALETTE16 f1;
  635. } CREATEPALETTE16;
  636. typedef CREATEPALETTE16 UNALIGNED *PCREATEPALETTE16;
  637. typedef struct _CREATEPATTERNBRUSH16 { /* g60 */
  638. HBM16 f1;
  639. } CREATEPATTERNBRUSH16;
  640. typedef CREATEPATTERNBRUSH16 UNALIGNED *PCREATEPATTERNBRUSH16;
  641. typedef struct _CREATEPEN16 { /* g61 */
  642. DWORD f3;
  643. SHORT f2;
  644. SHORT f1;
  645. } CREATEPEN16;
  646. typedef CREATEPEN16 UNALIGNED *PCREATEPEN16;
  647. typedef struct _CREATEPENINDIRECT16 { /* g62 */
  648. VPLOGPEN16 f1;
  649. } CREATEPENINDIRECT16;
  650. typedef CREATEPENINDIRECT16 UNALIGNED *PCREATEPENINDIRECT16;
  651. typedef struct _CREATEPOLYGONRGN16 { /* g63 */
  652. SHORT f3;
  653. SHORT f2;
  654. VPPOINT16 f1;
  655. } CREATEPOLYGONRGN16;
  656. typedef CREATEPOLYGONRGN16 UNALIGNED *PCREATEPOLYGONRGN16;
  657. typedef struct _CREATEPOLYPOLYGONRGN16 { /* g451 */
  658. SHORT f4;
  659. SHORT f3;
  660. VPSHORT f2;
  661. VPPOINT16 f1;
  662. } CREATEPOLYPOLYGONRGN16;
  663. typedef CREATEPOLYPOLYGONRGN16 UNALIGNED *PCREATEPOLYPOLYGONRGN16;
  664. typedef struct _CREATERECTRGN16 { /* g64 */
  665. SHORT f4;
  666. SHORT f3;
  667. SHORT f2;
  668. SHORT f1;
  669. } CREATERECTRGN16;
  670. typedef CREATERECTRGN16 UNALIGNED *PCREATERECTRGN16;
  671. typedef struct _CREATERECTRGNINDIRECT16 { /* g65 */
  672. VPRECT16 f1;
  673. } CREATERECTRGNINDIRECT16;
  674. typedef CREATERECTRGNINDIRECT16 UNALIGNED *PCREATERECTRGNINDIRECT16;
  675. typedef struct _CREATEROUNDRECTRGN16 { /* g444 */
  676. SHORT f6;
  677. SHORT f5;
  678. SHORT f4;
  679. SHORT f3;
  680. SHORT f2;
  681. SHORT f1;
  682. } CREATEROUNDRECTRGN16;
  683. typedef CREATEROUNDRECTRGN16 UNALIGNED *PCREATEROUNDRECTRGN16;
  684. typedef struct _CREATESOLIDBRUSH16 { /* g66 */
  685. DWORD f1;
  686. } CREATESOLIDBRUSH16;
  687. typedef CREATESOLIDBRUSH16 UNALIGNED *PCREATESOLIDBRUSH16;
  688. typedef struct _DELETEDC16 { /* g68 */
  689. HDC16 f1;
  690. } DELETEDC16;
  691. typedef DELETEDC16 UNALIGNED *PDELETEDC16;
  692. typedef struct _DELETEMETAFILE16 { /* g127 */
  693. HAND16 f1;
  694. } DELETEMETAFILE16;
  695. typedef DELETEMETAFILE16 UNALIGNED *PDELETEMETAFILE16;
  696. typedef struct _DELETEOBJECT16 { /* g69 */
  697. HAND16 f1;
  698. } DELETEOBJECT16;
  699. typedef DELETEOBJECT16 UNALIGNED *PDELETEOBJECT16;
  700. typedef struct _DEVICEMODE16 { /* g452 */
  701. VPSZ f4;
  702. VPSZ f3;
  703. HAND16 f2;
  704. HWND16 f1;
  705. } DEVICEMODE16;
  706. typedef DEVICEMODE16 UNALIGNED *PDEVICEMODE16;
  707. typedef struct _EXTDEVICEMODE16 { /* g453 */
  708. SHORT f8;
  709. VPSZ f7;
  710. VPDEVMODE31 f6;
  711. VPSZ f5;
  712. VPSZ f4;
  713. VPDEVMODE31 f3;
  714. HAND16 f2;
  715. HWND16 f1;
  716. } EXTDEVICEMODE16;
  717. typedef EXTDEVICEMODE16 UNALIGNED *PEXTDEVICEMODE16;
  718. typedef struct _DEVICECAPABILITIES16 { /* g454 */
  719. VPDEVMODE31 f5;
  720. VPSZ f4;
  721. SHORT f3;
  722. VPSZ f2;
  723. VPSZ f1;
  724. } DEVICECAPABILITIES16;
  725. typedef DEVICECAPABILITIES16 UNALIGNED *PDEVICECAPABILITIES16;
  726. //typedef struct _ADVANCEDSETUPDIALOG16 { /* g455 */
  727. // VPSZ f4;
  728. // VPSZ f3;
  729. // HAND16 f2;
  730. // HWND16 f1;
  731. //} ADVANCEDSETUPDIALOG16;
  732. //typedef ADVANCEDSETUPDIALOG16 UNALIGNED *PADVANCEDSETUPDIALOG16;
  733. typedef struct _DPTOLP16 { /* g67 */
  734. SHORT f3;
  735. VPPOINT16 f2;
  736. HDC16 f1;
  737. } DPTOLP16;
  738. typedef DPTOLP16 UNALIGNED *PDPTOLP16;
  739. typedef struct _ELLIPSE16 { /* g24 */
  740. SHORT y2;
  741. SHORT x2;
  742. SHORT y1;
  743. SHORT x1;
  744. HDC16 hdc;
  745. } ELLIPSE16;
  746. typedef ELLIPSE16 UNALIGNED *PELLIPSE16;
  747. typedef struct _ENUMFONTS16 { /* g70 */
  748. VPBYTE f4;
  749. VPPROC f3;
  750. VPSZ f2;
  751. HDC16 f1;
  752. } ENUMFONTS16;
  753. typedef ENUMFONTS16 UNALIGNED *PENUMFONTS16;
  754. typedef struct _ENUMMETAFILE16 { /* g175 */
  755. VPBYTE f4;
  756. VPPROC f3;
  757. HAND16 f2;
  758. HDC16 f1;
  759. } ENUMMETAFILE16;
  760. typedef ENUMMETAFILE16 UNALIGNED *PENUMMETAFILE16;
  761. typedef struct _ENUMOBJECTS16 { /* g71 */
  762. VPBYTE f4;
  763. VPPROC f3;
  764. SHORT f2;
  765. HDC16 f1;
  766. } ENUMOBJECTS16;
  767. typedef ENUMOBJECTS16 UNALIGNED *PENUMOBJECTS16;
  768. typedef struct _EQUALRGN16 { /* g72 */
  769. HRGN16 f2;
  770. HRGN16 f1;
  771. } EQUALRGN16;
  772. typedef EQUALRGN16 UNALIGNED *PEQUALRGN16;
  773. typedef struct _ESCAPE16 { /* g38 */
  774. VPSTR f5;
  775. VPSTR f4;
  776. SHORT f3;
  777. SHORT f2;
  778. HDC16 f1;
  779. } ESCAPE16;
  780. typedef ESCAPE16 UNALIGNED *PESCAPE16;
  781. typedef struct _EXCLUDECLIPRECT16 { /* g21 */
  782. SHORT f5;
  783. SHORT f4;
  784. SHORT f3;
  785. SHORT f2;
  786. HDC16 f1;
  787. } EXCLUDECLIPRECT16;
  788. typedef EXCLUDECLIPRECT16 UNALIGNED *PEXCLUDECLIPRECT16;
  789. typedef struct _EXTFLOODFILL16 { /* g372 */
  790. WORD f5;
  791. DWORD f4;
  792. SHORT f3;
  793. SHORT f2;
  794. HDC16 f1;
  795. } EXTFLOODFILL16;
  796. typedef EXTFLOODFILL16 UNALIGNED *PEXTFLOODFILL16;
  797. typedef struct _EXTTEXTOUT16 { /* g351 */
  798. VPSHORT f8;
  799. WORD f7;
  800. VPSTR f6;
  801. VPRECT16 f5;
  802. WORD f4;
  803. SHORT f3;
  804. SHORT f2;
  805. HDC16 f1;
  806. } EXTTEXTOUT16;
  807. typedef EXTTEXTOUT16 UNALIGNED *PEXTTEXTOUT16;
  808. typedef struct _FILLRGN16 { /* g40 */
  809. HBRSH16 f3;
  810. HRGN16 f2;
  811. HDC16 f1;
  812. } FILLRGN16;
  813. typedef FILLRGN16 UNALIGNED *PFILLRGN16;
  814. typedef struct _FLOODFILL16 { /* g25 */
  815. DWORD f4;
  816. SHORT f3;
  817. SHORT f2;
  818. HDC16 f1;
  819. } FLOODFILL16;
  820. typedef FLOODFILL16 UNALIGNED *PFLOODFILL16;
  821. typedef struct _FRAMERGN16 { /* g41 */
  822. SHORT f5;
  823. SHORT f4;
  824. HBRSH16 f3;
  825. HRGN16 f2;
  826. HDC16 f1;
  827. } FRAMERGN16;
  828. typedef FRAMERGN16 UNALIGNED *PFRAMERGN16;
  829. typedef struct _GETASPECTRATIOFILTER16 { /* g353 */
  830. HDC16 f1;
  831. } GETASPECTRATIOFILTER16;
  832. typedef GETASPECTRATIOFILTER16 UNALIGNED *PGETASPECTRATIOFILTER16;
  833. typedef struct _GETASPECTRATIOFILTEREX16 { /* g486 */
  834. VPVOID f2;
  835. HDC16 f1;
  836. } GETASPECTRATIOFILTEREX16;
  837. typedef GETASPECTRATIOFILTEREX16 UNALIGNED *PGETASPECTRATIOFILTEREX16;
  838. typedef struct _GETBITMAPBITS16 { /* g74 */
  839. VPSTR f3;
  840. LONG f2;
  841. HBM16 f1;
  842. } GETBITMAPBITS16;
  843. typedef GETBITMAPBITS16 UNALIGNED *PGETBITMAPBITS16;
  844. typedef struct _GETBITMAPDIMENSION16 { /* g162 */
  845. HBM16 f1;
  846. } GETBITMAPDIMENSION16;
  847. typedef GETBITMAPDIMENSION16 UNALIGNED *PGETBITMAPDIMENSION16;
  848. typedef struct _GETBKCOLOR16 { /* g75 */
  849. HDC16 f1;
  850. } GETBKCOLOR16;
  851. typedef GETBKCOLOR16 UNALIGNED *PGETBKCOLOR16;
  852. typedef struct _GETBKMODE16 { /* g76 */
  853. HDC16 f1;
  854. } GETBKMODE16;
  855. typedef GETBKMODE16 UNALIGNED *PGETBKMODE16;
  856. typedef struct _GETBRUSHORG16 { /* g149 */
  857. HDC16 f1;
  858. } GETBRUSHORG16;
  859. typedef GETBRUSHORG16 UNALIGNED *PGETBRUSHORG16;
  860. typedef struct _GETCHARWIDTH16 { /* g350 */
  861. VPSHORT lpIntBuffer;
  862. WORD wLastChar;
  863. WORD wFirstChar;
  864. HDC16 hDC;
  865. } GETCHARWIDTH16;
  866. typedef GETCHARWIDTH16 UNALIGNED *PGETCHARWIDTH16;
  867. typedef struct _GETCLIPBOX16 { /* g77 */
  868. VPRECT16 f2;
  869. HDC16 f1;
  870. } GETCLIPBOX16;
  871. typedef GETCLIPBOX16 UNALIGNED *PGETCLIPBOX16;
  872. typedef struct _GETCURRENTOBJECT16 { /* g261 */
  873. WORD f2;
  874. HDC16 f1;
  875. } GETCURRENTOBJECT16;
  876. typedef GETCURRENTOBJECT16 UNALIGNED *PGETCURRENTOBJECT16;
  877. typedef struct _GETCURRENTPOSITION16 { /* g78 */
  878. HDC16 f1;
  879. } GETCURRENTPOSITION16;
  880. typedef GETCURRENTPOSITION16 UNALIGNED *PGETCURRENTPOSITION16;
  881. typedef struct _GETDCORG16 { /* g79 */
  882. HDC16 f1;
  883. } GETDCORG16;
  884. typedef GETDCORG16 UNALIGNED *PGETDCORG16;
  885. typedef struct _GETDEVICECAPS16 { /* g80 */
  886. SHORT f2;
  887. HDC16 f1;
  888. } GETDEVICECAPS16;
  889. typedef GETDEVICECAPS16 UNALIGNED *PGETDEVICECAPS16;
  890. typedef struct _GETDIBITS16 { /* g441 */
  891. WORD f7;
  892. VPBITMAPINFO16 f6;
  893. VPSTR f5;
  894. WORD f4;
  895. WORD f3;
  896. HAND16 f2;
  897. HDC16 f1;
  898. } GETDIBITS16;
  899. typedef GETDIBITS16 UNALIGNED *PGETDIBITS16;
  900. typedef struct _GETENVIRONMENT16 { /* g133 */
  901. WORD f3;
  902. VPSTR f2;
  903. VPSTR f1;
  904. } GETENVIRONMENT16;
  905. typedef GETENVIRONMENT16 UNALIGNED *PGETENVIRONMENT16;
  906. typedef struct _GETKERNINGPAIRS16 { /* g332 */
  907. VPSTR f3;
  908. WORD f2;
  909. WORD f1;
  910. } GETKERNINGPAIRS16;
  911. typedef GETKERNINGPAIRS16 UNALIGNED *PGETKERNINGPAIRS16;
  912. typedef struct _GETMAPMODE16 { /* g81 */
  913. HDC16 f1;
  914. } GETMAPMODE16;
  915. typedef GETMAPMODE16 UNALIGNED *PGETMAPMODE16;
  916. typedef struct _GETMETAFILE16 { /* g124 */
  917. VPSTR f1;
  918. } GETMETAFILE16;
  919. typedef GETMETAFILE16 UNALIGNED *PGETMETAFILE16;
  920. typedef struct _GETMETAFILEBITS16 { /* g159 */
  921. HAND16 f1;
  922. } GETMETAFILEBITS16;
  923. typedef GETMETAFILEBITS16 UNALIGNED *PGETMETAFILEBITS16;
  924. typedef struct _GETNEARESTCOLOR16 { /* g154 */
  925. DWORD f2;
  926. HDC16 f1;
  927. } GETNEARESTCOLOR16;
  928. typedef GETNEARESTCOLOR16 UNALIGNED *PGETNEARESTCOLOR16;
  929. typedef struct _GETNEARESTPALETTEINDEX16 { /* g370 */
  930. DWORD f2;
  931. HPAL16 f1;
  932. } GETNEARESTPALETTEINDEX16;
  933. typedef GETNEARESTPALETTEINDEX16 UNALIGNED *PGETNEARESTPALETTEINDEX16;
  934. typedef struct _GETOBJECT16 { /* g82 */
  935. VPSTR f3;
  936. SHORT f2;
  937. HAND16 f1;
  938. } GETOBJECT16;
  939. typedef GETOBJECT16 UNALIGNED *PGETOBJECT16;
  940. typedef struct _GETOBJECTTYPE16 { /* g260 */
  941. HDC16 f1;
  942. } GETOBJECTTYPE16;
  943. typedef GETOBJECTTYPE16 UNALIGNED *PGETOBJECTTYPE16;
  944. typedef struct _GETPALETTEENTRIES16 { /* g363 */
  945. VPPALETTEENTRY16 f4;
  946. WORD f3;
  947. WORD f2;
  948. HPAL16 f1;
  949. } GETPALETTEENTRIES16;
  950. typedef GETPALETTEENTRIES16 UNALIGNED *PGETPALETTEENTRIES16;
  951. typedef struct _GETPIXEL16 { /* g83 */
  952. SHORT f3;
  953. SHORT f2;
  954. HDC16 f1;
  955. } GETPIXEL16;
  956. typedef GETPIXEL16 UNALIGNED *PGETPIXEL16;
  957. typedef struct _GETPOLYFILLMODE16 { /* g84 */
  958. HDC16 f1;
  959. } GETPOLYFILLMODE16;
  960. typedef GETPOLYFILLMODE16 UNALIGNED *PGETPOLYFILLMODE16;
  961. typedef struct _GETRGNBOX16 { /* g134 */
  962. VPRECT16 f2;
  963. HRGN16 f1;
  964. } GETRGNBOX16;
  965. typedef GETRGNBOX16 UNALIGNED *PGETRGNBOX16;
  966. typedef struct _GETROP216 { /* g85 */
  967. HDC16 f1;
  968. } GETROP216;
  969. typedef GETROP216 UNALIGNED *PGETROP216;
  970. typedef struct _GETSTOCKOBJECT16 { /* g87 */
  971. SHORT f1;
  972. } GETSTOCKOBJECT16;
  973. typedef GETSTOCKOBJECT16 UNALIGNED *PGETSTOCKOBJECT16;
  974. typedef struct _GETSTRETCHBLTMODE16 { /* g88 */
  975. HDC16 f1;
  976. } GETSTRETCHBLTMODE16;
  977. typedef GETSTRETCHBLTMODE16 UNALIGNED *PGETSTRETCHBLTMODE16;
  978. typedef struct _GETSYSTEMPALETTEENTRIES16 { /* g375 */
  979. VPPALETTEENTRY16 f4;
  980. WORD f3;
  981. WORD f2;
  982. HDC16 f1;
  983. } GETSYSTEMPALETTEENTRIES16;
  984. typedef GETSYSTEMPALETTEENTRIES16 UNALIGNED *PGETSYSTEMPALETTEENTRIES16;
  985. typedef struct _GETSYSTEMPALETTEUSE16 { /* g374 */
  986. HDC16 f1;
  987. } GETSYSTEMPALETTEUSE16;
  988. typedef GETSYSTEMPALETTEUSE16 UNALIGNED *PGETSYSTEMPALETTEUSE16;
  989. typedef struct _GETTEXTALIGN16 { /* g345 */
  990. HDC16 f1;
  991. } GETTEXTALIGN16;
  992. typedef GETTEXTALIGN16 UNALIGNED *PGETTEXTALIGN16;
  993. typedef struct _GETTEXTCHARACTEREXTRA16 { /* g89 */
  994. HDC16 f1;
  995. } GETTEXTCHARACTEREXTRA16;
  996. typedef GETTEXTCHARACTEREXTRA16 UNALIGNED *PGETTEXTCHARACTEREXTRA16;
  997. typedef struct _GETTEXTCOLOR16 { /* g90 */
  998. HDC16 f1;
  999. } GETTEXTCOLOR16;
  1000. typedef GETTEXTCOLOR16 UNALIGNED *PGETTEXTCOLOR16;
  1001. typedef struct _GETTEXTEXTENT16 { /* g91 */
  1002. SHORT f3;
  1003. VPSTR f2;
  1004. HDC16 f1;
  1005. } GETTEXTEXTENT16;
  1006. typedef GETTEXTEXTENT16 UNALIGNED *PGETTEXTEXTENT16;
  1007. typedef struct _GETTEXTFACE16 { /* g92 */
  1008. VPSTR f3;
  1009. SHORT f2;
  1010. HDC16 f1;
  1011. } GETTEXTFACE16;
  1012. typedef GETTEXTFACE16 UNALIGNED *PGETTEXTFACE16;
  1013. typedef struct _GETTEXTMETRICS16 { /* g93 */
  1014. VPTEXTMETRIC16 f2;
  1015. HDC16 f1;
  1016. } GETTEXTMETRICS16;
  1017. typedef GETTEXTMETRICS16 UNALIGNED *PGETTEXTMETRICS16;
  1018. typedef struct _GETVIEWPORTEXT16 { /* g94 */
  1019. HDC16 f1;
  1020. } GETVIEWPORTEXT16;
  1021. typedef GETVIEWPORTEXT16 UNALIGNED *PGETVIEWPORTEXT16;
  1022. typedef struct _GETVIEWPORTORG16 { /* g95 */
  1023. HDC16 f1;
  1024. } GETVIEWPORTORG16;
  1025. typedef GETVIEWPORTORG16 UNALIGNED *PGETVIEWPORTORG16;
  1026. typedef struct _GETWINDOWEXT16 { /* g96 */
  1027. HDC16 f1;
  1028. } GETWINDOWEXT16;
  1029. typedef GETWINDOWEXT16 UNALIGNED *PGETWINDOWEXT16;
  1030. typedef struct _GETWINDOWORG16 { /* g97 */
  1031. HDC16 f1;
  1032. } GETWINDOWORG16;
  1033. typedef GETWINDOWORG16 UNALIGNED *PGETWINDOWORG16;
  1034. typedef struct _INTERSECTCLIPRECT16 { /* g22 */
  1035. SHORT f5;
  1036. SHORT f4;
  1037. SHORT f3;
  1038. SHORT f2;
  1039. HDC16 f1;
  1040. } INTERSECTCLIPRECT16;
  1041. typedef INTERSECTCLIPRECT16 UNALIGNED *PINTERSECTCLIPRECT16;
  1042. typedef struct _INVERTRGN16 { /* g42 */
  1043. HRGN16 f2;
  1044. HDC16 f1;
  1045. } INVERTRGN16;
  1046. typedef INVERTRGN16 UNALIGNED *PINVERTRGN16;
  1047. typedef struct _LINEDDA16 { /* g100 */
  1048. VPSTR f6;
  1049. VPPROC f5;
  1050. SHORT f4;
  1051. SHORT f3;
  1052. SHORT f2;
  1053. SHORT f1;
  1054. } LINEDDA16;
  1055. typedef LINEDDA16 UNALIGNED *PLINEDDA16;
  1056. typedef struct _LINETO16 { /* g19 */
  1057. SHORT f3;
  1058. SHORT f2;
  1059. HDC16 f1;
  1060. } LINETO16;
  1061. typedef LINETO16 UNALIGNED *PLINETO16;
  1062. typedef struct _LPTODP16 { /* g99 */
  1063. SHORT f3;
  1064. VPPOINT16 f2;
  1065. HDC16 f1;
  1066. } LPTODP16;
  1067. typedef LPTODP16 UNALIGNED *PLPTODP16;
  1068. typedef struct _MOVETO16 { /* g20 */
  1069. SHORT f3;
  1070. SHORT f2;
  1071. HDC16 f1;
  1072. } MOVETO16;
  1073. typedef MOVETO16 UNALIGNED *PMOVETO16;
  1074. typedef struct _MULDIV16 { /* g128 */
  1075. SHORT f3;
  1076. SHORT f2;
  1077. SHORT f1;
  1078. } MULDIV16;
  1079. typedef MULDIV16 UNALIGNED *PMULDIV16;
  1080. typedef struct _OFFSETCLIPRGN16 { /* g32 */
  1081. SHORT f3;
  1082. SHORT f2;
  1083. HDC16 f1;
  1084. } OFFSETCLIPRGN16;
  1085. typedef OFFSETCLIPRGN16 UNALIGNED *POFFSETCLIPRGN16;
  1086. typedef struct _OFFSETRGN16 { /* g101 */
  1087. SHORT f3;
  1088. SHORT f2;
  1089. HRGN16 f1;
  1090. } OFFSETRGN16;
  1091. typedef OFFSETRGN16 UNALIGNED *POFFSETRGN16;
  1092. typedef struct _OFFSETVIEWPORTORG16 { /* g17 */
  1093. SHORT f3;
  1094. SHORT f2;
  1095. HDC16 f1;
  1096. } OFFSETVIEWPORTORG16;
  1097. typedef OFFSETVIEWPORTORG16 UNALIGNED *POFFSETVIEWPORTORG16;
  1098. typedef struct _OFFSETWINDOWORG16 { /* g15 */
  1099. SHORT f3;
  1100. SHORT f2;
  1101. HDC16 f1;
  1102. } OFFSETWINDOWORG16;
  1103. typedef OFFSETWINDOWORG16 UNALIGNED *POFFSETWINDOWORG16;
  1104. typedef struct _PAINTRGN16 { /* g43 */
  1105. HRGN16 f2;
  1106. HDC16 f1;
  1107. } PAINTRGN16;
  1108. typedef PAINTRGN16 UNALIGNED *PPAINTRGN16;
  1109. typedef struct _PATBLT16 { /* g29 */
  1110. DWORD dwRop;
  1111. SHORT nHeight;
  1112. SHORT nWidth;
  1113. SHORT y;
  1114. SHORT x;
  1115. HDC16 hdc;
  1116. } PATBLT16;
  1117. typedef PATBLT16 UNALIGNED *PPATBLT16;
  1118. typedef struct _PIE16 { /* g26 */
  1119. SHORT f9;
  1120. SHORT f8;
  1121. SHORT f7;
  1122. SHORT f6;
  1123. SHORT f5;
  1124. SHORT f4;
  1125. SHORT f3;
  1126. SHORT f2;
  1127. HDC16 f1;
  1128. } PIE16;
  1129. typedef PIE16 UNALIGNED *PPIE16;
  1130. typedef struct _PLAYMETAFILE16 { /* g123 */
  1131. HAND16 f2;
  1132. HDC16 f1;
  1133. } PLAYMETAFILE16;
  1134. typedef PLAYMETAFILE16 UNALIGNED *PPLAYMETAFILE16;
  1135. typedef struct _PLAYMETAFILERECORD16 { /* g176 */
  1136. WORD f4;
  1137. VPMETARECORD16 f3;
  1138. VPHANDLETABLE16 f2;
  1139. HDC16 f1;
  1140. } PLAYMETAFILERECORD16;
  1141. typedef PLAYMETAFILERECORD16 UNALIGNED *PPLAYMETAFILERECORD16;
  1142. typedef struct _POLYGON16 { /* g36 */
  1143. SHORT f3;
  1144. VPPOINT16 f2;
  1145. HDC16 f1;
  1146. } POLYGON16;
  1147. typedef POLYGON16 UNALIGNED *PPOLYGON16;
  1148. typedef struct _POLYLINE16 { /* g37 */
  1149. SHORT f3;
  1150. VPPOINT16 f2;
  1151. HDC16 f1;
  1152. } POLYLINE16;
  1153. typedef POLYLINE16 UNALIGNED *PPOLYLINE16;
  1154. typedef struct _POLYPOLYGON16 { /* g450 */
  1155. SHORT f4;
  1156. VPSHORT f3;
  1157. VPPOINT16 f2;
  1158. HDC16 f1;
  1159. } POLYPOLYGON16;
  1160. typedef POLYPOLYGON16 UNALIGNED *PPOLYPOLYGON16;
  1161. typedef struct _POLYPOLYLINEWOW16 { /* g487 */
  1162. DWORD f4;
  1163. VPDWORD f3;
  1164. VPDWORD f2;
  1165. HDC16 f1;
  1166. } POLYPOLYLINEWOW16;
  1167. typedef POLYPOLYLINEWOW16 UNALIGNED *PPOLYPOLYLINEWOW16;
  1168. typedef struct _PTINREGION16 { /* g161 */
  1169. SHORT f3;
  1170. SHORT f2;
  1171. HRGN16 f1;
  1172. } PTINREGION16;
  1173. typedef PTINREGION16 UNALIGNED *PPTINREGION16;
  1174. typedef struct _PTVISIBLE16 { /* g103 */
  1175. SHORT f3;
  1176. SHORT f2;
  1177. HDC16 f1;
  1178. } PTVISIBLE16;
  1179. typedef PTVISIBLE16 UNALIGNED *PPTVISIBLE16;
  1180. typedef struct _RECTANGLE16 { /* g27 */
  1181. SHORT y2;
  1182. SHORT x2;
  1183. SHORT y1;
  1184. SHORT x1;
  1185. HDC16 hdc;
  1186. } RECTANGLE16;
  1187. typedef RECTANGLE16 UNALIGNED *PRECTANGLE16;
  1188. typedef struct _RECTINREGION16 { /* g181 */
  1189. VPRECT16 f2;
  1190. HRGN16 f1;
  1191. } RECTINREGION16;
  1192. typedef RECTINREGION16 UNALIGNED *PRECTINREGION16;
  1193. typedef struct _RECTVISIBLE16 { /* g104 */
  1194. VPRECT16 f2;
  1195. HDC16 f1;
  1196. } RECTVISIBLE16;
  1197. typedef RECTVISIBLE16 UNALIGNED *PRECTVISIBLE16;
  1198. typedef struct _REMOVEFONTRESOURCE16 { /* g136 */
  1199. VPSTR f1;
  1200. } REMOVEFONTRESOURCE16;
  1201. typedef REMOVEFONTRESOURCE16 UNALIGNED *PREMOVEFONTRESOURCE16;
  1202. typedef struct _RESIZEPALETTE16 { /* g368 */
  1203. WORD f2;
  1204. HPAL16 f1;
  1205. } RESIZEPALETTE16;
  1206. typedef RESIZEPALETTE16 UNALIGNED *PRESIZEPALETTE16;
  1207. typedef struct _RESTOREDC16 { /* g39 */
  1208. SHORT f2;
  1209. HDC16 f1;
  1210. } RESTOREDC16;
  1211. typedef RESTOREDC16 UNALIGNED *PRESTOREDC16;
  1212. typedef struct _ROUNDRECT16 { /* g28 */
  1213. SHORT f7;
  1214. SHORT f6;
  1215. SHORT f5;
  1216. SHORT f4;
  1217. SHORT f3;
  1218. SHORT f2;
  1219. HDC16 f1;
  1220. } ROUNDRECT16;
  1221. typedef ROUNDRECT16 UNALIGNED *PROUNDRECT16;
  1222. typedef struct _SAVEDC16 { /* g30 */
  1223. HDC16 f1;
  1224. } SAVEDC16;
  1225. typedef SAVEDC16 UNALIGNED *PSAVEDC16;
  1226. typedef struct _SCALEVIEWPORTEXT16 { /* g18 */
  1227. SHORT f5;
  1228. SHORT f4;
  1229. SHORT f3;
  1230. SHORT f2;
  1231. HDC16 f1;
  1232. } SCALEVIEWPORTEXT16;
  1233. typedef SCALEVIEWPORTEXT16 UNALIGNED *PSCALEVIEWPORTEXT16;
  1234. typedef struct _SCALEWINDOWEXT16 { /* g16 */
  1235. SHORT f5;
  1236. SHORT f4;
  1237. SHORT f3;
  1238. SHORT f2;
  1239. HDC16 f1;
  1240. } SCALEWINDOWEXT16;
  1241. typedef SCALEWINDOWEXT16 UNALIGNED *PSCALEWINDOWEXT16;
  1242. typedef struct _SELECTCLIPRGN16 { /* g44 */
  1243. HRGN16 f2;
  1244. HDC16 f1;
  1245. } SELECTCLIPRGN16;
  1246. typedef SELECTCLIPRGN16 UNALIGNED *PSELECTCLIPRGN16;
  1247. typedef struct _SELECTOBJECT16 { /* g45 */
  1248. HAND16 f2;
  1249. HDC16 f1;
  1250. } SELECTOBJECT16;
  1251. typedef SELECTOBJECT16 UNALIGNED *PSELECTOBJECT16;
  1252. typedef struct _SETBITMAPBITS16 { /* g106 */
  1253. VPSTR f3;
  1254. DWORD f2;
  1255. HBM16 f1;
  1256. } SETBITMAPBITS16;
  1257. typedef SETBITMAPBITS16 UNALIGNED *PSETBITMAPBITS16;
  1258. typedef struct _SETBITMAPDIMENSION16 { /* g163 */
  1259. SHORT f3;
  1260. SHORT f2;
  1261. HBM16 f1;
  1262. } SETBITMAPDIMENSION16;
  1263. typedef SETBITMAPDIMENSION16 UNALIGNED *PSETBITMAPDIMENSION16;
  1264. typedef struct _SETBKCOLOR16 { /* g1 */
  1265. DWORD f2;
  1266. HDC16 f1;
  1267. } SETBKCOLOR16;
  1268. typedef SETBKCOLOR16 UNALIGNED *PSETBKCOLOR16;
  1269. typedef struct _SETBKMODE16 { /* g2 */
  1270. SHORT f2;
  1271. HDC16 f1;
  1272. } SETBKMODE16;
  1273. typedef SETBKMODE16 UNALIGNED *PSETBKMODE16;
  1274. typedef struct _SETBRUSHORG16 { /* g148 */
  1275. SHORT f3;
  1276. SHORT f2;
  1277. HDC16 f1;
  1278. } SETBRUSHORG16;
  1279. typedef SETBRUSHORG16 UNALIGNED *PSETBRUSHORG16;
  1280. typedef struct _SETDIBITS16 { /* g440 */
  1281. WORD f7;
  1282. VPBITMAPINFO16 f6;
  1283. VPSTR f5;
  1284. WORD f4;
  1285. WORD f3;
  1286. HAND16 f2;
  1287. HDC16 f1;
  1288. } SETDIBITS16;
  1289. typedef SETDIBITS16 UNALIGNED *PSETDIBITS16;
  1290. typedef struct _SETDIBITSTODEVICE16 { /* g443 */
  1291. WORD f12;
  1292. VPBITMAPINFO16 f11;
  1293. VPSTR f10;
  1294. WORD f9;
  1295. WORD f8;
  1296. WORD f7;
  1297. WORD f6;
  1298. WORD f5;
  1299. WORD f4;
  1300. WORD f3;
  1301. WORD f2;
  1302. HDC16 f1;
  1303. } SETDIBITSTODEVICE16;
  1304. typedef SETDIBITSTODEVICE16 UNALIGNED *PSETDIBITSTODEVICE16;
  1305. typedef struct _SETENVIRONMENT16 { /* g132 */
  1306. WORD f3;
  1307. VPSTR f2;
  1308. VPSTR f1;
  1309. } SETENVIRONMENT16;
  1310. typedef SETENVIRONMENT16 UNALIGNED *PSETENVIRONMENT16;
  1311. typedef struct _SETMAPMODE16 { /* g3 */
  1312. SHORT f2;
  1313. HDC16 f1;
  1314. } SETMAPMODE16;
  1315. typedef SETMAPMODE16 UNALIGNED *PSETMAPMODE16;
  1316. typedef struct _SETMAPPERFLAGS16 { /* g349 */
  1317. DWORD f2;
  1318. HDC16 f1;
  1319. } SETMAPPERFLAGS16;
  1320. typedef SETMAPPERFLAGS16 UNALIGNED *PSETMAPPERFLAGS16;
  1321. typedef struct _SETMETAFILEBITS16 { /* g160 */
  1322. HAND16 f1;
  1323. } SETMETAFILEBITS16;
  1324. typedef SETMETAFILEBITS16 UNALIGNED *PSETMETAFILEBITS16;
  1325. typedef struct _SETPALETTEENTRIES16 { /* g364 */
  1326. VPPALETTEENTRY16 f4;
  1327. WORD f3;
  1328. WORD f2;
  1329. HPAL16 f1;
  1330. } SETPALETTEENTRIES16;
  1331. typedef SETPALETTEENTRIES16 UNALIGNED *PSETPALETTEENTRIES16;
  1332. typedef struct _SETPIXEL16 { /* g31 */
  1333. DWORD f4;
  1334. SHORT f3;
  1335. SHORT f2;
  1336. HDC16 f1;
  1337. } SETPIXEL16;
  1338. typedef SETPIXEL16 UNALIGNED *PSETPIXEL16;
  1339. typedef struct _SETPOLYFILLMODE16 { /* g6 */
  1340. SHORT f2;
  1341. HDC16 f1;
  1342. } SETPOLYFILLMODE16;
  1343. typedef SETPOLYFILLMODE16 UNALIGNED *PSETPOLYFILLMODE16;
  1344. typedef struct _SETRECTRGN16 { /* g172 */
  1345. SHORT f5;
  1346. SHORT f4;
  1347. SHORT f3;
  1348. SHORT f2;
  1349. HRGN16 f1;
  1350. } SETRECTRGN16;
  1351. typedef SETRECTRGN16 UNALIGNED *PSETRECTRGN16;
  1352. typedef struct _SETROP216 { /* g4 */
  1353. SHORT f2;
  1354. HDC16 f1;
  1355. } SETROP216;
  1356. typedef SETROP216 UNALIGNED *PSETROP216;
  1357. typedef struct _SETSTRETCHBLTMODE16 { /* g7 */
  1358. SHORT f2;
  1359. HDC16 f1;
  1360. } SETSTRETCHBLTMODE16;
  1361. typedef SETSTRETCHBLTMODE16 UNALIGNED *PSETSTRETCHBLTMODE16;
  1362. typedef struct _SETSYSTEMPALETTEUSE16 { /* g373 */
  1363. WORD f2;
  1364. HDC16 f1;
  1365. } SETSYSTEMPALETTEUSE16;
  1366. typedef SETSYSTEMPALETTEUSE16 UNALIGNED *PSETSYSTEMPALETTEUSE16;
  1367. typedef struct _SETTEXTALIGN16 { /* g346 */
  1368. WORD f2;
  1369. HDC16 f1;
  1370. } SETTEXTALIGN16;
  1371. typedef SETTEXTALIGN16 UNALIGNED *PSETTEXTALIGN16;
  1372. typedef struct _SETTEXTCHARACTEREXTRA16 { /* g8 */
  1373. SHORT f2;
  1374. HDC16 f1;
  1375. } SETTEXTCHARACTEREXTRA16;
  1376. typedef SETTEXTCHARACTEREXTRA16 UNALIGNED *PSETTEXTCHARACTEREXTRA16;
  1377. typedef struct _SETTEXTCOLOR16 { /* g9 */
  1378. DWORD f2;
  1379. HDC16 f1;
  1380. } SETTEXTCOLOR16;
  1381. typedef SETTEXTCOLOR16 UNALIGNED *PSETTEXTCOLOR16;
  1382. typedef struct _SETTEXTJUSTIFICATION16 { /* g10 */
  1383. SHORT f3;
  1384. SHORT f2;
  1385. HDC16 f1;
  1386. } SETTEXTJUSTIFICATION16;
  1387. typedef SETTEXTJUSTIFICATION16 UNALIGNED *PSETTEXTJUSTIFICATION16;
  1388. typedef struct _SETVIEWPORTEXT16 { /* g14 */
  1389. SHORT f3;
  1390. SHORT f2;
  1391. HDC16 f1;
  1392. } SETVIEWPORTEXT16;
  1393. typedef SETVIEWPORTEXT16 UNALIGNED *PSETVIEWPORTEXT16;
  1394. typedef struct _SETVIEWPORTORG16 { /* g13 */
  1395. SHORT f3;
  1396. SHORT f2;
  1397. HDC16 f1;
  1398. } SETVIEWPORTORG16;
  1399. typedef SETVIEWPORTORG16 UNALIGNED *PSETVIEWPORTORG16;
  1400. typedef struct _SETWINDOWEXT16 { /* g12 */
  1401. SHORT f3;
  1402. SHORT f2;
  1403. HDC16 f1;
  1404. } SETWINDOWEXT16;
  1405. typedef SETWINDOWEXT16 UNALIGNED *PSETWINDOWEXT16;
  1406. typedef struct _SETWINDOWORG16 { /* g11 */
  1407. SHORT f3;
  1408. SHORT f2;
  1409. HDC16 f1;
  1410. } SETWINDOWORG16;
  1411. typedef SETWINDOWORG16 UNALIGNED *PSETWINDOWORG16;
  1412. #ifdef NULLSTRUCT
  1413. typedef struct _SHRINKGDIHEAP16 { /* g354 */
  1414. } SHRINKGDIHEAP16;
  1415. typedef SHRINKGDIHEAP16 UNALIGNED *PSHRINKGDIHEAP16;
  1416. #endif
  1417. typedef struct _STRETCHBLT16 { /* g35 */
  1418. DWORD f11;
  1419. SHORT f10;
  1420. SHORT f9;
  1421. SHORT f8;
  1422. SHORT f7;
  1423. HDC16 f6;
  1424. SHORT f5;
  1425. SHORT f4;
  1426. SHORT f3;
  1427. SHORT f2;
  1428. HDC16 f1;
  1429. } STRETCHBLT16;
  1430. typedef STRETCHBLT16 UNALIGNED *PSTRETCHBLT16;
  1431. typedef struct _STRETCHDIBITS16 { /* g439 */
  1432. DWORD f13;
  1433. WORD f12;
  1434. VPBITMAPINFO16 f11;
  1435. VPSTR f10;
  1436. WORD f9;
  1437. WORD f8;
  1438. WORD f7;
  1439. WORD f6;
  1440. WORD f5;
  1441. WORD f4;
  1442. WORD f3;
  1443. WORD f2;
  1444. HDC16 f1;
  1445. } STRETCHDIBITS16;
  1446. typedef STRETCHDIBITS16 UNALIGNED *PSTRETCHDIBITS16;
  1447. typedef struct _TEXTOUT16 { /* g33 */
  1448. SHORT f5;
  1449. VPSTR f4;
  1450. SHORT f3;
  1451. SHORT f2;
  1452. HDC16 f1;
  1453. } TEXTOUT16;
  1454. typedef TEXTOUT16 UNALIGNED *PTEXTOUT16;
  1455. typedef struct _UNREALIZEOBJECT16 { /* g150 */
  1456. HBRSH16 f1;
  1457. } UNREALIZEOBJECT16;
  1458. typedef UNREALIZEOBJECT16 UNALIGNED *PUNREALIZEOBJECT16;
  1459. typedef struct _UPDATECOLORS16 { /* g366 */
  1460. HDC16 f1;
  1461. } UPDATECOLORS16;
  1462. typedef UPDATECOLORS16 UNALIGNED *PUPDATECOLORS16;
  1463. // These are new functions for win 31
  1464. typedef struct _ABORTDOC16 { /* g382 */
  1465. HDC16 f1;
  1466. } ABORTDOC16;
  1467. typedef ABORTDOC16 UNALIGNED *PABORTDOC16;
  1468. typedef struct _CREATESCALABLEFONTRESOURCE16 { /* g510 */
  1469. VPSZ f4;
  1470. VPSZ f3;
  1471. VPSZ f2;
  1472. WORD f1;
  1473. } CREATESCALABLEFONTRESOURCE16;
  1474. typedef CREATESCALABLEFONTRESOURCE16 UNALIGNED *PCREATESCALABLEFONTRESOURCE16;
  1475. typedef struct _ENDDOC16 { /* g378 */
  1476. HDC16 f1;
  1477. } ENDDOC16;
  1478. typedef ENDDOC16 UNALIGNED *PENDDOC16;
  1479. typedef struct _ENDPAGE16 { /* g380 */
  1480. HDC16 f1;
  1481. } ENDPAGE16;
  1482. typedef ENDPAGE16 UNALIGNED *PENDPAGE16;
  1483. typedef struct _ENUMFONTFAMILIES16 { /* g330 */
  1484. VPBYTE f4;
  1485. VPPROC f3;
  1486. VPSZ f2;
  1487. HDC16 f1;
  1488. } ENUMFONTFAMILIES16;
  1489. typedef ENUMFONTFAMILIES16 UNALIGNED *PENUMFONTFAMILIES16;
  1490. typedef struct _GETBITMAPDIMENSIONEX16 { /* g468 */
  1491. VPVOID f2;
  1492. WORD f1;
  1493. } GETBITMAPDIMENSIONEX16;
  1494. typedef GETBITMAPDIMENSIONEX16 UNALIGNED *PGETBITMAPDIMENSIONEX16;
  1495. typedef struct _GETBOUNDSRECT16 { /* g194 */
  1496. WORD f3;
  1497. VPRECT16 f2;
  1498. HDC16 f1;
  1499. } GETBOUNDSRECT16;
  1500. typedef GETBOUNDSRECT16 UNALIGNED *PGETBOUNDSRECT16;
  1501. typedef struct _GETBRUSHORGEX16 { /* g469 */
  1502. VPPOINT16 f2;
  1503. HDC16 f1;
  1504. } GETBRUSHORGEX16;
  1505. typedef GETBRUSHORGEX16 UNALIGNED *PGETBRUSHORGEX16;
  1506. typedef struct _GETCHARABCWIDTHS16 { /* g307 */
  1507. VPVOID f4;
  1508. WORD f3;
  1509. WORD f2;
  1510. HDC16 f1;
  1511. } GETCHARABCWIDTHS16;
  1512. typedef GETCHARABCWIDTHS16 UNALIGNED *PGETCHARABCWIDTHS16;
  1513. typedef struct _GETCURRENTPOSITIONEX16 { /* g470 */
  1514. VPPOINT16 f2;
  1515. HDC16 f1;
  1516. } GETCURRENTPOSITIONEX16;
  1517. typedef GETCURRENTPOSITIONEX16 UNALIGNED *PGETCURRENTPOSITIONEX16;
  1518. typedef struct _GETFONTDATA16 { /* g311 */
  1519. DWORD f5;
  1520. VPVOID f4;
  1521. DWORD f3;
  1522. DWORD f2;
  1523. HDC16 f1;
  1524. } GETFONTDATA16;
  1525. typedef GETFONTDATA16 UNALIGNED *PGETFONTDATA16;
  1526. typedef struct _GETGLYPHOUTLINE16 { /* g309 */
  1527. VPVOID f7;
  1528. VPVOID f6;
  1529. DWORD f5;
  1530. VPVOID f4;
  1531. WORD f3;
  1532. WORD f2;
  1533. HDC16 f1;
  1534. } GETGLYPHOUTLINE16;
  1535. typedef GETGLYPHOUTLINE16 UNALIGNED *PGETGLYPHOUTLINE16;
  1536. typedef struct _GETOULTLINETEXTMETRICS16 { /* g1000 */
  1537. VPVOID f3;
  1538. WORD f2;
  1539. HDC16 f1;
  1540. } GETOULTLINETEXTMETRICS16;
  1541. typedef GETOULTLINETEXTMETRICS16 UNALIGNED *PGETOULTLINETEXTMETRICS16;
  1542. typedef struct _GETRASTERIZERCAPS16 { /* g313 */
  1543. SHORT f2;
  1544. VPVOID f1;
  1545. } GETRASTERIZERCAPS16;
  1546. typedef GETRASTERIZERCAPS16 UNALIGNED *PGETRASTERIZERCAPS16;
  1547. typedef struct _GETTEXTEXTENTPOINT16 { /* gxx */
  1548. VPVOID f4;
  1549. SHORT f3;
  1550. VPSZ f2;
  1551. HDC16 f1;
  1552. } GETTEXTEXTENTPOINT16;
  1553. typedef GETTEXTEXTENTPOINT16 UNALIGNED *PGETTEXTEXTENTPOINT16;
  1554. typedef struct _GETVIEWPORTEXTEX16 { /* g472 */
  1555. VPVOID f2;
  1556. HDC16 f1;
  1557. } GETVIEWPORTEXTEX16;
  1558. typedef GETVIEWPORTEXTEX16 UNALIGNED *PGETVIEWPORTEXTEX16;
  1559. typedef struct _GETVIEWPORTORGEX16 { /* g473 */
  1560. VPPOINT16 f2;
  1561. HDC16 f1;
  1562. } GETVIEWPORTORGEX16;
  1563. typedef GETVIEWPORTORGEX16 UNALIGNED *PGETVIEWPORTORGEX16;
  1564. typedef struct _GETWINDOWEXTEX16 { /* g474 */
  1565. VPVOID f2;
  1566. HDC16 f1;
  1567. } GETWINDOWEXTEX16;
  1568. typedef GETWINDOWEXTEX16 UNALIGNED *PGETWINDOWEXTEX16;
  1569. typedef struct _GETWINDOWORGEX16 { /* g475 */
  1570. VPPOINT16 f2;
  1571. HDC16 f1;
  1572. } GETWINDOWORGEX16;
  1573. typedef GETWINDOWORGEX16 UNALIGNED *PGETWINDOWORGEX16;
  1574. typedef struct _ISGDIOBJECT16 { /* g462 */
  1575. WORD f1;
  1576. } ISGDIOBJECT16;
  1577. typedef ISGDIOBJECT16 UNALIGNED *PISGDIOBJECT16;
  1578. typedef struct _MOVETOEX16 { /* g483 */
  1579. VPPOINT16 f4;
  1580. SHORT f3;
  1581. SHORT f2;
  1582. HDC16 f1;
  1583. } MOVETOEX16;
  1584. typedef MOVETOEX16 UNALIGNED *PMOVETOEX16;
  1585. typedef struct _OFFSETVIEWPORTORGEX16 { /* g476 */
  1586. VPPOINT16 f4;
  1587. SHORT f3;
  1588. SHORT f2;
  1589. HDC16 f1;
  1590. } OFFSETVIEWPORTORGEX16;
  1591. typedef OFFSETVIEWPORTORGEX16 UNALIGNED *POFFSETVIEWPORTORGEX16;
  1592. typedef struct _OFFSETWINDOWORGEX16 { /* g477 */
  1593. VPPOINT16 f4;
  1594. SHORT f3;
  1595. SHORT f2;
  1596. HDC16 f1;
  1597. } OFFSETWINDOWORGEX16;
  1598. typedef OFFSETWINDOWORGEX16 UNALIGNED *POFFSETWINDOWORGEX16;
  1599. typedef struct _QUERTABORT16 { /* gxxx */
  1600. SHORT f2;
  1601. HDC16 f1;
  1602. } QUERTABORT16;
  1603. typedef QUERTABORT16 UNALIGNED *PQUERTABORT16;
  1604. typedef struct _RESETDC16 { /* g376 */
  1605. VPVOID f2;
  1606. HDC16 f1;
  1607. } RESETDC16;
  1608. typedef RESETDC16 UNALIGNED *PRESETDC16;
  1609. typedef struct _SCALEVIEWPORTEXTEX16 { /* g484 */
  1610. VPVOID f6;
  1611. SHORT f5;
  1612. SHORT f4;
  1613. SHORT f3;
  1614. SHORT f2;
  1615. HDC16 f1;
  1616. } SCALEVIEWPORTEXTEX16;
  1617. typedef SCALEVIEWPORTEXTEX16 UNALIGNED *PSCALEVIEWPORTEXTEX16;
  1618. typedef struct _SCALEWINDOWEXTEX16 { /* g485 */
  1619. VPVOID f6;
  1620. SHORT f5;
  1621. SHORT f4;
  1622. SHORT f3;
  1623. SHORT f2;
  1624. HDC16 f1;
  1625. } SCALEWINDOWEXTEX16;
  1626. typedef SCALEWINDOWEXTEX16 UNALIGNED *PSCALEWINDOWEXTEX16;
  1627. typedef struct _SETABORTPROC16 { /* g381 */
  1628. VPVOID f2;
  1629. HDC16 f1;
  1630. } SETABORTPROC16;
  1631. typedef SETABORTPROC16 UNALIGNED *PSETABORTPROC16;
  1632. typedef struct _SETBITMAPDIMENSIONEX16 { /* g478 */
  1633. VPVOID f4;
  1634. SHORT f3;
  1635. SHORT f2;
  1636. WORD f1;
  1637. } SETBITMAPDIMENSIONEX16;
  1638. typedef SETBITMAPDIMENSIONEX16 UNALIGNED *PSETBITMAPDIMENSIONEX16;
  1639. typedef struct _SETBOUNDSRECT16 { /* g193 */
  1640. WORD f3;
  1641. VPRECT16 f2;
  1642. HDC16 f1;
  1643. } SETBOUNDSRECT16;
  1644. typedef SETBOUNDSRECT16 UNALIGNED *PSETBOUNDSRECT16;
  1645. typedef struct _SETMETAFILEBITSBETTER16 { /* g196 */
  1646. WORD f1;
  1647. } SETMETAFILEBITSBETTER16;
  1648. typedef SETMETAFILEBITSBETTER16 UNALIGNED *PSETMETAFILEBITSBETTER16;
  1649. typedef struct _SETVIEWPORTEXTEX16 { /* g479 */
  1650. VPVOID f4;
  1651. SHORT f3;
  1652. SHORT f2;
  1653. HDC16 f1;
  1654. } SETVIEWPORTEXTEX16;
  1655. typedef SETVIEWPORTEXTEX16 UNALIGNED *PSETVIEWPORTEXTEX16;
  1656. typedef struct _SETVIEWPORTORGEX16 { /* g480 */
  1657. VPPOINT16 f4;
  1658. SHORT f3;
  1659. SHORT f2;
  1660. HDC16 f1;
  1661. } SETVIEWPORTORGEX16;
  1662. typedef SETVIEWPORTORGEX16 UNALIGNED *PSETVIEWPORTORGEX16;
  1663. typedef struct _SETWINDOWEXTEX16 { /* g481 */
  1664. VPVOID f4;
  1665. SHORT f3;
  1666. SHORT f2;
  1667. HDC16 f1;
  1668. } SETWINDOWEXTEX16;
  1669. typedef SETWINDOWEXTEX16 UNALIGNED *PSETWINDOWEXTEX16;
  1670. typedef struct _SETWINDOWORGEX16 { /* g482 */
  1671. VPPOINT16 f4;
  1672. SHORT f3;
  1673. SHORT f2;
  1674. HDC16 f1;
  1675. } SETWINDOWORGEX16;
  1676. typedef SETWINDOWORGEX16 UNALIGNED *PSETWINDOWORGEX16;
  1677. typedef struct _SPOOLFILE16 { /* g254 */
  1678. VPSZ f4;
  1679. VPSZ f3;
  1680. VPSZ f2;
  1681. VPSZ f1;
  1682. } SPOOLFILE16;
  1683. typedef SPOOLFILE16 UNALIGNED *PSPOOLFILE16;
  1684. typedef struct _STARTDOC16 { /* g377 */
  1685. VPVOID f2;
  1686. HDC16 f1;
  1687. } STARTDOC16;
  1688. typedef STARTDOC16 UNALIGNED *PSTARTDOC16;
  1689. typedef struct _STARTPAGE16 { /* g379 */
  1690. HDC16 f1;
  1691. } STARTPAGE16;
  1692. typedef STARTPAGE16 UNALIGNED *PSTARTPAGE16;
  1693. typedef struct _GETOUTLINETEXTMETRICS16 { /* g308 */
  1694. VPVOID f3;
  1695. WORD f2;
  1696. HDC16 f1;
  1697. } GETOUTLINETEXTMETRICS16;
  1698. typedef GETOUTLINETEXTMETRICS16 UNALIGNED *PGETOUTLINETEXTMETRICS16;
  1699. typedef struct _DOCINFO16 { /* di16wow32 */
  1700. SHORT cbSize;
  1701. VPSZ lpszDocName;
  1702. VPSZ lpszOutput;
  1703. } DOCINFO16;
  1704. typedef DOCINFO16 UNALIGNED *LPDOCINFO16;
  1705. typedef struct _SIZE16 { /* sz16wow32 */
  1706. SHORT cx;
  1707. SHORT cy;
  1708. } SIZE16;
  1709. typedef SIZE16 UNALIGNED *PSIZE16;
  1710. typedef VPVOID VPSIZE16;
  1711. typedef struct _INQUIREVISRGN16 { /* g131 */
  1712. HDC16 f1;
  1713. }INQUIREVISRGN16;
  1714. typedef INQUIREVISRGN16 UNALIGNED *PINQUIREVISRGN16;
  1715. typedef struct _GETCLIPRGN16 { /* g173 */
  1716. HDC16 f1;
  1717. }GETCLIPRGN16;
  1718. typedef GETCLIPRGN16 UNALIGNED *PGETCLIPRGN16;
  1719. typedef struct _OPENJOB16 { /* g240 */
  1720. WORD f3;
  1721. VPSZ f2;
  1722. VPSZ f1;
  1723. } OPENJOB16;
  1724. typedef OPENJOB16 UNALIGNED *POPENJOB16;
  1725. typedef struct _STARTSPOOLPAGE16 { /* g246 */
  1726. HAND16 f1;
  1727. } STARTSPOOLPAGE16;
  1728. typedef STARTSPOOLPAGE16 UNALIGNED *PSTARTSPOOLPAGE16;
  1729. typedef struct _ENDSPOOLPAGE16 { /* g247 */
  1730. HAND16 f1;
  1731. } ENDSPOOLPAGE16;
  1732. typedef ENDSPOOLPAGE16 UNALIGNED *PENDSPOOLPAGE16;
  1733. typedef struct _CLOSEJOB16 { /* g243 */
  1734. HAND16 f1;
  1735. } CLOSEJOB16;
  1736. typedef CLOSEJOB16 UNALIGNED *PCLOSEJOB16;
  1737. typedef struct _WRITESPOOL16 { /* g241 */
  1738. WORD f3;
  1739. VPSZ f2;
  1740. HAND16 f1;
  1741. } WRITESPOOL16;
  1742. typedef WRITESPOOL16 UNALIGNED *PWRITESPOOL16;
  1743. typedef struct _DELETEJOB16 { /* g244 */
  1744. WORD f2;
  1745. HAND16 f1;
  1746. } DELETEJOB16;
  1747. typedef DELETEJOB16 UNALIGNED *PDELETEJOB16;
  1748. typedef struct _WRITEDIALOG16 { /* g242 */
  1749. WORD f3;
  1750. VPSZ f2;
  1751. HAND16 f1;
  1752. } WRITEDIALOG16;
  1753. typedef WRITEDIALOG16 UNALIGNED *PWRITEDIALOG16;
  1754. #ifdef FE_SB
  1755. // GetFontAssocStatus @488->459 for Taiwan, Prc and Korea
  1756. typedef struct _GETFONTASSOCSTATUS16 { /* g459 */
  1757. HDC16 f1;
  1758. } GETFONTASSOCSTATUS16;
  1759. typedef GETFONTASSOCSTATUS16 UNALIGNED *PGETFONTASSOCSTATUS16;
  1760. #endif // FE_SB
  1761. typedef struct _DMBITBLT16 { /* g201 */
  1762. VPSZ pdrawmode;
  1763. VPSZ pbrush;
  1764. LONG rop;
  1765. WORD exty;
  1766. WORD extx;
  1767. WORD srcy;
  1768. WORD srcx;
  1769. VPSZ pbitmapsrc;
  1770. WORD desty;
  1771. WORD destx;
  1772. VPSZ pbitmapdest;
  1773. } DMBITBLT16;
  1774. typedef DMBITBLT16 UNALIGNED *PDMBITBLT16;
  1775. typedef struct _GETCURLOGFONT16 { /* g411 */
  1776. HAND16 hDC;
  1777. } GETCURLOGFONT16;
  1778. typedef GETCURLOGFONT16 UNALIGNED *PGETCURLOGFONT16;
  1779. /* New for NT 5.0 Win95 compatibility */
  1780. typedef struct _ABORTPATH16 { /* g511 */
  1781. HDC16 hdc;
  1782. } ABORTPATH16;
  1783. typedef ABORTPATH16 UNALIGNED *PABORTPATH16;
  1784. typedef struct _ABORTPRINTER16 { /* g271 */
  1785. DWORD hPrinter;
  1786. } ABORTPRINTER16;
  1787. typedef ABORTPRINTER16 UNALIGNED *PABORTPRINTER16;
  1788. typedef struct _ADDLPKTOGDI16 { /* g614 */
  1789. WORD iCharset;
  1790. WORD hlibLPK;
  1791. } ADDLPKTOGDI16;
  1792. typedef ADDLPKTOGDI16 UNALIGNED *PADDLPKTOGDI16;
  1793. typedef struct _BEGINPATH16 { /* g512 */
  1794. HDC16 hdc;
  1795. } BEGINPATH16;
  1796. typedef BEGINPATH16 UNALIGNED *PBEGINPATH16;
  1797. typedef struct _BUILDINVERSETABLEDIB16 { /* g617 */
  1798. DWORD dwUniqueID;
  1799. VPVOID lpbi;
  1800. } BUILDINVERSETABLEDIB16;
  1801. typedef BUILDINVERSETABLEDIB16 UNALIGNED *PBUILDINVERSETABLEDIB16;
  1802. typedef struct _CLOSEENHMETAFILE16 { /* g490 */
  1803. HDC16 hdc;
  1804. } CLOSEENHMETAFILE16;
  1805. typedef CLOSEENHMETAFILE16 UNALIGNED *PCLOSEENHMETAFILE16;
  1806. typedef struct _CLOSEFIGURE16 { /* g513 */
  1807. HDC16 hdc;
  1808. } CLOSEFIGURE16;
  1809. typedef CLOSEFIGURE16 UNALIGNED *PCLOSEFIGURE16;
  1810. typedef struct _CLOSEPRINTER16 { /* g274 */
  1811. DWORD hPrinter;
  1812. } CLOSEPRINTER16;
  1813. typedef CLOSEPRINTER16 UNALIGNED *PCLOSEPRINTER16;
  1814. typedef struct _COPYENHMETAFILE16 { /* g491 */
  1815. VPSTR lpszFile;
  1816. HAND16 hemfSrc;
  1817. } COPYENHMETAFILE16;
  1818. typedef COPYENHMETAFILE16 UNALIGNED *PCOPYENHMETAFILE16;
  1819. typedef struct _CREATEENHMETAFILE16 { /* g492 */
  1820. VPSTR lpszDescription;
  1821. VPRECTL16 lprclFrame;
  1822. VPSTR lpszFile;
  1823. HDC16 hdcRef;
  1824. } CREATEENHMETAFILE16;
  1825. typedef CREATEENHMETAFILE16 UNALIGNED *PCREATEENHMETAFILE16;
  1826. typedef struct _CREATEHALFTONEPALETTE16 { /* g529 */
  1827. HDC16 hdc;
  1828. } CREATEHALFTONEPALETTE16;
  1829. typedef CREATEHALFTONEPALETTE16 UNALIGNED *PCREATEHALFTONEPALETTE16;
  1830. typedef struct _DELETEENHMETAFILE16 { /* g493 */
  1831. HAND16 hemf;
  1832. } DELETEENHMETAFILE16;
  1833. typedef DELETEENHMETAFILE16 UNALIGNED *PDELETEENHMETAFILE16;
  1834. typedef struct _DRVGETPRINTERDATA16 { /* g282 */
  1835. VPDWORD lpdwNeeded;
  1836. DWORD cbData;
  1837. VPBYTE lpData;
  1838. VPDWORD lpdwType;
  1839. VPSTR lpszValueName;
  1840. VPSTR lpszPrinter;
  1841. } DRVGETPRINTERDATA16;
  1842. typedef DRVGETPRINTERDATA16 UNALIGNED *PDRVGETPRINTERDATA16;
  1843. typedef struct _DRVSETPRINTERDATA16 { /* g281 */
  1844. DWORD cbData;
  1845. VPBYTE lpData;
  1846. VPDWORD lpdwType;
  1847. VPSTR lpszValueName;
  1848. VPSTR lpszPrinter;
  1849. } DRVSETPRINTERDATA16;
  1850. typedef DRVSETPRINTERDATA16 UNALIGNED *PDRVSETPRINTERDATA16;
  1851. typedef struct _ENDDOCPRINTER16 { /* g272 */
  1852. DWORD hPrinter;
  1853. } ENDDOCPRINTER16;
  1854. typedef ENDDOCPRINTER16 UNALIGNED *PENDDOCPRINTER16;
  1855. typedef struct _ENDPAGEPRINTER16 { /* g270 */
  1856. DWORD hPrinter;
  1857. } ENDPAGEPRINTER16;
  1858. typedef ENDPAGEPRINTER16 UNALIGNED *PENDPAGEPRINTER16;
  1859. typedef struct _ENDPATH16 { /* g514 */
  1860. HDC16 hdc;
  1861. } ENDPATH16;
  1862. typedef ENDPATH16 UNALIGNED *PENDPATH16;
  1863. typedef struct _ENGINEGETCHARWIDTHEX16 { /* g299 */
  1864. VPWORD lpwWidths;
  1865. WORD nLast;
  1866. WORD nFirst;
  1867. VPVOID lpEFont;
  1868. } ENGINEGETCHARWIDTHEX16;
  1869. typedef ENGINEGETCHARWIDTHEX16 UNALIGNED *PENGINEGETCHARWIDTHEX16;
  1870. typedef struct _ENGINEGETCHARWIDTHSTR16 { /* g316 */
  1871. VPWORD lpwWidths;
  1872. WORD wCount;
  1873. VPSTR lpGlyphs;
  1874. VPVOID lpEFont;
  1875. } ENGINEGETCHARWIDTHSTR16;
  1876. typedef ENGINEGETCHARWIDTHSTR16 UNALIGNED *PENGINEGETCHARWIDTHSTR16;
  1877. typedef struct _ENGINEGETGLYPHBMPEXT16 { /* g305 */
  1878. VPVOID lpBmpMetrics;
  1879. DWORD dwSizeBmp;
  1880. VPVOID lpBitmap;
  1881. WORD wQueryType;
  1882. WORD wChar;
  1883. VPVOID lpEFont;
  1884. HDC16 hdc;
  1885. } ENGINEGETGLYPHBMPEXT16;
  1886. typedef ENGINEGETGLYPHBMPEXT16 UNALIGNED *PENGINEGETGLYPHBMPEXT16;
  1887. typedef struct _ENGINEREALIZEFONTEXT16 { /* g315 */
  1888. WORD wFlags;
  1889. VPVOID lpFont;
  1890. VPVOID lpTextTransform;
  1891. VPLOGFONT16 lpLogFont;
  1892. HDC16 hdc;
  1893. } ENGINEREALIZEFONTEXT16;
  1894. typedef ENGINEREALIZEFONTEXT16 UNALIGNED *PENGINEREALIZEFONTEXT16;
  1895. typedef struct _ENUMFONTFAMILIESEX16 { /* g613 */
  1896. DWORD dwFlags;
  1897. VPVOID lpClientData;
  1898. VPPROC lpfnCallBack;
  1899. VPLOGFONT16 lpLogFont;
  1900. HDC16 hdc;
  1901. } ENUMFONTFAMILIESEX16;
  1902. typedef ENUMFONTFAMILIESEX16 UNALIGNED *PENUMFONTFAMILIESEX16;
  1903. typedef struct _EXTCREATEPEN16 { /* g523 */
  1904. VPVOID lpStyle;
  1905. DWORD dwStyleCount;
  1906. VPVOID lpntlb;
  1907. DWORD dwWidth;
  1908. DWORD dwPenStyle;
  1909. } EXTCREATEPEN16;
  1910. typedef EXTCREATEPEN16 UNALIGNED *PEXTCREATEPEN16;
  1911. typedef struct _EXTCREATEREGION16 { /* g608 */
  1912. VPVOID lpRgnData;
  1913. DWORD dwCount;
  1914. VPBYTE lpReserved;
  1915. } EXTCREATEREGION16;
  1916. typedef EXTCREATEREGION16 UNALIGNED *PEXTCREATEREGION16;
  1917. typedef struct _EXTSELECTCLIPRGN16 { /* g508 */
  1918. SHORT iMode;
  1919. HRGN16 hrgn;
  1920. HDC16 hdc;
  1921. } EXTSELECTCLIPRGN16;
  1922. typedef EXTSELECTCLIPRGN16 UNALIGNED *PEXTSELECTCLIPRGN16;
  1923. typedef struct _FILLPATH16 { /* g515 */
  1924. HDC16 hdc;
  1925. } FILLPATH16;
  1926. typedef FILLPATH16 UNALIGNED *PFILLPATH16;
  1927. typedef struct _FLATTENPATH16 { /* g516 */
  1928. HDC16 hdc;
  1929. } FLATTENPATH16;
  1930. typedef FLATTENPATH16 UNALIGNED *PFLATTENPATH16;
  1931. typedef struct _GDICOMMENT16 { /* g495 */
  1932. VPBYTE lpData;
  1933. DWORD cbSize;
  1934. HDC16 hdc;
  1935. } GDICOMMENT16;
  1936. typedef GDICOMMENT16 UNALIGNED *PGDICOMMENT16;
  1937. typedef struct _GDIPARAMETERSINFO16 { /* g528 */
  1938. WORD flags;
  1939. VPVOID lParam;
  1940. WORD wParam;
  1941. WORD wFlag;
  1942. } GDIPARAMETERSINFO16;
  1943. typedef GDIPARAMETERSINFO16 UNALIGNED *PGDIPARAMETERSINFO16;
  1944. typedef struct _GDISIGNALPROC3216 { /* g610 */
  1945. WORD hTask16;
  1946. DWORD dwFlags;
  1947. DWORD dwID;
  1948. DWORD dwSignalID;
  1949. } GDISIGNALPROC3216;
  1950. typedef GDISIGNALPROC3216 UNALIGNED *PGDISIGNALPROC3216;
  1951. typedef struct _GETARCDIRECTION16 { /* g524 */
  1952. HDC16 hdc;
  1953. } GETARCDIRECTION16;
  1954. typedef GETARCDIRECTION16 UNALIGNED *PGETARCDIRECTION16;
  1955. typedef struct _GCP_RESULTS16 /* gcp_r */
  1956. {
  1957. DWORD lStructSize;
  1958. VPSTR lpOutString;
  1959. VPSTR lpOrder;
  1960. VPSTR lpDx;
  1961. VPSTR lpCaretPos;
  1962. VPSTR lpClass;
  1963. VPSTR lpGlyphs;
  1964. SHORT nGlyphs;
  1965. SHORT nMaxFit;
  1966. } GCP_RESULTS16;
  1967. typedef GCP_RESULTS16 UNALIGNED *PGCP_RESULTS16;
  1968. typedef struct _GETCHARACTERPLACEMENT16 { /* g615 */
  1969. DWORD dwFlags;
  1970. VPVOID lpResults;
  1971. WORD wMaxExtent;
  1972. WORD wCount;
  1973. VPSTR lpszText;
  1974. HDC16 hdc;
  1975. } GETCHARACTERPLACEMENT16;
  1976. typedef GETCHARACTERPLACEMENT16 UNALIGNED *PGETCHARACTERPLACEMENT16;
  1977. typedef struct _GETENHMETAFILE16 { /* g496 */
  1978. VPSTR lpszFile;
  1979. } GETENHMETAFILE16;
  1980. typedef GETENHMETAFILE16 UNALIGNED *PGETENHMETAFILE16;
  1981. typedef struct _GETENHMETAFILEBITS16 { /* g497 */
  1982. VPBYTE lpBuffer;
  1983. DWORD cbBuffer;
  1984. HAND16 hemf;
  1985. } GETENHMETAFILEBITS16;
  1986. typedef GETENHMETAFILEBITS16 UNALIGNED *PGETENHMETAFILEBITS16;
  1987. typedef struct _GETENHMETAFILEDESCRIPTION16 { /* g498 */
  1988. VPSTR lpszBuffer;
  1989. DWORD cbBuffer;
  1990. HAND16 hemf;
  1991. } GETENHMETAFILEDESCRIPTION16;
  1992. typedef GETENHMETAFILEDESCRIPTION16 UNALIGNED *PGETENHMETAFILEDESCRIPTION16;
  1993. typedef struct _GETENHMETAFILEHEADER16 { /* g499 */
  1994. VPVOID lpmrmf;
  1995. DWORD cbBuffer;
  1996. HAND16 hemf;
  1997. } GETENHMETAFILEHEADER16;
  1998. typedef GETENHMETAFILEHEADER16 UNALIGNED *PGETENHMETAFILEHEADER16;
  1999. typedef struct _GETENHMETAFILEPALETTEENTRIES16 { /* g501 */
  2000. VPVOID lpclr;
  2001. DWORD cEntries;
  2002. HAND16 hemf;
  2003. } GETENHMETAFILEPALETTEENTRIES16;
  2004. typedef GETENHMETAFILEPALETTEENTRIES16 UNALIGNED *PGETENHMETAFILEPALETTEENTRIES16;
  2005. typedef struct _GETFONTLANGUAGEINFO16 { /* g616 */
  2006. HDC16 hdc;
  2007. } GETFONTLANGUAGEINFO16;
  2008. typedef GETFONTLANGUAGEINFO16 UNALIGNED *PGETFONTLANGUAGEINFO16;
  2009. typedef struct _GETMITERLIMIT16 { /* g526 */
  2010. VPLONG lpMiter;
  2011. HDC16 hdc;
  2012. } GETMITERLIMIT16;
  2013. typedef GETMITERLIMIT16 UNALIGNED *PGETMITERLIMIT16;
  2014. typedef struct _GETPATH16 { /* g517 */
  2015. LONG cptl;
  2016. VPBYTE lpby;
  2017. VPPOINTL16 lpptl;
  2018. HDC16 hdc;
  2019. } GETPATH16;
  2020. typedef GETPATH16 UNALIGNED *PGETPATH16;
  2021. typedef struct _GETRANDOMRGN16 { /* g611 */
  2022. WORD iType;
  2023. HRGN16 hrgn;
  2024. HDC16 hdc;
  2025. } GETRANDOMRGN16;
  2026. typedef GETRANDOMRGN16 UNALIGNED *PGETRANDOMRGN16;
  2027. typedef struct _GETREALDRIVERINFO16 { /* g280 */
  2028. VPSTR lpszDriverPath;
  2029. VPSTR lpszDeviceName;
  2030. VPSTR lpszPrinterName;
  2031. } GETREALDRIVERINFO16;
  2032. typedef GETREALDRIVERINFO16 UNALIGNED *PGETREALDRIVERINFO16;
  2033. typedef struct _GETREGIONDATA16 { /* g607 */
  2034. VPVOID lpRgnData;
  2035. DWORD dwCount;
  2036. HDC16 hrgn;
  2037. } GETREGIONDATA16;
  2038. typedef GETREGIONDATA16 UNALIGNED *PGETREGIONDATA16;
  2039. typedef struct _GETTEXTCHARSET16 { /* g612 */
  2040. HDC16 hdc;
  2041. } GETTEXTCHARSET16;
  2042. typedef GETTEXTCHARSET16 UNALIGNED *PGETTEXTCHARSET16;
  2043. typedef struct _GETTEXTEXTENTEX16 { /* g188 */
  2044. WORD wFlags;
  2045. VPWORD lpDx;
  2046. VPWORD lpnFit;
  2047. WORD wMaxExtent;
  2048. WORD wCount;
  2049. VPSTR lpszString;
  2050. HDC16 hdc;
  2051. } GETTEXTEXTENTEX16;
  2052. typedef GETTEXTEXTENTEX16 UNALIGNED *PGETTEXTEXTENTEX16;
  2053. typedef struct _GETTTGLYPHINDEXMAP16 { /* g404 */
  2054. VPVOID lpEFont;
  2055. WORD wCharSet;
  2056. } GETTTGLYPHINDEXMAP16;
  2057. typedef GETTTGLYPHINDEXMAP16 UNALIGNED *PGETTTGLYPHINDEXMAP16;
  2058. typedef struct _ICMCHECKCOLORSINGAMUT16 { /* g622 */
  2059. DWORD f4;
  2060. VPBYTE f3;
  2061. VPVOID lpRGBQuad;
  2062. DWORD hcmTransform;
  2063. } ICMCHECKCOLORSINGAMUT16;
  2064. typedef ICMCHECKCOLORSINGAMUT16 UNALIGNED *PICMCHECKCOLORSINGAMUT16;
  2065. typedef struct _ICMCREATETRANSFORM16 { /* g618 */
  2066. VPBYTE lpdevchar;
  2067. VPBYTE lpdevcharacter;
  2068. VPBYTE lplogcolorspace;
  2069. } ICMCREATETRANSFORM16;
  2070. typedef ICMCREATETRANSFORM16 UNALIGNED *PICMCREATETRANSFORM16;
  2071. typedef struct _ICMDELETETRANSFORM16 { /* g619 */
  2072. DWORD huh;
  2073. VPDWORD lpColorRef;
  2074. RGBQUAD16 rgbQuad;
  2075. DWORD hcmTransform;
  2076. } ICMDELETETRANSFORM16;
  2077. typedef ICMDELETETRANSFORM16 UNALIGNED *PICMDELETETRANSFORM16;
  2078. typedef struct _ICMTRANSLATERGB16 { /* g620 */
  2079. DWORD huh;
  2080. VPDWORD lpColorRef;
  2081. RGBQUAD16 rgbQuad;
  2082. DWORD hcmTransform;
  2083. } ICMTRANSLATERGB16;
  2084. typedef ICMTRANSLATERGB16 UNALIGNED *PICMTRANSLATERGB16;
  2085. typedef struct _ICMTRANSLATERGBS16 { /* g621 */
  2086. DWORD flags;
  2087. DWORD destflags;
  2088. VPVOID lpdest;
  2089. DWORD nsrcwrap;
  2090. DWORD nsrcheight;
  2091. DWORD hsrcwidth;
  2092. DWORD srcflags;
  2093. VPVOID lpsrc;
  2094. } ICMTRANSLATERGBS16;
  2095. typedef ICMTRANSLATERGBS16 UNALIGNED *PICMTRANSLATERGBS16;
  2096. typedef struct _OPENPRINTERA16 { /* g266 */
  2097. VPVOID lppd;
  2098. VPDWORD hPrinter;
  2099. VPSTR lpszPrinter;
  2100. } OPENPRINTERA16;
  2101. typedef OPENPRINTERA16 UNALIGNED *POPENPRINTERA16;
  2102. typedef struct _PATHTOREGION16 { /* g518 */
  2103. HDC16 hdc;
  2104. } PATHTOREGION16;
  2105. typedef PATHTOREGION16 UNALIGNED *PPATHTOREGION16;
  2106. typedef struct _PLAYENHMETAFILERECORD16 { /* g504 */
  2107. DWORD dwHandles;
  2108. VPVOID lpemr;
  2109. VPVOID lpht;
  2110. HDC16 hdc;
  2111. } PLAYENHMETAFILERECORD16;
  2112. typedef PLAYENHMETAFILERECORD16 UNALIGNED *PPLAYENHMETAFILERECORD16;
  2113. typedef struct _POLYBEZIER16 { /* g502 */
  2114. SHORT f3;
  2115. VPPOINT16 f2;
  2116. HDC16 f1;
  2117. } POLYBEZIER16;
  2118. typedef POLYBEZIER16 UNALIGNED *PPOLYBEZIER16;
  2119. typedef struct _POLYBEZIERTO16 { /* g503 */
  2120. SHORT f3;
  2121. VPPOINT16 f2;
  2122. HDC16 f1;
  2123. } POLYBEZIERTO16;
  2124. typedef POLYBEZIERTO16 UNALIGNED *PPOLYBEZIERTO16;
  2125. typedef struct _SELECTCLIPPATH16 { /* g519 */
  2126. SHORT iMode;
  2127. HDC16 hdc;
  2128. } SELECTCLIPPATH16;
  2129. typedef SELECTCLIPPATH16 UNALIGNED *PSELECTCLIPPATH16;
  2130. typedef struct _SETARCDIRECTION16 { /* g525 */
  2131. SHORT iArcDirection;
  2132. HDC16 hdc;
  2133. } SETARCDIRECTION16;
  2134. typedef SETARCDIRECTION16 UNALIGNED *PSETARCDIRECTION16;
  2135. typedef struct _SETENHMETAFILEBITS16 { /* g505 */
  2136. VPBYTE lpBuffer;
  2137. DWORD cbBuffer;
  2138. } SETENHMETAFILEBITS16;
  2139. typedef SETENHMETAFILEBITS16 UNALIGNED *PSETENHMETAFILEBITS16;
  2140. typedef struct _SETMAGICCOLORS16 { /* g606 */
  2141. WORD iColor;
  2142. DWORD c1;
  2143. HDC16 hdc;
  2144. } SETMAGICCOLORS16;
  2145. typedef SETMAGICCOLORS16 UNALIGNED *PSETMAGICCOLORS16;
  2146. typedef struct _SETMETARGN16 { /* g506 */
  2147. HDC16 hdc;
  2148. } SETMETARGN16;
  2149. typedef SETMETARGN16 UNALIGNED *PSETMETARGN16;
  2150. typedef struct _SETMITERLIMIT16 { /* g527 */
  2151. VPLONG lpeMiter;
  2152. LONG eMiter;
  2153. HDC16 hdc;
  2154. } SETMITERLIMIT16;
  2155. typedef SETMITERLIMIT16 UNALIGNED *PSETMITERLIMIT16;
  2156. typedef struct _SETSOLIDBRUSH16 { /* g604 */
  2157. DWORD rgbNewColor;
  2158. HAND16 hbrush;
  2159. } SETSOLIDBRUSH16;
  2160. typedef SETSOLIDBRUSH16 UNALIGNED *PSETSOLIDBRUSH16;
  2161. typedef struct _STARTDOCPRINTERA16 { /* g267 */
  2162. VPVOID lpDocInfo;
  2163. DWORD dwLevel;
  2164. DWORD hPrinter;
  2165. } STARTDOCPRINTERA16;
  2166. typedef STARTDOCPRINTERA16 UNALIGNED *PSTARTDOCPRINTERA16;
  2167. typedef struct _STARTPAGEPRINTER16 { /* g268 */
  2168. DWORD hPrinter;
  2169. } STARTPAGEPRINTER16;
  2170. typedef STARTPAGEPRINTER16 UNALIGNED *PSTARTPAGEPRINTER16;
  2171. typedef struct _STROKEANDFILLPATH16 { /* g520 */
  2172. HDC16 hdc;
  2173. } STROKEANDFILLPATH16;
  2174. typedef STROKEANDFILLPATH16 UNALIGNED *PSTROKEANDFILLPATH16;
  2175. typedef struct _STROKEPATH16 { /* g521 */
  2176. HDC16 hdc;
  2177. } STROKEPATH16;
  2178. typedef STROKEPATH16 UNALIGNED *PSTROKEPATH16;
  2179. typedef struct _SYSDELETEOBJECT16 { /* g605 */
  2180. HAND16 h;
  2181. } SYSDELETEOBJECT16;
  2182. typedef SYSDELETEOBJECT16 UNALIGNED *PSYSDELETEOBJECT16;
  2183. typedef struct _WIDENPATH16 { /* g522 */
  2184. HDC16 hdc;
  2185. } WIDENPATH16;
  2186. typedef WIDENPATH16 UNALIGNED *PWIDENPATH16;
  2187. typedef struct _WRITEPRINTER16 { /* g269 */
  2188. VPDWORD lpdwWritten;
  2189. DWORD cbBuf;
  2190. VPVOID lpBuf;
  2191. DWORD hPrinter;
  2192. } WRITEPRINTER16;
  2193. typedef WRITEPRINTER16 UNALIGNED *PWRITEPRINTER16;
  2194. /* XLATOFF */
  2195. #pragma pack()
  2196. /* XLATON */