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.

53 lines
3.6 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1994 - 1995
  3. All rights reserved
  4. Module Name:
  5. ntfyjob.h
  6. Abstract:
  7. List of fields supported for printer notifications (jobs). These
  8. must match JOB_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( PRINTER_NAME , TABLE_ATTRIB_COMPACT , TABLE_STRING , TABLE_JOB_PRINTERNAME , pIniPrinter )
  17. DEFINE( MACHINE_NAME , TABLE_ATTRIB_COMPACT , TABLE_STRING , TABLE_STRING , pMachineName )
  18. DEFINE( PORT_NAME , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_STRING , TABLE_JOB_PORT , pIniPort )
  19. DEFINE( USER_NAME , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_STRING , TABLE_STRING , pUser )
  20. DEFINE( NOTIFY_NAME , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_STRING , TABLE_STRING , pNotify )
  21. DEFINE( DATATYPE , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_STRING , TABLE_STRING , pDatatype )
  22. DEFINE( PRINT_PROCESSOR , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_STRING , TABLE_PRINTPROC , pIniPrintProc )
  23. DEFINE( PARAMETERS , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_STRING , TABLE_STRING , pParameters )
  24. DEFINE( DRIVER_NAME , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_STRING , TABLE_DRIVER , pIniDriver )
  25. DEFINE( DEVMODE , TABLE_ATTRIB_COMPACT , TABLE_DEVMODE , TABLE_DEVMODE , pDevMode )
  26. DEFINE( STATUS , 0 , TABLE_DWORD , TABLE_JOB_STATUS , Status )
  27. DEFINE( STATUS_STRING , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_STRING , TABLE_STRING , pStatus )
  28. DEFINE( SECURITY_DESCRIPTOR, TABLE_ATTRIB_COMPACT , TABLE_SECURITYDESCRIPTOR, TABLE_SECURITYDESCRIPTOR, pSecurityDescriptor )
  29. DEFINE( DOCUMENT , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_STRING , TABLE_STRING , pDocument )
  30. DEFINE( PRIORITY , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_DWORD , TABLE_DWORD , Priority )
  31. DEFINE( POSITION , 0 , TABLE_DWORD , TABLE_JOB_POSITION , signature )
  32. DEFINE( SUBMITTED , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_TIME , TABLE_TIME , Submitted )
  33. DEFINE( START_TIME , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_DWORD , TABLE_DWORD , StartTime )
  34. DEFINE( UNTIL_TIME , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_DWORD , TABLE_DWORD , UntilTime )
  35. DEFINE( TIME , TABLE_ATTRIB_COMPACT , TABLE_DWORD , TABLE_DWORD , Time )
  36. DEFINE( TOTAL_PAGES , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_DWORD , TABLE_DWORD , cPages )
  37. DEFINE( PAGES_PRINTED , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_DWORD , TABLE_DWORD , cPagesPrinted )
  38. DEFINE( TOTAL_BYTES , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_DWORD , TABLE_DWORD , Size )
  39. DEFINE( BYTES_PRINTED , TABLE_ATTRIB_COMPACT|TABLE_ATTRIB_DISPLAY, TABLE_DWORD , TABLE_DWORD , cbPrinted )