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.

2005 lines
24 KiB

  1. /*
  2. ** Copyright 1991-1993, Silicon Graphics, Inc.
  3. ** All Rights Reserved.
  4. **
  5. ** This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  6. ** the contents of this file may not be disclosed to third parties, copied or
  7. ** duplicated in any form, in whole or in part, without the prior written
  8. ** permission of Silicon Graphics, Inc.
  9. **
  10. ** RESTRICTED RIGHTS LEGEND:
  11. ** Use, duplication or disclosure by the Government is subject to restrictions
  12. ** as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  13. ** and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  14. ** successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  15. ** rights reserved under the Copyright Laws of the United States.
  16. */
  17. /*
  18. * AUTOMATICALLY UPDATED OR GENERATED BY SGI: DO NOT EDIT
  19. * IF YOU MUST MODIFY THIS FILE, PLEASE CONTACT ptar@sgi.com 415-390-1483
  20. */
  21. #ifndef __GLSBMSG_H__
  22. #define __GLSBMSG_H__
  23. /*
  24. * Sub batching Messages
  25. */
  26. typedef struct
  27. {
  28. ULONG ProcOffset;
  29. GLint xs;
  30. GLint ys;
  31. GLint xe;
  32. GLint ye;
  33. } GLMSG_ADDSWAPHINTRECTWIN;
  34. typedef struct
  35. {
  36. ULONG ProcOffset;
  37. GLuint list;
  38. GLenum mode;
  39. } GLMSG_NEWLIST;
  40. typedef struct
  41. {
  42. ULONG ProcOffset;
  43. } GLMSG_ENDLIST;
  44. typedef struct
  45. {
  46. ULONG ProcOffset;
  47. GLuint list;
  48. } GLMSG_CALLLIST;
  49. typedef struct
  50. {
  51. ULONG ProcOffset;
  52. GLsizei n;
  53. GLenum type;
  54. ULONG MsgSize;
  55. ULONG DataSize;
  56. ULONG listsOff;
  57. } GLMSG_CALLLISTS;
  58. typedef struct
  59. {
  60. ULONG ProcOffset;
  61. GLuint list;
  62. GLsizei range;
  63. } GLMSG_DELETELISTS;
  64. typedef struct
  65. {
  66. ULONG ProcOffset;
  67. GLsizei range;
  68. } GLMSG_GENLISTS;
  69. typedef struct
  70. {
  71. ULONG ProcOffset;
  72. GLuint base;
  73. } GLMSG_LISTBASE;
  74. typedef struct
  75. {
  76. ULONG ProcOffset;
  77. PVOID pa0;
  78. PVOID paLast;
  79. ULONG pad[512];
  80. } GLMSG_DRAWPOLYARRAY_LARGE; // this must be the largest message!
  81. typedef struct
  82. {
  83. ULONG ProcOffset;
  84. PVOID pa0;
  85. PVOID paLast;
  86. } GLMSG_DRAWPOLYARRAY;
  87. typedef struct
  88. {
  89. ULONG ProcOffset;
  90. GLbyte red;
  91. GLbyte green;
  92. GLbyte blue;
  93. } GLMSG_COLOR3B;
  94. typedef struct
  95. {
  96. ULONG ProcOffset;
  97. GLbyte v[3];
  98. } GLMSG_COLOR3BV;
  99. typedef struct
  100. {
  101. ULONG ProcOffset;
  102. GLdouble red;
  103. GLdouble green;
  104. GLdouble blue;
  105. } GLMSG_COLOR3D;
  106. typedef struct
  107. {
  108. ULONG ProcOffset;
  109. GLdouble v[3];
  110. } GLMSG_COLOR3DV;
  111. typedef struct
  112. {
  113. ULONG ProcOffset;
  114. GLfloat red;
  115. GLfloat green;
  116. GLfloat blue;
  117. } GLMSG_COLOR3F;
  118. typedef struct
  119. {
  120. ULONG ProcOffset;
  121. GLfloat v[3];
  122. } GLMSG_COLOR3FV;
  123. typedef struct
  124. {
  125. ULONG ProcOffset;
  126. GLint red;
  127. GLint green;
  128. GLint blue;
  129. } GLMSG_COLOR3I;
  130. typedef struct
  131. {
  132. ULONG ProcOffset;
  133. GLint v[3];
  134. } GLMSG_COLOR3IV;
  135. typedef struct
  136. {
  137. ULONG ProcOffset;
  138. GLshort red;
  139. GLshort green;
  140. GLshort blue;
  141. } GLMSG_COLOR3S;
  142. typedef struct
  143. {
  144. ULONG ProcOffset;
  145. GLshort v[3];
  146. } GLMSG_COLOR3SV;
  147. typedef struct
  148. {
  149. ULONG ProcOffset;
  150. GLubyte red;
  151. GLubyte green;
  152. GLubyte blue;
  153. } GLMSG_COLOR3UB;
  154. typedef struct
  155. {
  156. ULONG ProcOffset;
  157. GLubyte v[3];
  158. } GLMSG_COLOR3UBV;
  159. typedef struct
  160. {
  161. ULONG ProcOffset;
  162. GLuint red;
  163. GLuint green;
  164. GLuint blue;
  165. } GLMSG_COLOR3UI;
  166. typedef struct
  167. {
  168. ULONG ProcOffset;
  169. GLuint v[3];
  170. } GLMSG_COLOR3UIV;
  171. typedef struct
  172. {
  173. ULONG ProcOffset;
  174. GLushort red;
  175. GLushort green;
  176. GLushort blue;
  177. } GLMSG_COLOR3US;
  178. typedef struct
  179. {
  180. ULONG ProcOffset;
  181. GLushort v[3];
  182. } GLMSG_COLOR3USV;
  183. typedef struct
  184. {
  185. ULONG ProcOffset;
  186. GLbyte red;
  187. GLbyte green;
  188. GLbyte blue;
  189. GLbyte alpha;
  190. } GLMSG_COLOR4B;
  191. typedef struct
  192. {
  193. ULONG ProcOffset;
  194. GLbyte v[4];
  195. } GLMSG_COLOR4BV;
  196. typedef struct
  197. {
  198. ULONG ProcOffset;
  199. GLdouble red;
  200. GLdouble green;
  201. GLdouble blue;
  202. GLdouble alpha;
  203. } GLMSG_COLOR4D;
  204. typedef struct
  205. {
  206. ULONG ProcOffset;
  207. GLdouble v[4];
  208. } GLMSG_COLOR4DV;
  209. typedef struct
  210. {
  211. ULONG ProcOffset;
  212. GLfloat red;
  213. GLfloat green;
  214. GLfloat blue;
  215. GLfloat alpha;
  216. } GLMSG_COLOR4F;
  217. typedef struct
  218. {
  219. ULONG ProcOffset;
  220. GLfloat v[4];
  221. } GLMSG_COLOR4FV;
  222. typedef struct
  223. {
  224. ULONG ProcOffset;
  225. GLint red;
  226. GLint green;
  227. GLint blue;
  228. GLint alpha;
  229. } GLMSG_COLOR4I;
  230. typedef struct
  231. {
  232. ULONG ProcOffset;
  233. GLint v[4];
  234. } GLMSG_COLOR4IV;
  235. typedef struct
  236. {
  237. ULONG ProcOffset;
  238. GLshort red;
  239. GLshort green;
  240. GLshort blue;
  241. GLshort alpha;
  242. } GLMSG_COLOR4S;
  243. typedef struct
  244. {
  245. ULONG ProcOffset;
  246. GLshort v[4];
  247. } GLMSG_COLOR4SV;
  248. typedef struct
  249. {
  250. ULONG ProcOffset;
  251. GLubyte red;
  252. GLubyte green;
  253. GLubyte blue;
  254. GLubyte alpha;
  255. } GLMSG_COLOR4UB;
  256. typedef struct
  257. {
  258. ULONG ProcOffset;
  259. GLubyte v[4];
  260. } GLMSG_COLOR4UBV;
  261. typedef struct
  262. {
  263. ULONG ProcOffset;
  264. GLuint red;
  265. GLuint green;
  266. GLuint blue;
  267. GLuint alpha;
  268. } GLMSG_COLOR4UI;
  269. typedef struct
  270. {
  271. ULONG ProcOffset;
  272. GLuint v[4];
  273. } GLMSG_COLOR4UIV;
  274. typedef struct
  275. {
  276. ULONG ProcOffset;
  277. GLushort red;
  278. GLushort green;
  279. GLushort blue;
  280. GLushort alpha;
  281. } GLMSG_COLOR4US;
  282. typedef struct
  283. {
  284. ULONG ProcOffset;
  285. GLushort v[4];
  286. } GLMSG_COLOR4USV;
  287. typedef struct
  288. {
  289. ULONG ProcOffset;
  290. GLboolean flag;
  291. } GLMSG_EDGEFLAG;
  292. typedef struct
  293. {
  294. ULONG ProcOffset;
  295. GLboolean flag[1];
  296. } GLMSG_EDGEFLAGV;
  297. typedef struct
  298. {
  299. ULONG ProcOffset;
  300. } GLMSG_END;
  301. typedef struct
  302. {
  303. ULONG ProcOffset;
  304. GLdouble c;
  305. } GLMSG_INDEXD;
  306. typedef struct
  307. {
  308. ULONG ProcOffset;
  309. GLdouble c[1];
  310. } GLMSG_INDEXDV;
  311. typedef struct
  312. {
  313. ULONG ProcOffset;
  314. GLfloat c;
  315. } GLMSG_INDEXF;
  316. typedef struct
  317. {
  318. ULONG ProcOffset;
  319. GLfloat c[1];
  320. } GLMSG_INDEXFV;
  321. typedef struct
  322. {
  323. ULONG ProcOffset;
  324. GLint c;
  325. } GLMSG_INDEXI;
  326. typedef struct
  327. {
  328. ULONG ProcOffset;
  329. GLint c[1];
  330. } GLMSG_INDEXIV;
  331. typedef struct
  332. {
  333. ULONG ProcOffset;
  334. GLshort c;
  335. } GLMSG_INDEXS;
  336. typedef struct
  337. {
  338. ULONG ProcOffset;
  339. GLshort c[1];
  340. } GLMSG_INDEXSV;
  341. typedef struct
  342. {
  343. ULONG ProcOffset;
  344. GLbyte nx;
  345. GLbyte ny;
  346. GLbyte nz;
  347. } GLMSG_NORMAL3B;
  348. typedef struct
  349. {
  350. ULONG ProcOffset;
  351. GLbyte v[3];
  352. } GLMSG_NORMAL3BV;
  353. typedef struct
  354. {
  355. ULONG ProcOffset;
  356. GLdouble nx;
  357. GLdouble ny;
  358. GLdouble nz;
  359. } GLMSG_NORMAL3D;
  360. typedef struct
  361. {
  362. ULONG ProcOffset;
  363. GLdouble v[3];
  364. } GLMSG_NORMAL3DV;
  365. typedef struct
  366. {
  367. ULONG ProcOffset;
  368. GLfloat nx;
  369. GLfloat ny;
  370. GLfloat nz;
  371. } GLMSG_NORMAL3F;
  372. typedef struct
  373. {
  374. ULONG ProcOffset;
  375. GLfloat v[3];
  376. } GLMSG_NORMAL3FV;
  377. typedef struct
  378. {
  379. ULONG ProcOffset;
  380. GLint nx;
  381. GLint ny;
  382. GLint nz;
  383. } GLMSG_NORMAL3I;
  384. typedef struct
  385. {
  386. ULONG ProcOffset;
  387. GLint v[3];
  388. } GLMSG_NORMAL3IV;
  389. typedef struct
  390. {
  391. ULONG ProcOffset;
  392. GLshort nx;
  393. GLshort ny;
  394. GLshort nz;
  395. } GLMSG_NORMAL3S;
  396. typedef struct
  397. {
  398. ULONG ProcOffset;
  399. GLshort v[3];
  400. } GLMSG_NORMAL3SV;
  401. typedef struct
  402. {
  403. ULONG ProcOffset;
  404. GLdouble x;
  405. GLdouble y;
  406. } GLMSG_RASTERPOS2D;
  407. typedef struct
  408. {
  409. ULONG ProcOffset;
  410. GLdouble v[2];
  411. } GLMSG_RASTERPOS2DV;
  412. typedef struct
  413. {
  414. ULONG ProcOffset;
  415. GLfloat x;
  416. GLfloat y;
  417. } GLMSG_RASTERPOS2F;
  418. typedef struct
  419. {
  420. ULONG ProcOffset;
  421. GLfloat v[2];
  422. } GLMSG_RASTERPOS2FV;
  423. typedef struct
  424. {
  425. ULONG ProcOffset;
  426. GLint x;
  427. GLint y;
  428. } GLMSG_RASTERPOS2I;
  429. typedef struct
  430. {
  431. ULONG ProcOffset;
  432. GLint v[2];
  433. } GLMSG_RASTERPOS2IV;
  434. typedef struct
  435. {
  436. ULONG ProcOffset;
  437. GLshort x;
  438. GLshort y;
  439. } GLMSG_RASTERPOS2S;
  440. typedef struct
  441. {
  442. ULONG ProcOffset;
  443. GLshort v[2];
  444. } GLMSG_RASTERPOS2SV;
  445. typedef struct
  446. {
  447. ULONG ProcOffset;
  448. GLdouble x;
  449. GLdouble y;
  450. GLdouble z;
  451. } GLMSG_RASTERPOS3D;
  452. typedef struct
  453. {
  454. ULONG ProcOffset;
  455. GLdouble v[3];
  456. } GLMSG_RASTERPOS3DV;
  457. typedef struct
  458. {
  459. ULONG ProcOffset;
  460. GLfloat x;
  461. GLfloat y;
  462. GLfloat z;
  463. } GLMSG_RASTERPOS3F;
  464. typedef struct
  465. {
  466. ULONG ProcOffset;
  467. GLfloat v[3];
  468. } GLMSG_RASTERPOS3FV;
  469. typedef struct
  470. {
  471. ULONG ProcOffset;
  472. GLint x;
  473. GLint y;
  474. GLint z;
  475. } GLMSG_RASTERPOS3I;
  476. typedef struct
  477. {
  478. ULONG ProcOffset;
  479. GLint v[3];
  480. } GLMSG_RASTERPOS3IV;
  481. typedef struct
  482. {
  483. ULONG ProcOffset;
  484. GLshort x;
  485. GLshort y;
  486. GLshort z;
  487. } GLMSG_RASTERPOS3S;
  488. typedef struct
  489. {
  490. ULONG ProcOffset;
  491. GLshort v[3];
  492. } GLMSG_RASTERPOS3SV;
  493. typedef struct
  494. {
  495. ULONG ProcOffset;
  496. GLdouble x;
  497. GLdouble y;
  498. GLdouble z;
  499. GLdouble w;
  500. } GLMSG_RASTERPOS4D;
  501. typedef struct
  502. {
  503. ULONG ProcOffset;
  504. GLdouble v[4];
  505. } GLMSG_RASTERPOS4DV;
  506. typedef struct
  507. {
  508. ULONG ProcOffset;
  509. GLfloat x;
  510. GLfloat y;
  511. GLfloat z;
  512. GLfloat w;
  513. } GLMSG_RASTERPOS4F;
  514. typedef struct
  515. {
  516. ULONG ProcOffset;
  517. GLfloat v[4];
  518. } GLMSG_RASTERPOS4FV;
  519. typedef struct
  520. {
  521. ULONG ProcOffset;
  522. GLint x;
  523. GLint y;
  524. GLint z;
  525. GLint w;
  526. } GLMSG_RASTERPOS4I;
  527. typedef struct
  528. {
  529. ULONG ProcOffset;
  530. GLint v[4];
  531. } GLMSG_RASTERPOS4IV;
  532. typedef struct
  533. {
  534. ULONG ProcOffset;
  535. GLshort x;
  536. GLshort y;
  537. GLshort z;
  538. GLshort w;
  539. } GLMSG_RASTERPOS4S;
  540. typedef struct
  541. {
  542. ULONG ProcOffset;
  543. GLshort v[4];
  544. } GLMSG_RASTERPOS4SV;
  545. typedef struct
  546. {
  547. ULONG ProcOffset;
  548. GLdouble x1;
  549. GLdouble y1;
  550. GLdouble x2;
  551. GLdouble y2;
  552. } GLMSG_RECTD;
  553. typedef struct
  554. {
  555. ULONG ProcOffset;
  556. GLdouble v1[2];
  557. GLdouble v2[2];
  558. } GLMSG_RECTDV;
  559. typedef struct
  560. {
  561. ULONG ProcOffset;
  562. GLfloat x1;
  563. GLfloat y1;
  564. GLfloat x2;
  565. GLfloat y2;
  566. } GLMSG_RECTF;
  567. typedef struct
  568. {
  569. ULONG ProcOffset;
  570. GLfloat v1[2];
  571. GLfloat v2[2];
  572. } GLMSG_RECTFV;
  573. typedef struct
  574. {
  575. ULONG ProcOffset;
  576. GLint x1;
  577. GLint y1;
  578. GLint x2;
  579. GLint y2;
  580. } GLMSG_RECTI;
  581. typedef struct
  582. {
  583. ULONG ProcOffset;
  584. GLint v1[2];
  585. GLint v2[2];
  586. } GLMSG_RECTIV;
  587. typedef struct
  588. {
  589. ULONG ProcOffset;
  590. GLshort x1;
  591. GLshort y1;
  592. GLshort x2;
  593. GLshort y2;
  594. } GLMSG_RECTS;
  595. typedef struct
  596. {
  597. ULONG ProcOffset;
  598. GLshort v1[2];
  599. GLshort v2[2];
  600. } GLMSG_RECTSV;
  601. typedef struct
  602. {
  603. ULONG ProcOffset;
  604. GLdouble s;
  605. } GLMSG_TEXCOORD1D;
  606. typedef struct
  607. {
  608. ULONG ProcOffset;
  609. GLdouble v[1];
  610. } GLMSG_TEXCOORD1DV;
  611. typedef struct
  612. {
  613. ULONG ProcOffset;
  614. GLfloat s;
  615. } GLMSG_TEXCOORD1F;
  616. typedef struct
  617. {
  618. ULONG ProcOffset;
  619. GLfloat v[1];
  620. } GLMSG_TEXCOORD1FV;
  621. typedef struct
  622. {
  623. ULONG ProcOffset;
  624. GLint s;
  625. } GLMSG_TEXCOORD1I;
  626. typedef struct
  627. {
  628. ULONG ProcOffset;
  629. GLint v[1];
  630. } GLMSG_TEXCOORD1IV;
  631. typedef struct
  632. {
  633. ULONG ProcOffset;
  634. GLshort s;
  635. } GLMSG_TEXCOORD1S;
  636. typedef struct
  637. {
  638. ULONG ProcOffset;
  639. GLshort v[1];
  640. } GLMSG_TEXCOORD1SV;
  641. typedef struct
  642. {
  643. ULONG ProcOffset;
  644. GLdouble s;
  645. GLdouble t;
  646. } GLMSG_TEXCOORD2D;
  647. typedef struct
  648. {
  649. ULONG ProcOffset;
  650. GLdouble v[2];
  651. } GLMSG_TEXCOORD2DV;
  652. typedef struct
  653. {
  654. ULONG ProcOffset;
  655. GLfloat s;
  656. GLfloat t;
  657. } GLMSG_TEXCOORD2F;
  658. typedef struct
  659. {
  660. ULONG ProcOffset;
  661. GLfloat v[2];
  662. } GLMSG_TEXCOORD2FV;
  663. typedef struct
  664. {
  665. ULONG ProcOffset;
  666. GLint s;
  667. GLint t;
  668. } GLMSG_TEXCOORD2I;
  669. typedef struct
  670. {
  671. ULONG ProcOffset;
  672. GLint v[2];
  673. } GLMSG_TEXCOORD2IV;
  674. typedef struct
  675. {
  676. ULONG ProcOffset;
  677. GLshort s;
  678. GLshort t;
  679. } GLMSG_TEXCOORD2S;
  680. typedef struct
  681. {
  682. ULONG ProcOffset;
  683. GLshort v[2];
  684. } GLMSG_TEXCOORD2SV;
  685. typedef struct
  686. {
  687. ULONG ProcOffset;
  688. GLdouble s;
  689. GLdouble t;
  690. GLdouble r;
  691. } GLMSG_TEXCOORD3D;
  692. typedef struct
  693. {
  694. ULONG ProcOffset;
  695. GLdouble v[3];
  696. } GLMSG_TEXCOORD3DV;
  697. typedef struct
  698. {
  699. ULONG ProcOffset;
  700. GLfloat s;
  701. GLfloat t;
  702. GLfloat r;
  703. } GLMSG_TEXCOORD3F;
  704. typedef struct
  705. {
  706. ULONG ProcOffset;
  707. GLfloat v[3];
  708. } GLMSG_TEXCOORD3FV;
  709. typedef struct
  710. {
  711. ULONG ProcOffset;
  712. GLint s;
  713. GLint t;
  714. GLint r;
  715. } GLMSG_TEXCOORD3I;
  716. typedef struct
  717. {
  718. ULONG ProcOffset;
  719. GLint v[3];
  720. } GLMSG_TEXCOORD3IV;
  721. typedef struct
  722. {
  723. ULONG ProcOffset;
  724. GLshort s;
  725. GLshort t;
  726. GLshort r;
  727. } GLMSG_TEXCOORD3S;
  728. typedef struct
  729. {
  730. ULONG ProcOffset;
  731. GLshort v[3];
  732. } GLMSG_TEXCOORD3SV;
  733. typedef struct
  734. {
  735. ULONG ProcOffset;
  736. GLdouble s;
  737. GLdouble t;
  738. GLdouble r;
  739. GLdouble q;
  740. } GLMSG_TEXCOORD4D;
  741. typedef struct
  742. {
  743. ULONG ProcOffset;
  744. GLdouble v[4];
  745. } GLMSG_TEXCOORD4DV;
  746. typedef struct
  747. {
  748. ULONG ProcOffset;
  749. GLfloat s;
  750. GLfloat t;
  751. GLfloat r;
  752. GLfloat q;
  753. } GLMSG_TEXCOORD4F;
  754. typedef struct
  755. {
  756. ULONG ProcOffset;
  757. GLfloat v[4];
  758. } GLMSG_TEXCOORD4FV;
  759. typedef struct
  760. {
  761. ULONG ProcOffset;
  762. GLint s;
  763. GLint t;
  764. GLint r;
  765. GLint q;
  766. } GLMSG_TEXCOORD4I;
  767. typedef struct
  768. {
  769. ULONG ProcOffset;
  770. GLint v[4];
  771. } GLMSG_TEXCOORD4IV;
  772. typedef struct
  773. {
  774. ULONG ProcOffset;
  775. GLshort s;
  776. GLshort t;
  777. GLshort r;
  778. GLshort q;
  779. } GLMSG_TEXCOORD4S;
  780. typedef struct
  781. {
  782. ULONG ProcOffset;
  783. GLshort v[4];
  784. } GLMSG_TEXCOORD4SV;
  785. typedef struct
  786. {
  787. ULONG ProcOffset;
  788. GLdouble x;
  789. GLdouble y;
  790. } GLMSG_VERTEX2D;
  791. typedef struct
  792. {
  793. ULONG ProcOffset;
  794. GLdouble v[2];
  795. } GLMSG_VERTEX2DV;
  796. typedef struct
  797. {
  798. ULONG ProcOffset;
  799. GLfloat x;
  800. GLfloat y;
  801. } GLMSG_VERTEX2F;
  802. typedef struct
  803. {
  804. ULONG ProcOffset;
  805. GLfloat v[2];
  806. } GLMSG_VERTEX2FV;
  807. typedef struct
  808. {
  809. ULONG ProcOffset;
  810. GLint x;
  811. GLint y;
  812. } GLMSG_VERTEX2I;
  813. typedef struct
  814. {
  815. ULONG ProcOffset;
  816. GLint v[2];
  817. } GLMSG_VERTEX2IV;
  818. typedef struct
  819. {
  820. ULONG ProcOffset;
  821. GLshort x;
  822. GLshort y;
  823. } GLMSG_VERTEX2S;
  824. typedef struct
  825. {
  826. ULONG ProcOffset;
  827. GLshort v[2];
  828. } GLMSG_VERTEX2SV;
  829. typedef struct
  830. {
  831. ULONG ProcOffset;
  832. GLdouble x;
  833. GLdouble y;
  834. GLdouble z;
  835. } GLMSG_VERTEX3D;
  836. typedef struct
  837. {
  838. ULONG ProcOffset;
  839. GLdouble v[3];
  840. } GLMSG_VERTEX3DV;
  841. typedef struct
  842. {
  843. ULONG ProcOffset;
  844. GLfloat x;
  845. GLfloat y;
  846. GLfloat z;
  847. } GLMSG_VERTEX3F;
  848. typedef struct
  849. {
  850. ULONG ProcOffset;
  851. GLfloat v[3];
  852. } GLMSG_VERTEX3FV;
  853. typedef struct
  854. {
  855. ULONG ProcOffset;
  856. GLint x;
  857. GLint y;
  858. GLint z;
  859. } GLMSG_VERTEX3I;
  860. typedef struct
  861. {
  862. ULONG ProcOffset;
  863. GLint v[3];
  864. } GLMSG_VERTEX3IV;
  865. typedef struct
  866. {
  867. ULONG ProcOffset;
  868. GLshort x;
  869. GLshort y;
  870. GLshort z;
  871. } GLMSG_VERTEX3S;
  872. typedef struct
  873. {
  874. ULONG ProcOffset;
  875. GLshort v[3];
  876. } GLMSG_VERTEX3SV;
  877. typedef struct
  878. {
  879. ULONG ProcOffset;
  880. GLdouble x;
  881. GLdouble y;
  882. GLdouble z;
  883. GLdouble w;
  884. } GLMSG_VERTEX4D;
  885. typedef struct
  886. {
  887. ULONG ProcOffset;
  888. GLdouble v[4];
  889. } GLMSG_VERTEX4DV;
  890. typedef struct
  891. {
  892. ULONG ProcOffset;
  893. GLfloat x;
  894. GLfloat y;
  895. GLfloat z;
  896. GLfloat w;
  897. } GLMSG_VERTEX4F;
  898. typedef struct
  899. {
  900. ULONG ProcOffset;
  901. GLfloat v[4];
  902. } GLMSG_VERTEX4FV;
  903. typedef struct
  904. {
  905. ULONG ProcOffset;
  906. GLint x;
  907. GLint y;
  908. GLint z;
  909. GLint w;
  910. } GLMSG_VERTEX4I;
  911. typedef struct
  912. {
  913. ULONG ProcOffset;
  914. GLint v[4];
  915. } GLMSG_VERTEX4IV;
  916. typedef struct
  917. {
  918. ULONG ProcOffset;
  919. GLshort x;
  920. GLshort y;
  921. GLshort z;
  922. GLshort w;
  923. } GLMSG_VERTEX4S;
  924. typedef struct
  925. {
  926. ULONG ProcOffset;
  927. GLshort v[4];
  928. } GLMSG_VERTEX4SV;
  929. typedef struct
  930. {
  931. ULONG ProcOffset;
  932. GLenum plane;
  933. GLdouble equation[4];
  934. } GLMSG_CLIPPLANE;
  935. typedef struct
  936. {
  937. ULONG ProcOffset;
  938. GLenum face;
  939. GLenum mode;
  940. } GLMSG_COLORMATERIAL;
  941. typedef struct
  942. {
  943. ULONG ProcOffset;
  944. GLenum mode;
  945. } GLMSG_CULLFACE;
  946. typedef struct
  947. {
  948. ULONG ProcOffset;
  949. GLenum mode;
  950. } GLMSG_FRONTFACE;
  951. typedef struct
  952. {
  953. ULONG ProcOffset;
  954. GLenum target;
  955. GLenum mode;
  956. } GLMSG_HINT;
  957. typedef struct
  958. {
  959. ULONG ProcOffset;
  960. GLint factor;
  961. GLushort pattern;
  962. } GLMSG_LINESTIPPLE;
  963. typedef struct
  964. {
  965. ULONG ProcOffset;
  966. GLfloat width;
  967. } GLMSG_LINEWIDTH;
  968. typedef struct
  969. {
  970. ULONG ProcOffset;
  971. GLfloat size;
  972. } GLMSG_POINTSIZE;
  973. typedef struct
  974. {
  975. ULONG ProcOffset;
  976. GLenum face;
  977. GLenum mode;
  978. } GLMSG_POLYGONMODE;
  979. typedef struct
  980. {
  981. ULONG ProcOffset;
  982. GLint x;
  983. GLint y;
  984. GLsizei width;
  985. GLsizei height;
  986. } GLMSG_SCISSOR;
  987. typedef struct
  988. {
  989. ULONG ProcOffset;
  990. GLenum mode;
  991. } GLMSG_SHADEMODEL;
  992. typedef struct
  993. {
  994. ULONG ProcOffset;
  995. } GLMSG_INITNAMES;
  996. typedef struct
  997. {
  998. ULONG ProcOffset;
  999. GLuint name;
  1000. } GLMSG_LOADNAME;
  1001. typedef struct
  1002. {
  1003. ULONG ProcOffset;
  1004. GLfloat token;
  1005. } GLMSG_PASSTHROUGH;
  1006. typedef struct
  1007. {
  1008. ULONG ProcOffset;
  1009. } GLMSG_POPNAME;
  1010. typedef struct
  1011. {
  1012. ULONG ProcOffset;
  1013. GLuint name;
  1014. } GLMSG_PUSHNAME;
  1015. typedef struct
  1016. {
  1017. ULONG ProcOffset;
  1018. GLenum mode;
  1019. } GLMSG_DRAWBUFFER;
  1020. typedef struct
  1021. {
  1022. ULONG ProcOffset;
  1023. GLbitfield mask;
  1024. } GLMSG_CLEAR;
  1025. typedef struct
  1026. {
  1027. ULONG ProcOffset;
  1028. GLfloat red;
  1029. GLfloat green;
  1030. GLfloat blue;
  1031. GLfloat alpha;
  1032. } GLMSG_CLEARACCUM;
  1033. typedef struct
  1034. {
  1035. ULONG ProcOffset;
  1036. GLfloat c;
  1037. } GLMSG_CLEARINDEX;
  1038. typedef struct
  1039. {
  1040. ULONG ProcOffset;
  1041. GLclampf red;
  1042. GLclampf green;
  1043. GLclampf blue;
  1044. GLclampf alpha;
  1045. } GLMSG_CLEARCOLOR;
  1046. typedef struct
  1047. {
  1048. ULONG ProcOffset;
  1049. GLint s;
  1050. } GLMSG_CLEARSTENCIL;
  1051. typedef struct
  1052. {
  1053. ULONG ProcOffset;
  1054. GLclampd depth;
  1055. } GLMSG_CLEARDEPTH;
  1056. typedef struct
  1057. {
  1058. ULONG ProcOffset;
  1059. GLuint mask;
  1060. } GLMSG_STENCILMASK;
  1061. typedef struct
  1062. {
  1063. ULONG ProcOffset;
  1064. GLboolean red;
  1065. GLboolean green;
  1066. GLboolean blue;
  1067. GLboolean alpha;
  1068. } GLMSG_COLORMASK;
  1069. typedef struct
  1070. {
  1071. ULONG ProcOffset;
  1072. GLboolean flag;
  1073. } GLMSG_DEPTHMASK;
  1074. typedef struct
  1075. {
  1076. ULONG ProcOffset;
  1077. GLuint mask;
  1078. } GLMSG_INDEXMASK;
  1079. typedef struct
  1080. {
  1081. ULONG ProcOffset;
  1082. GLenum op;
  1083. GLfloat value;
  1084. } GLMSG_ACCUM;
  1085. typedef struct
  1086. {
  1087. ULONG ProcOffset;
  1088. GLenum cap;
  1089. } GLMSG_DISABLE;
  1090. typedef struct
  1091. {
  1092. ULONG ProcOffset;
  1093. GLenum cap;
  1094. } GLMSG_ENABLE;
  1095. typedef struct
  1096. {
  1097. ULONG ProcOffset;
  1098. } GLMSG_FINISH;
  1099. typedef struct
  1100. {
  1101. ULONG ProcOffset;
  1102. } GLMSG_FLUSH;
  1103. typedef struct
  1104. {
  1105. ULONG ProcOffset;
  1106. } GLMSG_POPATTRIB;
  1107. typedef struct
  1108. {
  1109. ULONG ProcOffset;
  1110. GLbitfield mask;
  1111. } GLMSG_PUSHATTRIB;
  1112. typedef struct
  1113. {
  1114. ULONG ProcOffset;
  1115. GLint un;
  1116. GLdouble u1;
  1117. GLdouble u2;
  1118. } GLMSG_MAPGRID1D;
  1119. typedef struct
  1120. {
  1121. ULONG ProcOffset;
  1122. GLint un;
  1123. GLfloat u1;
  1124. GLfloat u2;
  1125. } GLMSG_MAPGRID1F;
  1126. typedef struct
  1127. {
  1128. ULONG ProcOffset;
  1129. GLint un;
  1130. GLdouble u1;
  1131. GLdouble u2;
  1132. GLint vn;
  1133. GLdouble v1;
  1134. GLdouble v2;
  1135. } GLMSG_MAPGRID2D;
  1136. typedef struct
  1137. {
  1138. ULONG ProcOffset;
  1139. GLint un;
  1140. GLfloat u1;
  1141. GLfloat u2;
  1142. GLint vn;
  1143. GLfloat v1;
  1144. GLfloat v2;
  1145. } GLMSG_MAPGRID2F;
  1146. typedef struct
  1147. {
  1148. ULONG ProcOffset;
  1149. GLdouble u;
  1150. } GLMSG_EVALCOORD1D;
  1151. typedef struct
  1152. {
  1153. ULONG ProcOffset;
  1154. GLdouble u[1];
  1155. } GLMSG_EVALCOORD1DV;
  1156. typedef struct
  1157. {
  1158. ULONG ProcOffset;
  1159. GLfloat u;
  1160. } GLMSG_EVALCOORD1F;
  1161. typedef struct
  1162. {
  1163. ULONG ProcOffset;
  1164. GLfloat u[1];
  1165. } GLMSG_EVALCOORD1FV;
  1166. typedef struct
  1167. {
  1168. ULONG ProcOffset;
  1169. GLdouble u;
  1170. GLdouble v;
  1171. } GLMSG_EVALCOORD2D;
  1172. typedef struct
  1173. {
  1174. ULONG ProcOffset;
  1175. GLdouble u[2];
  1176. } GLMSG_EVALCOORD2DV;
  1177. typedef struct
  1178. {
  1179. ULONG ProcOffset;
  1180. GLfloat u;
  1181. GLfloat v;
  1182. } GLMSG_EVALCOORD2F;
  1183. typedef struct
  1184. {
  1185. ULONG ProcOffset;
  1186. GLfloat u[2];
  1187. } GLMSG_EVALCOORD2FV;
  1188. typedef struct
  1189. {
  1190. ULONG ProcOffset;
  1191. GLenum mode;
  1192. GLint i1;
  1193. GLint i2;
  1194. } GLMSG_EVALMESH1;
  1195. typedef struct
  1196. {
  1197. ULONG ProcOffset;
  1198. GLint i;
  1199. } GLMSG_EVALPOINT1;
  1200. typedef struct
  1201. {
  1202. ULONG ProcOffset;
  1203. GLenum mode;
  1204. GLint i1;
  1205. GLint i2;
  1206. GLint j1;
  1207. GLint j2;
  1208. } GLMSG_EVALMESH2;
  1209. typedef struct
  1210. {
  1211. ULONG ProcOffset;
  1212. GLint i;
  1213. GLint j;
  1214. } GLMSG_EVALPOINT2;
  1215. typedef struct
  1216. {
  1217. ULONG ProcOffset;
  1218. GLenum func;
  1219. GLclampf ref;
  1220. } GLMSG_ALPHAFUNC;
  1221. typedef struct
  1222. {
  1223. ULONG ProcOffset;
  1224. GLenum sfactor;
  1225. GLenum dfactor;
  1226. } GLMSG_BLENDFUNC;
  1227. typedef struct
  1228. {
  1229. ULONG ProcOffset;
  1230. GLenum opcode;
  1231. } GLMSG_LOGICOP;
  1232. typedef struct
  1233. {
  1234. ULONG ProcOffset;
  1235. GLenum func;
  1236. GLint ref;
  1237. GLuint mask;
  1238. } GLMSG_STENCILFUNC;
  1239. typedef struct
  1240. {
  1241. ULONG ProcOffset;
  1242. GLenum fail;
  1243. GLenum zfail;
  1244. GLenum zpass;
  1245. } GLMSG_STENCILOP;
  1246. typedef struct
  1247. {
  1248. ULONG ProcOffset;
  1249. GLenum func;
  1250. } GLMSG_DEPTHFUNC;
  1251. typedef struct
  1252. {
  1253. ULONG ProcOffset;
  1254. GLfloat xfactor;
  1255. GLfloat yfactor;
  1256. } GLMSG_PIXELZOOM;
  1257. typedef struct
  1258. {
  1259. ULONG ProcOffset;
  1260. GLenum pname;
  1261. GLfloat param;
  1262. } GLMSG_PIXELTRANSFERF;
  1263. typedef struct
  1264. {
  1265. ULONG ProcOffset;
  1266. GLenum pname;
  1267. GLint param;
  1268. } GLMSG_PIXELTRANSFERI;
  1269. typedef struct
  1270. {
  1271. ULONG ProcOffset;
  1272. GLenum pname;
  1273. GLfloat param;
  1274. } GLMSG_PIXELSTOREF;
  1275. typedef struct
  1276. {
  1277. ULONG ProcOffset;
  1278. GLenum pname;
  1279. GLint param;
  1280. } GLMSG_PIXELSTOREI;
  1281. typedef struct
  1282. {
  1283. ULONG ProcOffset;
  1284. GLenum map;
  1285. GLint mapsize;
  1286. ULONG MsgSize;
  1287. ULONG DataSize;
  1288. ULONG_PTR valuesOff;
  1289. } GLMSG_PIXELMAPFV;
  1290. typedef struct
  1291. {
  1292. ULONG ProcOffset;
  1293. GLenum map;
  1294. GLint mapsize;
  1295. ULONG MsgSize;
  1296. ULONG DataSize;
  1297. ULONG_PTR valuesOff;
  1298. } GLMSG_PIXELMAPUIV;
  1299. typedef struct
  1300. {
  1301. ULONG ProcOffset;
  1302. GLenum map;
  1303. GLint mapsize;
  1304. ULONG MsgSize;
  1305. ULONG DataSize;
  1306. ULONG_PTR valuesOff;
  1307. } GLMSG_PIXELMAPUSV;
  1308. typedef struct
  1309. {
  1310. ULONG ProcOffset;
  1311. GLenum mode;
  1312. } GLMSG_READBUFFER;
  1313. typedef struct
  1314. {
  1315. ULONG ProcOffset;
  1316. GLint x;
  1317. GLint y;
  1318. GLsizei width;
  1319. GLsizei height;
  1320. GLenum type;
  1321. } GLMSG_COPYPIXELS;
  1322. typedef struct
  1323. {
  1324. ULONG ProcOffset;
  1325. GLenum plane;
  1326. #ifdef _CLIENTSIDE_
  1327. GLdouble *equation;
  1328. #else
  1329. GLdouble equation[4];
  1330. #endif
  1331. } GLMSG_GETCLIPPLANE;
  1332. typedef struct
  1333. {
  1334. ULONG ProcOffset;
  1335. } GLMSG_GETERROR;
  1336. typedef struct
  1337. {
  1338. ULONG ProcOffset;
  1339. GLenum target;
  1340. GLenum query;
  1341. ULONG MsgSize;
  1342. ULONG DataSize;
  1343. ULONG_PTR vOff;
  1344. } GLMSG_GETMAPDV;
  1345. typedef struct
  1346. {
  1347. ULONG ProcOffset;
  1348. GLenum target;
  1349. GLenum query;
  1350. ULONG MsgSize;
  1351. ULONG DataSize;
  1352. ULONG_PTR vOff;
  1353. } GLMSG_GETMAPFV;
  1354. typedef struct
  1355. {
  1356. ULONG ProcOffset;
  1357. GLenum target;
  1358. GLenum query;
  1359. ULONG MsgSize;
  1360. ULONG DataSize;
  1361. ULONG_PTR vOff;
  1362. } GLMSG_GETMAPIV;
  1363. typedef struct
  1364. {
  1365. ULONG ProcOffset;
  1366. GLenum map;
  1367. ULONG MsgSize;
  1368. ULONG DataSize;
  1369. ULONG_PTR valuesOff;
  1370. } GLMSG_GETPIXELMAPFV;
  1371. typedef struct
  1372. {
  1373. ULONG ProcOffset;
  1374. GLenum map;
  1375. ULONG MsgSize;
  1376. ULONG DataSize;
  1377. ULONG_PTR valuesOff;
  1378. } GLMSG_GETPIXELMAPUIV;
  1379. typedef struct
  1380. {
  1381. ULONG ProcOffset;
  1382. GLenum map;
  1383. ULONG MsgSize;
  1384. ULONG DataSize;
  1385. ULONG_PTR valuesOff;
  1386. } GLMSG_GETPIXELMAPUSV;
  1387. typedef struct
  1388. {
  1389. ULONG ProcOffset;
  1390. GLenum cap;
  1391. } GLMSG_ISENABLED;
  1392. typedef struct
  1393. {
  1394. ULONG ProcOffset;
  1395. GLuint list;
  1396. } GLMSG_ISLIST;
  1397. typedef struct
  1398. {
  1399. ULONG ProcOffset;
  1400. GLclampd zNear;
  1401. GLclampd zFar;
  1402. } GLMSG_DEPTHRANGE;
  1403. typedef struct
  1404. {
  1405. ULONG ProcOffset;
  1406. GLdouble left;
  1407. GLdouble right;
  1408. GLdouble bottom;
  1409. GLdouble top;
  1410. GLdouble zNear;
  1411. GLdouble zFar;
  1412. } GLMSG_FRUSTUM;
  1413. typedef struct
  1414. {
  1415. ULONG ProcOffset;
  1416. } GLMSG_LOADIDENTITY;
  1417. typedef struct
  1418. {
  1419. ULONG ProcOffset;
  1420. GLfloat m[16];
  1421. } GLMSG_LOADMATRIXF;
  1422. typedef struct
  1423. {
  1424. ULONG ProcOffset;
  1425. GLdouble m[16];
  1426. } GLMSG_LOADMATRIXD;
  1427. typedef struct
  1428. {
  1429. ULONG ProcOffset;
  1430. GLenum mode;
  1431. } GLMSG_MATRIXMODE;
  1432. typedef struct
  1433. {
  1434. ULONG ProcOffset;
  1435. GLfloat m[16];
  1436. } GLMSG_MULTMATRIXF;
  1437. typedef struct
  1438. {
  1439. ULONG ProcOffset;
  1440. GLdouble m[16];
  1441. } GLMSG_MULTMATRIXD;
  1442. typedef struct
  1443. {
  1444. ULONG ProcOffset;
  1445. GLdouble left;
  1446. GLdouble right;
  1447. GLdouble bottom;
  1448. GLdouble top;
  1449. GLdouble zNear;
  1450. GLdouble zFar;
  1451. } GLMSG_ORTHO;
  1452. typedef struct
  1453. {
  1454. ULONG ProcOffset;
  1455. } GLMSG_POPMATRIX;
  1456. typedef struct
  1457. {
  1458. ULONG ProcOffset;
  1459. } GLMSG_PUSHMATRIX;
  1460. typedef struct
  1461. {
  1462. ULONG ProcOffset;
  1463. GLdouble angle;
  1464. GLdouble x;
  1465. GLdouble y;
  1466. GLdouble z;
  1467. } GLMSG_ROTATED;
  1468. typedef struct
  1469. {
  1470. ULONG ProcOffset;
  1471. GLfloat angle;
  1472. GLfloat x;
  1473. GLfloat y;
  1474. GLfloat z;
  1475. } GLMSG_ROTATEF;
  1476. typedef struct
  1477. {
  1478. ULONG ProcOffset;
  1479. GLdouble x;
  1480. GLdouble y;
  1481. GLdouble z;
  1482. } GLMSG_SCALED;
  1483. typedef struct
  1484. {
  1485. ULONG ProcOffset;
  1486. GLfloat x;
  1487. GLfloat y;
  1488. GLfloat z;
  1489. } GLMSG_SCALEF;
  1490. typedef struct
  1491. {
  1492. ULONG ProcOffset;
  1493. GLdouble x;
  1494. GLdouble y;
  1495. GLdouble z;
  1496. } GLMSG_TRANSLATED;
  1497. typedef struct
  1498. {
  1499. ULONG ProcOffset;
  1500. GLfloat x;
  1501. GLfloat y;
  1502. GLfloat z;
  1503. } GLMSG_TRANSLATEF;
  1504. typedef struct
  1505. {
  1506. ULONG ProcOffset;
  1507. GLint x;
  1508. GLint y;
  1509. GLsizei width;
  1510. GLsizei height;
  1511. } GLMSG_VIEWPORT;
  1512. #endif /* !__GLSBMSG_H__ */