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.

131 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1993 Microsoft Corporation
  3. Module Name:
  4. myspool.h
  5. Abstract:
  6. Prototypes and manifests for the functions used in dosprint.c, dosprtw.c
  7. and dosprtp.c.
  8. Author:
  9. congpay 25-Jan-1993
  10. Environment:
  11. Notes:
  12. Revision History:
  13. 25-Jan-1993 congpay Created
  14. --*/
  15. #define WIN95_ENVIRONMENT "Windows 4.0"
  16. BOOL
  17. MyClosePrinter(
  18. HANDLE hPrinter
  19. );
  20. BOOL
  21. MyEnumJobs(
  22. HANDLE hPrinter,
  23. DWORD FirstJob,
  24. DWORD NoJobs,
  25. DWORD Level,
  26. LPBYTE pJob,
  27. DWORD cbBuf,
  28. LPDWORD pcbNeeded,
  29. LPDWORD pcReturned
  30. );
  31. BOOL
  32. MyEnumPrinters(
  33. DWORD Flags,
  34. LPSTR Name,
  35. DWORD Level,
  36. LPBYTE pPrinterEnum,
  37. DWORD cbBuf,
  38. LPDWORD pcbNeeded,
  39. LPDWORD pcReturned
  40. );
  41. BOOL
  42. MyGetJobA(
  43. HANDLE hPrinter,
  44. DWORD JobId,
  45. DWORD Level,
  46. LPBYTE pJob,
  47. DWORD cbBuf,
  48. LPDWORD pcbNeeded
  49. );
  50. BOOL
  51. MyGetPrinter(
  52. HANDLE hPrinter,
  53. DWORD Level,
  54. LPBYTE pPrinter,
  55. DWORD cbBuf,
  56. LPDWORD pcbNeeded
  57. );
  58. BOOL
  59. MyOpenPrinterA(
  60. LPSTR pPrinterName,
  61. LPHANDLE phPrinter,
  62. LPPRINTER_DEFAULTSA pDefault
  63. );
  64. BOOL
  65. MyOpenPrinterW(
  66. LPWSTR pPrinterName,
  67. LPHANDLE phPrinter,
  68. LPPRINTER_DEFAULTSW pDefault
  69. );
  70. BOOL
  71. MySetJobA(
  72. HANDLE hPrinter,
  73. DWORD JobId,
  74. DWORD Level,
  75. LPBYTE pJob,
  76. DWORD Command
  77. );
  78. BOOL
  79. MySetPrinterW(
  80. HANDLE hPrinter,
  81. DWORD Level,
  82. LPBYTE pPrinter,
  83. DWORD Command
  84. );
  85. BOOL
  86. MyGetPrinterDriver(
  87. HANDLE hPrinter,
  88. LPSTR pEnvironment,
  89. DWORD Level,
  90. LPBYTE pDriver,
  91. DWORD cbBuf,
  92. LPDWORD pcbNeeded
  93. );
  94. LPSTR
  95. GetFileNameA(
  96. LPSTR pPathName
  97. );
  98. LPSTR
  99. GetDependentFileNameA(
  100. LPSTR pPathName
  101. );