Windows NT 4.0 source code leak
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.

77 lines
1.1 KiB

4 years ago
  1. /*++
  2. Copyright (c) 1990-1993 Microsoft Corporation
  3. Module Name:
  4. gdispool.h
  5. Abstract:
  6. This module contains private gdi spool definition to the Drvxxxx calls
  7. Author:
  8. 04-Jun-1996 Tue 10:50:56 updated -by- Daniel Chou (danielc)
  9. [Environment:]
  10. spooler
  11. [Notes:]
  12. Revision History:
  13. Move most stuff to the winddiui.h in the public\oak\inc directory, this
  14. file only used by the gdi printer device drivers
  15. --*/
  16. #ifndef _GDISPOOL_
  17. #define _GDISPOOL_
  18. #include <winddiui.h>
  19. #if DBG
  20. #ifdef DEF_DRV_DOCUMENT_EVENT_DBG_STR
  21. TCHAR *szDrvDocumentEventDbgStrings[] =
  22. {
  23. L"UNKNOWN ESCAPE",
  24. L"CREATEDCPRE",
  25. L"CREATEDCPOST",
  26. L"RESETDCPRE",
  27. L"RESETDCPOST",
  28. L"STARTDOC",
  29. L"STARTPAGE",
  30. L"ENDPAGE",
  31. L"ENDDOC",
  32. L"ABORTDOC",
  33. L"DELETEDC",
  34. L"ESCAPE",
  35. L"ENDDOCPOST",
  36. L"STARTDOCPOST"
  37. };
  38. #endif
  39. #endif // #define(DEBUG)
  40. typedef int (WINAPI * PFNDOCUMENTEVENT)(
  41. HANDLE hPrinter,
  42. HDC hdc,
  43. int iEsc,
  44. ULONG cbIn,
  45. PULONG pbIn,
  46. ULONG cbOut,
  47. PULONG pbOut
  48. );
  49. #endif // _GDISPOOL_