home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code2 / p_print / devcap.txt next >
Text File  |  1993-04-28  |  3KB  |  115 lines

  1. //      DRIVERVERSION 0
  2. //      TECHNOLOGY    2 *
  3. //      HORZSIZE      4
  4. //      VERTSIZE      6
  5. //      HORZRES       8
  6. //      VERTRES       10
  7. //      BITSPIXEL     12
  8. //      PLANES        14
  9. //      NUMBRUSHES    16
  10. //      NUMPENS       18
  11. //      NUMMARKERS    20
  12. //      NUMFONTS      22
  13. //      NUMCOLORS     24
  14. //      PDEVICESIZE   26
  15. //      CURVECAPS     28 *
  16. //      LINECAPS      30 *
  17. //      POLYGONALCAPS 32 *
  18. //      TEXTCAPS      34 *
  19. //      CLIPCAPS      36 *
  20. //      RASTERCAPS    38 *
  21. //      ASPECTX       40
  22. //      ASPECTY       42
  23. //      ASPECTXY      44__
  24. //      LOGPIXELSX    88
  25. //      LOGPIXELSY    90__
  26. //      SIZEPALETTE  104
  27. //      NUMRESERVED  106
  28. //      COLORRES     108
  29.  
  30. /* GetDeviceCaps() return value masks */
  31.  
  32. /* TECHNOLOGY */
  33. #define DT_PLOTTER          0
  34. #define DT_RASDISPLAY       1
  35. #define DT_RASPRINTER       2
  36. #define DT_RASCAMERA        3
  37. #define DT_CHARSTREAM       4
  38. #define DT_METAFILE         5
  39. #define DT_DISPFILE         6
  40.  
  41. /* CURVECAPS */
  42. #define CC_NONE             0x0000
  43. #define CC_CIRCLES          0x0001
  44. #define CC_PIE              0x0002
  45. #define CC_CHORD            0x0004
  46. #define CC_ELLIPSES         0x0008
  47. #define CC_WIDE             0x0010
  48. #define CC_STYLED           0x0020
  49. #define CC_WIDESTYLED       0x0040
  50. #define CC_INTERIORS        0x0080
  51. #define CC_ROUNDRECT        0x0100
  52.  
  53. /* LINECAPS */
  54. #define LC_NONE             0x0000
  55. #define LC_POLYLINE         0x0002
  56. #define LC_MARKER           0x0004
  57. #define LC_POLYMARKER       0x0008
  58. #define LC_WIDE             0x0010
  59. #define LC_STYLED           0x0020
  60. #define LC_WIDESTYLED       0x0040
  61. #define LC_INTERIORS        0x0080
  62.  
  63. /* POLYGONALCAPS */
  64. #define PC_NONE             0x0000
  65. #define PC_POLYGON          0x0001
  66. #define PC_RECTANGLE        0x0002
  67. #define PC_WINDPOLYGON      0x0004
  68. #define PC_SCANLINE         0x0008
  69. #define PC_WIDE             0x0010
  70. #define PC_STYLED           0x0020
  71. #define PC_WIDESTYLED       0x0040
  72. #define PC_INTERIORS        0x0080
  73.  
  74. /* TEXTCAPS */
  75. #define TC_OP_CHARACTER     0x0001
  76. #define TC_OP_STROKE        0x0002
  77. #define TC_CP_STROKE        0x0004
  78. #define TC_CR_90            0x0008
  79. #define TC_CR_ANY           0x0010
  80. #define TC_SF_X_YINDEP      0x0020
  81. #define TC_SA_DOUBLE        0x0040
  82. #define TC_SA_INTEGER       0x0080
  83. #define TC_SA_CONTIN        0x0100
  84. #define TC_EA_DOUBLE        0x0200
  85. #define TC_IA_ABLE          0x0400
  86. #define TC_UA_ABLE          0x0800
  87. #define TC_SO_ABLE          0x1000
  88. #define TC_RA_ABLE          0x2000
  89. #define TC_VA_ABLE          0x4000
  90. #define TC_RESERVED         0x8000
  91.  
  92. /* CLIPCAPS */
  93. #define CP_NONE             0x0000
  94. #define CP_RECTANGLE        0x0001
  95. #define CP_REGION           0x0002
  96.  
  97. /* RASTERCAPS */
  98. #define RC_NONE
  99. #define RC_BITBLT           0x0001
  100. #define RC_BANDING          0x0002
  101. #define RC_SCALING          0x0004
  102. #define RC_BITMAP64         0x0008
  103. #define RC_GDI20_OUTPUT     0x0010
  104. #define RC_GDI20_STATE      0x0020
  105. #define RC_SAVEBITMAP       0x0040
  106. #define RC_DI_BITMAP        0x0080
  107. #define RC_PALETTE          0x0100
  108. #define RC_DIBTODEV         0x0200
  109. #define RC_BIGFONT          0x0400
  110. #define RC_STRETCHBLT       0x0800
  111. #define RC_FLOODFILL        0x1000
  112. #define RC_STRETCHDIB       0x2000
  113. #define RC_OP_DX_OUTPUT     0x4000
  114. #define RC_DEVBITS          0x8000
  115.