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
1.0 KiB

  1. /*****************************************************************************\
  2. * MODULE: ppjobs.h
  3. *
  4. * Header file for print-job routines.
  5. *
  6. *
  7. * Copyright (C) 1996-1997 Microsoft Corporation
  8. * Copyright (C) 1996-1997 Hewlett Packard
  9. *
  10. * History:
  11. * 07-Oct-1996 HWP-Guys Initiated port from win95 to winNT
  12. *
  13. \*****************************************************************************/
  14. #ifndef _PPJOBS_H
  15. #define _PPJOBS_H
  16. BOOL PPEnumJobs(
  17. HANDLE hPrinter,
  18. DWORD nJobStart,
  19. DWORD cJobs,
  20. DWORD dwLevel,
  21. LPBYTE pbJob,
  22. DWORD cbJob,
  23. LPDWORD pcbNeeded,
  24. LPDWORD pcItems);
  25. BOOL PPGetJob(
  26. HANDLE hPrinter,
  27. DWORD idJob,
  28. DWORD dwLevel,
  29. LPBYTE pbJob,
  30. DWORD cbJob,
  31. LPDWORD pcbNeed);
  32. BOOL PPSetJob(
  33. HANDLE hPrinter,
  34. DWORD dwJobId,
  35. DWORD dwLevel,
  36. LPBYTE pbJob,
  37. DWORD dwCommand);
  38. BOOL PPAddJob(
  39. HANDLE hPrinter,
  40. DWORD dwLevel,
  41. LPBYTE pbData,
  42. DWORD cbBuf,
  43. LPDWORD pcbNeeded);
  44. BOOL PPScheduleJob(
  45. HANDLE hPrinter,
  46. DWORD idJob);
  47. #endif