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.

48 lines
1.6 KiB

  1. /**************************************************************************
  2. *
  3. * (C) COPYRIGHT MICROSOFT CORP., 2000
  4. *
  5. * TITLE: WIAProp.h
  6. *
  7. * VERSION: 1.0
  8. *
  9. * DATE: 18 July, 2000
  10. *
  11. * DESCRIPTION:
  12. * Default property declarations and definitions for the
  13. * Sample WIA Scanner device.
  14. *
  15. ***************************************************************************/
  16. #ifndef _WIAPROP_H
  17. #define _WIAPROP_H
  18. #define SCANNER_FIRMWARE_VERSION L"1.0"
  19. #define OPTICAL_XRESOLUTION 300
  20. #define OPTICAL_YRESOLUTION 300
  21. #define HORIZONTAL_BED_SIZE 8500 // in one thousandth's of an inch
  22. #define VERTICAL_BED_SIZE 11000 // in one thousandth's of an inch
  23. #define HORIZONTAL_ADF_BED_SIZE 8500 // in one thousandth's of an inch
  24. #define VERTICAL_ADF_BED_SIZE 11000 // in one thousandth's of an inch
  25. #define HORIZONTAL_TPA_BED_SIZE 8500 // in one thousandth's of an inch
  26. #define VERTICAL_TPA_BED_SIZE 11000 // in one thousandth's of an inch
  27. #define MIN_BUFFER_SIZE 65535
  28. #define INITIAL_PHOTOMETRIC_INTERP WIA_PHOTO_WHITE_1
  29. #define INITIAL_COMPRESSION WIA_COMPRESSION_NONE
  30. #define INITIAL_XRESOLUTION 150
  31. #define INITIAL_YRESOLUTION 150
  32. #define INITIAL_DATATYPE WIA_DATA_GRAYSCALE
  33. #define INITIAL_BITDEPTH 8
  34. #define INITIAL_BRIGHTNESS 0
  35. #define INITIAL_CONTRAST 0
  36. #define INITIAL_CHANNELS_PER_PIXEL 1
  37. #define INITIAL_BITS_PER_CHANNEL 8
  38. #define INITIAL_PLANAR WIA_PACKED_PIXEL
  39. #define INITIAL_FORMAT (GUID*) &WiaImgFmt_MEMORYBMP
  40. #define INITIAL_TYMED TYMED_CALLBACK
  41. #endif