Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.0 KiB

  1. /***************************************************************************
  2. Name : AWNSFCOR.H
  3. Comment : NSF related definitions that _must_ be kept the same.
  4. EVERYTHING in this file affects what is sent across the
  5. wire. For full compatibility with all versions of Microsoft
  6. At Work NSFs, _nothing_ in here should be changed.
  7. The NSF protocol can be extended by adding new groups
  8. and by appending fields at the end of existing groups.
  9. Interfaces, structures and constants that only affect one
  10. machine (i.e. not what is on the wire) should not be in
  11. this file
  12. Copyright (c) 1993 Microsoft Corp.
  13. Revision Log
  14. Date Name Description
  15. -------- ----- ---------------------------------------------------------
  16. 12/31/93 arulm Created this. Verified in matches Snowball.rc
  17. ***************************************************************************/
  18. #ifndef _AWNSFCOR_H
  19. #define _AWNSFCOR_H
  20. /***********************************************************************
  21. * *
  22. * NOTICE: This file has to be ANSI compilable, under GCC on UNIX *
  23. * and other ANSI compiles. Be sure to use no MS C specific features *
  24. * In particular, don't use // for comments!!!! *
  25. * *
  26. ***********************************************************************/
  27. #define AWRES_ALLT30 (AWRES_mm080_038 | AWRES_mm080_077 | AWRES_mm080_154 | AWRES_mm160_154 | AWRES_200_200 | AWRES_300_300 | AWRES_400_400)
  28. #define WIDTH_A4 0
  29. #define WIDTH_B4 1
  30. #define WIDTH_A3 2
  31. #define WIDTH_MAX WIDTH_A3
  32. #define WIDTH_A5 16 /* 1216 pixels */
  33. #define WIDTH_A6 32 /* 864 pixels */
  34. #define WIDTH_A5_1728 64 /* 1216 pixels */
  35. #define WIDTH_A6_1728 128 /* 864 pixels */
  36. #define LENGTH_A4 0
  37. #define LENGTH_B4 1
  38. #define LENGTH_UNLIMITED 2
  39. #endif /* _AWNSFCOR_H */