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.

87 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1996 - 1999 Microsoft Corporation
  3. Module Name:
  4. winsplkm.h
  5. Abstract:
  6. Duplicate definitions for some of the stuff in winspool.h.
  7. They are duplicated here because kernel mode components cannot include winspool.h
  8. Environment:
  9. Windows NT printer driver
  10. Revision History:
  11. 01/22/97 -davidx-
  12. Created it.
  13. --*/
  14. #ifndef _WINSPLKM_H_
  15. #define _WINSPLKM_H_
  16. typedef struct _FORM_INFO_1 {
  17. DWORD Flags;
  18. PWSTR pName;
  19. SIZEL Size;
  20. RECTL ImageableArea;
  21. } FORM_INFO_1, *PFORM_INFO_1;
  22. #define FORM_USER 0x0000
  23. #define FORM_BUILTIN 0x0001
  24. #define FORM_PRINTER 0x0002
  25. typedef struct _DRIVER_INFO_2 {
  26. DWORD cVersion;
  27. PWSTR pName;
  28. PWSTR pEnvironment;
  29. PWSTR pDriverPath;
  30. PWSTR pDataFile;
  31. PWSTR pConfigFile;
  32. } DRIVER_INFO_2, *PDRIVER_INFO_2;
  33. typedef struct _DRIVER_INFO_3 {
  34. DWORD cVersion;
  35. PWSTR pName;
  36. PWSTR pEnvironment;
  37. PWSTR pDriverPath;
  38. PWSTR pDataFile;
  39. PWSTR pConfigFile;
  40. PWSTR pHelpFile;
  41. PWSTR pDependentFiles;
  42. PWSTR pMonitorName;
  43. PWSTR pDefaultDataType;
  44. } DRIVER_INFO_3, *PDRIVER_INFO_3;
  45. typedef struct _PRINTER_INFO_2 {
  46. PWSTR pServerName;
  47. PWSTR pPrinterName;
  48. PWSTR pShareName;
  49. PWSTR pPortName;
  50. PWSTR pDriverName;
  51. PWSTR pComment;
  52. PWSTR pLocation;
  53. PDEVMODE pDevMode;
  54. PWSTR pSepFile;
  55. PWSTR pPrintProcessor;
  56. PWSTR pDatatype;
  57. PWSTR pParameters;
  58. PVOID pSecurityDescriptor;
  59. DWORD Attributes;
  60. DWORD Priority;
  61. DWORD DefaultPriority;
  62. DWORD StartTime;
  63. DWORD UntilTime;
  64. DWORD Status;
  65. DWORD cJobs;
  66. DWORD AveragePPM;
  67. } PRINTER_INFO_2, *PPRINTER_INFO_2;
  68. #endif // !_WINSPLKM_H_