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.

125 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1993 Microsoft Corporation
  3. Module Name:
  4. dosspool.h
  5. Abstract:
  6. Prototypes and manifests to support dosspool.C.
  7. Author:
  8. congpay 22-Jan-1993
  9. Environment:
  10. Notes:
  11. Revision History:
  12. 22-Jan-1993 congpay Created
  13. --*/
  14. #include <winspool.h>
  15. typedef
  16. BOOL
  17. (*PF_ClosePrinter)(
  18. HANDLE hPrinter
  19. );
  20. typedef
  21. BOOL
  22. (*PF_EnumJobsA)(
  23. HANDLE hPrinter,
  24. DWORD FirstJob,
  25. DWORD NoJobs,
  26. DWORD Level,
  27. LPBYTE pJob,
  28. DWORD cbBuf,
  29. LPDWORD pcbNeeded,
  30. LPDWORD pcReturned
  31. );
  32. typedef
  33. BOOL
  34. (*PF_EnumPrintersA)(
  35. DWORD Flags,
  36. LPSTR Name,
  37. DWORD Level,
  38. LPBYTE pPrinterEnum,
  39. DWORD cbBuf,
  40. LPDWORD pcbNeeded,
  41. LPDWORD pcReturned
  42. );
  43. typedef
  44. BOOL
  45. (*PF_GetJobA)(
  46. HANDLE hPrinter,
  47. DWORD JobId,
  48. DWORD Level,
  49. LPBYTE pJob,
  50. DWORD cbBuf,
  51. LPDWORD pcbNeeded
  52. );
  53. typedef
  54. BOOL
  55. (*PF_GetPrinterA)(
  56. HANDLE hPrinter,
  57. DWORD Level,
  58. LPBYTE pPrinter,
  59. DWORD cbBuf,
  60. LPDWORD pcbNeeded
  61. );
  62. typedef
  63. BOOL
  64. (*PF_OpenPrinterA)(
  65. LPSTR pPrinterName,
  66. LPHANDLE phPrinter,
  67. LPPRINTER_DEFAULTSA pDefault
  68. );
  69. typedef
  70. BOOL
  71. (*PF_OpenPrinterW)(
  72. LPWSTR pPrinterName,
  73. LPHANDLE phPrinter,
  74. LPPRINTER_DEFAULTSW pDefault
  75. );
  76. typedef
  77. BOOL
  78. (*PF_SetJobA)(
  79. HANDLE hPrinter,
  80. DWORD JobId,
  81. DWORD Level,
  82. LPBYTE pJob,
  83. DWORD Command
  84. );
  85. typedef
  86. BOOL
  87. (*PF_SetPrinterW)(
  88. HANDLE hPrinter,
  89. DWORD Level,
  90. LPBYTE pPrinter,
  91. DWORD Command
  92. );
  93. typedef
  94. BOOL
  95. (*PF_GetPrinterDriverA)(
  96. HANDLE hPrinter,
  97. LPSTR pEnvironment,
  98. DWORD Level,
  99. LPBYTE pDriver,
  100. DWORD cbBuf,
  101. LPDWORD pcbNeeded
  102. );