home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / header45.zip / pmtypes.h < prev    next >
C/C++ Source or Header  |  1999-04-30  |  11KB  |  301 lines

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