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.

64 lines
1.0 KiB

  1. #ifndef _CACHEMGR_H
  2. #define _CACHEMGR_H
  3. BOOL
  4. InitGetPrinterCache (
  5. HANDLE hPort);
  6. void
  7. FreeGetPrinterCache (
  8. HANDLE hPort);
  9. void
  10. InvalidateGetPrinterCache (
  11. HANDLE hPort);
  12. #if (defined(WINNT32))
  13. void
  14. InvalidateGetPrinterCacheForUser(
  15. HANDLE hPort,
  16. HANDLE hUser);
  17. #endif // #if (defined(WINNT32))
  18. BOOL
  19. BeginReadGetPrinterCache (
  20. HANDLE hPort,
  21. PPRINTER_INFO_2 *ppinfo2);
  22. void
  23. EndReadGetPrinterCache (
  24. HANDLE hPort);
  25. BOOL
  26. InitEnumJobsCache (
  27. HANDLE hPort);
  28. void
  29. FreeEnumJobsCache (
  30. HANDLE hPort);
  31. BOOL
  32. BeginReadEnumJobsCache (
  33. HANDLE hPort,
  34. LPPPJOB_ENUM *ppje);
  35. void
  36. EndReadEnumJobsCache (
  37. HANDLE hPort);
  38. void
  39. InvalidateEnumJobsCache (
  40. HANDLE hPort);
  41. #if (defined(WINNT32))
  42. void
  43. InvalidateEnumJobsCacheForUser(
  44. HANDLE hPort,
  45. HANDLE hUser);
  46. #endif // #if (defined(WINNT32))
  47. #endif //#ifndef CACHEMGR_H
  48. /**********************************************************************************
  49. ** End of File (cachemgr.h)
  50. **********************************************************************************/