Source code of Windows XP (NT5)
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.

55 lines
4.5 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1994 - 1995
  3. All rights reserved
  4. Module Name:
  5. ntfyprn.dat
  6. Abstract:
  7. List of fields supported for printer notifications. These
  8. must match PRINTER_NOTIFY_FIELD_* in winspool.h (order included).
  9. Author:
  10. Albert Ting (AlbertT) 29-Sept-94
  11. Environment:
  12. User Mode -Win32
  13. Revision History:
  14. --*/
  15. // Name, Attributes, Router, Localspl, Offsets
  16. DEFINE( SERVER_NAME , TABLE_ATTRIB_COMPACT , TABLE_STRING , TABLE_PRINTER_SERVERNAME, signature )
  17. DEFINE( PRINTER_NAME , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_STRING , TABLE_STRING , pName )
  18. DEFINE( SHARE_NAME , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_STRING , TABLE_STRING , pShareName )
  19. DEFINE( PORT_NAME , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_STRING , TABLE_PRINTER_PORT , signature )
  20. DEFINE( DRIVER_NAME , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_STRING , TABLE_DRIVER , pIniDriver )
  21. DEFINE( COMMENT , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_STRING , TABLE_STRING , pComment )
  22. DEFINE( LOCATION , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_STRING , TABLE_STRING , pLocation )
  23. DEFINE( DEVMODE , TABLE_ATTRIB_COMPACT , TABLE_DEVMODE , TABLE_DEVMODE , pDevMode )
  24. DEFINE( SEPFILE , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_STRING , TABLE_STRING , pSepFile )
  25. DEFINE( PRINT_PROCESSOR , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_STRING , TABLE_PRINTPROC , pIniPrintProc )
  26. DEFINE( PARAMETERS , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_STRING , TABLE_STRING , pParameters )
  27. DEFINE( DATATYPE , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_STRING , TABLE_STRING , pDatatype )
  28. DEFINE( SECURITY_DESCRIPTOR, TABLE_ATTRIB_COMPACT , TABLE_SECURITYDESCRIPTOR, TABLE_SECURITYDESCRIPTOR, pSecurityDescriptor )
  29. DEFINE( ATTRIBUTES , 0 , TABLE_DWORD , TABLE_DWORD , Attributes )
  30. DEFINE( PRIORITY , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_DWORD , TABLE_DWORD , Priority )
  31. DEFINE( DEFAULT_PRIORITY , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_DWORD , TABLE_DWORD , DefaultPriority )
  32. DEFINE( START_TIME , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_DWORD , TABLE_DWORD , StartTime )
  33. DEFINE( UNTIL_TIME , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_DWORD , TABLE_DWORD , UntilTime )
  34. DEFINE( STATUS , 0 , TABLE_DWORD , TABLE_DWORD , Status )
  35. DEFINE( STATUS_STRING , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_STRING , TABLE_NULLSTRING , signature )
  36. DEFINE( CJOBS , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_DWORD , TABLE_DWORD , cJobs )
  37. DEFINE( AVERAGE_PPM , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_DWORD , TABLE_DWORD , AveragePPM )
  38. DEFINE( TOTAL_PAGES , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_DWORD , TABLE_ZERO , signature )
  39. DEFINE( PAGES_PRINTED , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_DWORD , TABLE_DWORD , cTotalPagesPrinted )
  40. DEFINE( TOTAL_BYTES , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_DWORD , TABLE_ZERO , signature )
  41. DEFINE( BYTES_PRINTED , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY , TABLE_DWORD , TABLE_DWORD , cTotalBytes )