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.

31 lines
953 B

  1. /*++
  2. Copyright (c) 1997-2001 Microsoft Corp. & Ricoh Co., Ltd. All rights reserved.
  3. FILE: OEM.H
  4. Abstract: Header file for OEM UI/rendering plugin.
  5. Environment: Windows NT Unidrv5 driver
  6. Revision History:
  7. 03/02/2000 -Masatoshi Kubokura-
  8. Created it.
  9. 09/22/2000 -Masatoshi Kubokura-
  10. Last modified for Whistler.
  11. --*/
  12. ////////////////////////////////////////////////////////
  13. // OEM Defines
  14. ////////////////////////////////////////////////////////
  15. #define OEM_VERSION 0x00010000L
  16. #define WRITESPOOLBUF(p, s, n) ((p)->pDrvProcs->DrvWriteSpoolBuf(p, s, n))
  17. #define MINIDEV_DATA(p) ((POEMPDEV)((p)->pdevOEM)) // device data during job
  18. #define MINIPRIVATE_DM(p) ((POEMUD_EXTRADATA)((p)->pOEMDM)) // private devmode
  19. #define OEM_SIGNATURE 'RIAF' // RICOH Aficio printers
  20. #define DLLTEXT(s) "UI: " s
  21. #define ERRORTEXT(s) "ERROR " DLLTEXT(s)