home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / apix / apitype.txt < prev    next >
Text File  |  1992-04-27  |  6KB  |  294 lines

  1. DefInt A-Z
  2. Type RECT
  3. left As Integer
  4. top As Integer
  5. right As Integer
  6. bottom As Integer
  7. End Type
  8. Type POINTAPI
  9. x As Integer
  10. y As Integer
  11. End Type
  12. Type MSG
  13. hwnd As Integer
  14. message As Integer
  15. wParam As Integer
  16. lParam As Long
  17. time As Long
  18. pt As POINTAPI
  19. End Type
  20. Type PARAMETERBLOCK
  21. wEnvSeg As Integer
  22. lpCmdLine As Long
  23. lpCmdShow As Long
  24. dwReserved As Long
  25. End Type
  26. Type OFSTRUCT
  27. cBytes As String * 1
  28. fFixedDisk As String * 1
  29. nErrCode As Integer
  30. reserved As String * 4
  31. szPathName As String * 128
  32. End Type
  33. Type BITMAP 
  34. bmType As Integer
  35. bmWidth As Integer
  36. bmHeight As Integer
  37. bmWidthBytes As Integer
  38. bmPlanes As String * 1
  39. bmBitsPixel As String * 1
  40. bmBits As Long
  41. End Type
  42. Type RGBTRIPLE
  43. rgbtBlue As String * 1
  44. rgbtGreen As String * 1
  45. rgbtRed As String * 1
  46. End Type
  47. Type RGBQUAD
  48. rgbBlue as String * 1
  49. rgbGreen As String * 1
  50. rgbRed As String * 1
  51. rgbReserved As String * 1
  52. End Type
  53. Type BITMAPCOREHEADER
  54. bcSize as Long
  55. bcWidth As Integer
  56. bcHeight As Integer
  57. bcPlanes As Integer
  58. bcBitCount As Integer
  59. End Type
  60. Type BITMAPINFOHEADER
  61. biSize As Long
  62. biWidth As Long
  63. biHeight As Long
  64. biPlanes As Integer
  65. biBitCount As Integer
  66. biCompression As Long
  67. biSizeImage As Long
  68. biXPelsPerMeter As Long
  69. biYPelsPerMeter As Long
  70. biClrUsed As Long
  71. biClrImportant As Long
  72. End Type
  73. Type BITMAPINFO
  74. bmiHeader as BITMAPINFOHEADER
  75. bmiColors As String * 128
  76. End Type
  77. Type BITMAPCOREINFO
  78. bmciHeader As BITMAPCOREHEADER
  79. bmciColors As String * 96 
  80. End Type
  81. Type BITMAPFILEHEADER
  82. bfType As Integer
  83. bfSize As Long
  84. bfReserved1 As Integer
  85. bfReserved2 As Integer
  86. bfOffBits As Long
  87. End Type
  88. Type HANDLETABLE
  89. objectHandle As String * 512
  90. End Type
  91. Type METARECORD
  92. rdSize As Long
  93. rdFunction As Integer
  94. rdParm As String * 512 
  95. End Type
  96. Type METAFILEPICT
  97. mm As Integer
  98. xExt As Integer
  99. yExt As Integer
  100. hMF As Integer
  101. End Type
  102. Type METAHEADER
  103. mtType As Integer
  104. mtHeaderSize As Integer
  105. mtVersion As Integer
  106. mtSize As Long
  107. mtNoObjects As Integer
  108. mtMaxRecord As Long
  109. mtNoParameters As Integer
  110. End Type
  111. Type TEXTMETRIC
  112. tmHeight As Integer
  113. tmAscent As Integer
  114. tmDescent As Integer
  115. tmInternalLeading As Integer
  116. tmExternalLeading As Integer
  117. tmAveCharWidth As Integer
  118. tmMaxCharWidth As Integer
  119. tmWeight As Integer
  120. tmItalic As String * 1
  121. tmUnderlined As String * 1
  122. tmStruckOut As String * 1
  123. tmFirstChar As String * 1
  124. tmLastChar As String * 1
  125. tmDefaultChar As String * 1
  126. tmBreakChar As String * 1
  127. tmPitchAndFamily As String * 1
  128. tmCharSet As String * 1
  129. tmOverhang As Integer
  130. tmDigitizedAspectX As Integer
  131. tmDigitizedAspectY As Integer
  132. End Type
  133. Type PELARRAY
  134. paXCount As Integer
  135. paYCount As Integer
  136. paXExt As Integer
  137. paYExt As Integer
  138. paRGBs As Integer
  139. End Type
  140. Type LOGBRUSH
  141. lbStyle As Integer
  142. lbColor As Long
  143. lbHatch As Integer
  144. End Type
  145. Type LOGPEN
  146. lopnStyle As Integer
  147. lopnWidth As POINTAPI
  148. lopnColor As Long
  149. End Type
  150. Type PALETTEENTRY
  151. peRed As String * 1
  152. peGreen As String * 1
  153. peBlue As String * 1
  154. peFlags As String * 1
  155. End Type
  156. Type LOGPALETTE
  157. palVersion As Integer
  158. palNumEntries As Integer
  159. palPalEntry As String * 252
  160. End Type
  161. Type LOGFONT
  162. lfHeight As Integer
  163. lfWidth As Integer
  164. lfEscapement As Integer
  165. lfOrientation As Integer
  166. lfWeight As Integer
  167. lfItalic As String * 1
  168. lfUnderline As String * 1
  169. lfStrikeOut As String * 1
  170. lfCharSet As String * 1
  171. lfOutPrecision As String * 1
  172. lfClipPrecision As String * 1
  173. lfQuality As String * 1
  174. lfPitchAndFamily As String * 1
  175. lfFaceName As String * LF_FACESIZE
  176. End Type
  177. Type EVENTMSG
  178. message As Integer
  179. paramL As Integer
  180. paramH As Integer
  181. time As Long
  182. End Type
  183. Type PAINTSTRUCT
  184. hdc As Integer
  185. fErase As Integer
  186. rcPaint As RECT
  187. fRestore As Integer
  188. fIncUpdate As Integer
  189. rgbReserved As String * 16
  190. End Type
  191. Type CREATESTRUCT
  192. lpCreateParams As Long
  193. hInstance As Integer
  194. hMenu As Integer
  195. hwndParent As Integer
  196. cy As Integer
  197. cx As Integer
  198. y As Integer
  199. x As Integer
  200. style As Long
  201. lpszName As Long
  202. lpszClass As Long
  203. ExStyle As Long
  204. End Type
  205. Type MEASUREITEMSTRUCT
  206. CtlType As Integer
  207. CtlID As Integer
  208. itemID As Integer
  209. itemWidth As Integer
  210. itemHeight As Integer
  211. itemData As Long
  212. End Type
  213. Type DRAWITEMSTRUCT
  214. CtlType As Integer
  215. CtlID As Integer
  216. itemID As Integer
  217. itemAction As Integer
  218. itemState As Integer
  219. hwndItem As Integer
  220. hDC As Integer
  221. rcItem As RECT
  222. itemData As Long
  223. End Type
  224. Type DELETEITEMSTRUCT
  225. CtlType As Integer
  226. CtlID As Integer
  227. itemID As Integer
  228. hwndItem As Integer
  229. itemData As Long
  230. End Type
  231. Type COMPAREITEMSTRUCT
  232. CtlType As Integer
  233. CtlID As Integer
  234. hwndItem As Integer
  235. itemID1 As Integer
  236. itemData1 As Long
  237. itemID2 As Integer
  238. itemData2 As Long
  239. End Type
  240. Type MENUITEMTEMPLATEHEADER
  241. versionNumber As Integer
  242. offset As Integer
  243. End Type
  244. Type MENUITEMTEMPLATE
  245. mtOption As Integer
  246. mtID As Integer
  247. mtString As Long
  248. End Type
  249. Type DCB
  250. Id As String * 1
  251. BaudRate As Integer
  252. ByteSize As String * 1
  253. Parity As String * 1
  254. StopBits As String * 1
  255. RlsTimeout As Integer
  256. CtsTimeout As Integer
  257. DsrTimeout As Integer
  258. Bits1 As String * 1 
  259. Bits2 As String * 1 
  260. XonChar As String * 1
  261. XoffChar As String * 1
  262. XonLim As Integer
  263. XoffLim As Integer
  264. PeChar As String * 1
  265. EofChar As String * 1
  266. EvtChar As String * 1
  267. TxDelay As Integer
  268. End Type
  269. Type COMSTAT
  270. Bits As String * 1 
  271. cbInQue As Integer
  272. cbOutQue As Integer
  273. End Type
  274. Type MDICREATESTRUCT
  275. szClass As Long
  276. szTitle As Long
  277. hOwner As Integer
  278. x As Integer
  279. y As Integer
  280. cx As Integer
  281. cy As Integer
  282. style As Long
  283. lParam As Long
  284. End Type
  285. Type CLIENTCREATESTRUCT
  286. hWindowMenu As Integer
  287. idFirstChild As Integer
  288. End Type
  289. Type MULTIKEYHELP
  290. mkSize As Integer
  291. mkKeylist As String * 1
  292. szKeyphrase As String * 253 
  293. End Type
  294.