home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v1.zip / DDKX86 / H / PMTYPES.H < prev    next >
C/C++ Source or Header  |  1995-04-14  |  12KB  |  312 lines

  1. /*DDK*************************************************************************/
  2. /*                                                                           */
  3. /* COPYRIGHT    Copyright (C) 1995 IBM Corporation                           */
  4. /*                                                                           */
  5. /*    The following IBM OS/2 WARP source code is provided to you solely for  */
  6. /*    the purpose of assisting you in your development of OS/2 WARP device   */
  7. /*    drivers. You may use this code in accordance with the IBM License      */
  8. /*    Agreement provided in the IBM Device Driver Source Kit for OS/2. This  */
  9. /*    Copyright statement may not be removed.                                */
  10. /*                                                                           */
  11. /*****************************************************************************/
  12. /****************************** Module Header ******************************\
  13. *
  14. * Module Name: PMTYPES.H
  15. *
  16. * OS/2 Presentation Manager Datatypes include file
  17. *
  18. *
  19. * ===========================================================================
  20. *
  21. * Comments at the end of each typedef line give the name tags used in
  22. * the assembler include version of this file.
  23. *
  24. * The assembler include version of this file excludes lines between XLATOFF
  25. * and XLATON comments.
  26. *
  27. #ifndef __IBMC__
  28.    * The public version of this file (as shipped with the OS/2 Toolkit
  29.    * product) excludes all non 32-bit material marked in this file
  30.    * as well as any areas specifically marked with __IBMC__ conditional
  31.    * sections - including this paragraph. The H2IBMH rexx command file
  32.    * removes these sections.
  33. #endif
  34. \***************************************************************************/
  35.  
  36. /* XLATOFF */
  37. #ifdef __IBMC__
  38.    #pragma checkout( suspend )
  39.       #ifndef __CHKHDR__
  40.          #pragma checkout( suspend )
  41.       #endif
  42.    #pragma checkout( resume )
  43. #endif
  44. /* XLATON */
  45.  
  46. #define TYPES_INCLUDED
  47.  
  48. #define DTYP_USER               (16384)
  49.  
  50. #define DTYP_CTL_ARRAY          (1)
  51. #define DTYP_CTL_PARRAY         (-1)
  52. #define DTYP_CTL_OFFSET         (2)
  53. #define DTYP_CTL_LENGTH         (3)
  54.  
  55.  
  56. /**********************************************************************/
  57. /* Ordinary datatypes                                                 */
  58. /**********************************************************************/
  59. #define DTYP_ACCEL              (28)
  60. #define DTYP_ACCELTABLE         (29)
  61. #define DTYP_ARCPARAMS          (38)
  62. #define DTYP_AREABUNDLE         (139)
  63. #define DTYP_ATOM               (90)
  64. #define DTYP_BITMAPINFO         (60)
  65. #define DTYP_BITMAPINFOHEADER   (61)
  66. #define DTYP_BITMAPINFO2        (170)
  67. #define DTYP_BITMAPINFOHEADER2  (171)
  68. #define DTYP_BIT16              (20)
  69. #define DTYP_BIT32              (21)
  70. #define DTYP_BIT8               (19)
  71. #define DTYP_BOOL               (18)
  72. #define DTYP_BTNCDATA           (35)
  73. #define DTYP_BYTE               (13)
  74. #define DTYP_CATCHBUF           (141)
  75. #define DTYP_CHAR               (15)
  76. #define DTYP_CHARBUNDLE         (135)
  77. #define DTYP_CLASSINFO          (95)
  78. #define DTYP_COUNT2             (93)
  79. #define DTYP_COUNT2B            (70)
  80. #define DTYP_COUNT2CH           (82)
  81. #define DTYP_COUNT4             (152)
  82. #define DTYP_COUNT4B            (42)
  83. #define DTYP_CPID               (57)
  84. #define DTYP_CREATESTRUCT       (98)
  85. #define DTYP_CURSORINFO         (34)
  86. #define DTYP_DEVOPENSTRUC       (124)
  87. #define DTYP_DLGTEMPLATE        (96)
  88. #define DTYP_DLGTITEM           (97)
  89. #define DTYP_ENTRYFDATA         (127)
  90. #define DTYP_ERRORID            (45)
  91. #define DTYP_FATTRS             (75)
  92. #define DTYP_FFDESCS            (142)
  93. #define DTYP_FIXED              (99)
  94. #define DTYP_FONTMETRICS        (74)
  95. #define DTYP_FRAMECDATA         (144)
  96. #define DTYP_GRADIENTL          (48)
  97. #define DTYP_HAB                (10)
  98. #define DTYP_HACCEL             (30)
  99. #define DTYP_HAPP               (146)
  100. #define DTYP_HATOMTBL           (91)
  101. #define DTYP_HBITMAP            (62)
  102. #define DTYP_HCINFO             (46)
  103. #define DTYP_HDC                (132)
  104. #define DTYP_HENUM              (117)
  105. #define DTYP_HHEAP              (109)
  106. #define DTYP_HINI               (53)
  107. #define DTYP_HLIB               (147)
  108. #define DTYP_HMF                (85)
  109. #define DTYP_HMQ                (86)
  110. #define DTYP_HPOINTER           (106)
  111. #define DTYP_HPROGRAM           (131)
  112. #define DTYP_HPS                (12)
  113. #define DTYP_HRGN               (116)
  114. #define DTYP_HSEM               (140)
  115. #define DTYP_HSPL               (32)
  116. #define DTYP_HSWITCH            (66)
  117. #define DTYP_HVPS               (58)
  118. #define DTYP_HWND               (11)
  119. #define DTYP_IDENTITY           (133)
  120. #define DTYP_IDENTITY4          (169)
  121. #define DTYP_IMAGEBUNDLE        (136)
  122. #define DTYP_INDEX2             (81)
  123. #define DTYP_IPT                (155)
  124. #define DTYP_KERNINGPAIRS       (118)
  125. #define DTYP_LENGTH2            (68)
  126. #define DTYP_LENGTH4            (69)
  127. #define DTYP_LINEBUNDLE         (137)
  128. #define DTYP_LONG               (25)
  129. #define DTYP_MARKERBUNDLE       (138)
  130. #define DTYP_MATRIXLF           (113)
  131. #define DTYP_MLECTLDATA         (161)
  132. #define DTYP_MLEMARGSTRUCT      (157)
  133. #define DTYP_MLEOVERFLOW        (158)
  134. #define DTYP_OFFSET2B           (112)
  135. #define DTYP_OWNERITEM          (154)
  136. #define DTYP_PID                (92)
  137. #define DTYP_PIX                (156)
  138. #define DTYP_POINTERINFO        (105)
  139. #define DTYP_POINTL             (77)
  140. #define DTYP_PROGCATEGORY       (129)
  141. #define DTYP_PROGRAMENTRY       (128)
  142. #define DTYP_PROGTYPE           (130)
  143. #define DTYP_PROPERTY2          (88)
  144. #define DTYP_PROPERTY4          (89)
  145. #define DTYP_QMSG               (87)
  146. #define DTYP_RECTL              (121)
  147. #define DTYP_RESID              (125)
  148. #define DTYP_RGB                (111)
  149. #define DTYP_RGNRECT            (115)
  150. #define DTYP_SBCDATA            (159)
  151. #define DTYP_SEGOFF             (126)
  152. #define DTYP_SHORT              (23)
  153. #define DTYP_SIZEF              (101)
  154. #define DTYP_SIZEL              (102)
  155. #define DTYP_STRL               (17)
  156. #define DTYP_STR16              (40)
  157. #define DTYP_STR32              (37)
  158. #define DTYP_STR64              (47)
  159. #define DTYP_STR8               (33)
  160. #define DTYP_SWBLOCK            (63)
  161. #define DTYP_SWCNTRL            (64)
  162. #define DTYP_SWENTRY            (65)
  163. #define DTYP_SWP                (31)
  164. #define DTYP_TID                (104)
  165. #define DTYP_TIME               (107)
  166. #define DTYP_TRACKINFO          (73)
  167. #define DTYP_UCHAR              (22)
  168. #define DTYP_ULONG              (26)
  169. #define DTYP_USERBUTTON         (36)
  170. #define DTYP_USHORT             (24)
  171. #define DTYP_WIDTH4             (108)
  172. #define DTYP_WNDPARAMS          (83)
  173. #define DTYP_WNDPROC            (84)
  174. #define DTYP_WPOINT             (59)
  175. #define DTYP_WRECT              (55)
  176. #define DTYP_XYWINSIZE          (52)
  177.  
  178.  
  179. /**********************************************************************/
  180. /* Pointer datatypes                                                  */
  181. /**********************************************************************/
  182. #define DTYP_PACCEL             (-28)
  183. #define DTYP_PACCELTABLE        (-29)
  184. #define DTYP_PARCPARAMS         (-38)
  185. #define DTYP_PAREABUNDLE        (-139)
  186. #define DTYP_PATOM              (-90)
  187. #define DTYP_PBITMAPINFO        (-60)
  188. #define DTYP_PBITMAPINFOHEADER  (-61)
  189. #define DTYP_PBITMAPINFO2       (-170)
  190. #define DTYP_PBITMAPINFOHEADER2 (-171)
  191. #define DTYP_PBIT16             (-20)
  192. #define DTYP_PBIT32             (-21)
  193. #define DTYP_PBIT8              (-19)
  194. #define DTYP_PBOOL              (-18)
  195. #define DTYP_PBTNCDATA          (-35)
  196. #define DTYP_PBYTE              (-13)
  197. #define DTYP_PCATCHBUF          (-141)
  198. #define DTYP_PCHAR              (-15)
  199. #define DTYP_PCHARBUNDLE        (-135)
  200. #define DTYP_PCLASSINFO         (-95)
  201. #define DTYP_PCOUNT2            (-93)
  202. #define DTYP_PCOUNT2B           (-70)
  203. #define DTYP_PCOUNT2CH          (-82)
  204. #define DTYP_PCOUNT4            (-152)
  205. #define DTYP_PCOUNT4B           (-42)
  206. #define DTYP_PCPID              (-57)
  207. #define DTYP_PCREATESTRUCT      (-98)
  208. #define DTYP_PCURSORINFO        (-34)
  209. #define DTYP_PDEVOPENSTRUC      (-124)
  210. #define DTYP_PDLGTEMPLATE       (-96)
  211. #define DTYP_PDLGTITEM          (-97)
  212. #define DTYP_PENTRYFDATA        (-127)
  213. #define DTYP_PERRORID           (-45)
  214. #define DTYP_PFATTRS            (-75)
  215. #define DTYP_PFFDESCS           (-142)
  216. #define DTYP_PFIXED             (-99)
  217. #define DTYP_PFONTMETRICS       (-74)
  218. #define DTYP_PFRAMECDATA        (-144)
  219. #define DTYP_PGRADIENTL         (-48)
  220. #define DTYP_PHAB               (-10)
  221. #define DTYP_PHACCEL            (-30)
  222. #define DTYP_PHAPP              (-146)
  223. #define DTYP_PHATOMTBL          (-91)
  224. #define DTYP_PHBITMAP           (-62)
  225. #define DTYP_PHCINFO            (-46)
  226. #define DTYP_PHDC               (-132)
  227. #define DTYP_PHENUM             (-117)
  228. #define DTYP_PHHEAP             (-109)
  229. #define DTYP_PHINI              (-53)
  230. #define DTYP_PHLIB              (-147)
  231. #define DTYP_PHMF               (-85)
  232. #define DTYP_PHMQ               (-86)
  233. #define DTYP_PHPOINTER          (-106)
  234. #define DTYP_PHPROGRAM          (-131)
  235. #define DTYP_PHPS               (-12)
  236. #define DTYP_PHRGN              (-116)
  237. #define DTYP_PHSEM              (-140)
  238. #define DTYP_PHSPL              (-32)
  239. #define DTYP_PHSWITCH           (-66)
  240. #define DTYP_PHVPS              (-58)
  241. #define DTYP_PHWND              (-11)
  242. #define DTYP_PIDENTITY          (-133)
  243. #define DTYP_PIDENTITY4         (-169)
  244. #define DTYP_PIMAGEBUNDLE       (-136)
  245. #define DTYP_PINDEX2            (-81)
  246. #define DTYP_PIPT               (-155)
  247. #define DTYP_PKERNINGPAIRS      (-118)
  248. #define DTYP_PLENGTH2           (-68)
  249. #define DTYP_PLENGTH4           (-69)
  250. #define DTYP_PLINEBUNDLE        (-137)
  251. #define DTYP_PLONG              (-25)
  252. #define DTYP_PMARKERBUNDLE      (-138)
  253. #define DTYP_PMATRIXLF          (-113)
  254. #define DTYP_PMLECTLDATA        (-161)
  255. #define DTYP_PMLEMARGSTRUCT     (-157)
  256. #define DTYP_PMLEOVERFLOW       (-158)
  257. #define DTYP_POFFSET2B          (-112)
  258. #define DTYP_POWNERITEM         (-154)
  259. #define DTYP_PPID               (-92)
  260. #define DTYP_PPIX               (-156)
  261. #define DTYP_PPOINTERINFO       (-105)
  262. #define DTYP_PPOINTL            (-77)
  263. #define DTYP_PPROGCATEGORY      (-129)
  264. #define DTYP_PPROGRAMENTRY      (-128)
  265. #define DTYP_PPROGTYPE          (-130)
  266. #define DTYP_PPROPERTY2         (-88)
  267. #define DTYP_PPROPERTY4         (-89)
  268. #define DTYP_PQMSG              (-87)
  269. #define DTYP_PRECTL             (-121)
  270. #define DTYP_PRESID             (-125)
  271. #define DTYP_PRGB               (-111)
  272. #define DTYP_PRGNRECT           (-115)
  273. #define DTYP_PSBCDATA           (-159)
  274. #define DTYP_PSEGOFF            (-126)
  275. #define DTYP_PSHORT             (-23)
  276. #define DTYP_PSIZEF             (-101)
  277. #define DTYP_PSIZEL             (-102)
  278. #define DTYP_PSTRL              (-17)
  279. #define DTYP_PSTR16             (-40)
  280. #define DTYP_PSTR32             (-37)
  281. #define DTYP_PSTR64             (-47)
  282. #define DTYP_PSTR8              (-33)
  283. #define DTYP_PSWBLOCK           (-63)
  284. #define DTYP_PSWCNTRL           (-64)
  285. #define DTYP_PSWENTRY           (-65)
  286. #define DTYP_PSWP               (-31)
  287. #define DTYP_PTID               (-104)
  288. #define DTYP_PTIME              (-107)
  289. #define DTYP_PTRACKINFO         (-73)
  290. #define DTYP_PUCHAR             (-22)
  291. #define DTYP_PULONG             (-26)
  292. #define DTYP_PUSERBUTTON        (-36)
  293. #define DTYP_PUSHORT            (-24)
  294. #define DTYP_PWIDTH4            (-108)
  295. #define DTYP_PWNDPARAMS         (-83)
  296. #define DTYP_PWNDPROC           (-84)
  297. #define DTYP_PWPOINT            (-59)
  298. #define DTYP_PWRECT             (-55)
  299. #define DTYP_PXYWINSIZE         (-52)
  300.  
  301. /* XLATOFF */
  302. #ifdef __IBMC__
  303.    #pragma checkout( suspend )
  304.       #ifndef __CHKHDR__
  305.          #pragma checkout( resume )
  306.       #endif
  307.    #pragma checkout( resume )
  308. #endif
  309. /* XLATON */
  310.  
  311. /**************************** end of file **********************************/
  312.