home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / win_lrn / i_o / getenv.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-08-11  |  639 b   |  28 lines

  1. #define NAME_LEN   32
  2. #define PORTRAIT   10
  3. #define LANDSCAPE  11
  4. #define CONTFEED   12
  5. #define CUTSHEET   13
  6. #define LETTER     20
  7. #define DINA4      21
  8. #define FANFOLD    22
  9. #define ALLCTG     0xf0f
  10. #define NOCTG      0x01
  11. #define ACTG       0x02
  12. #define BCTG       0x04
  13. #define FCTG       0x08
  14. #define DEFAULT_CTG BCTG
  15. #define NCARTRIDGE 3
  16. #define MAXCARTRIDGE 8      /* we have 8 bits reserved for 8 cartridges */
  17. #define CARTRIDGE  0x100
  18.  
  19.  
  20. typedef struct
  21. {
  22.     char  DeviceName[NAME_LEN];
  23.     short orient;       /* orientation - portrait or landscape */
  24.     short cartridge;
  25.     short paper;
  26. }   DEVMODE;
  27.  
  28.