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.

47 lines
1.8 KiB

  1. /* File: D:\WACKER\tdll\print.h (Created: 14-Jan-1994)
  2. *
  3. * Copyright 1994 by Hilgraeve Inc. -- Monroe, MI
  4. * All rights reserved
  5. *
  6. * $Revision: 2 $
  7. * $Date: 3/01/02 3:37p $
  8. */
  9. #define WM_PRINT_NEWPAGE WM_USER+0x100
  10. #define PRNECHO_BY_JOB 0x0001 // Don't print until session closes.
  11. #define PRNECHO_BY_PAGE 0x0002 // Print each page separately.
  12. #define PRNECHO_CHARS 0x0010
  13. #define PRNECHO_LINES 0x0020
  14. #define PRNECHO_SCREENS 0x0040
  15. #define PRNECHO_IS_ON 0x0100 /* capture is currently on */
  16. #define PRNECHO_PAUSE 0x0200 /* capture is paused */
  17. // From printhdl.c
  18. HPRINT printCreateHdl(const HSESSION hSession);
  19. void printDestroyHdl(const HPRINT hPrint);
  20. void printSaveHdl(const HPRINT hPrint);
  21. int printInitializeHdl(const HPRINT hPrint);
  22. // From print.c
  23. void printTellError(const HSESSION hSession, const HPRINT hPrint, const int iStatus);
  24. int printQueryStatus(const HPRINT hPrint);
  25. void printSetStatus(const HPRINT hPrint, const int fSetting);
  26. void printStatusToggle(const HPRINT hPrint);
  27. int printVerifyPrinter(const HPRINT hPrint);
  28. // From prnecho.c
  29. int printEchoChar(const HPRINT hPrint, const ECHAR tChar);
  30. void printEchoLine(const HPRINT hPrint, ECHAR *achLine, int iLen);
  31. int printEchoClose(HPRINT hPrint);
  32. int printEchoStart(HPRINT hPrint);
  33. int printEchoString(HPRINT hPrint, ECHAR *achStr, int iLen);
  34. int printEchoScreen(HPRINT hPrint, ECHAR *achStr, int iLen);
  35. int printEchoRaw(HPRINT hPrint, ECHAR *pszPrintStr, int nLen);
  36. // From printset.c
  37. void printsetSetup(const HPRINT hPrint, const HWND hwnd);
  38. int printPageSetup(const HPRINT hPrint, const HWND hwnd);
  39. void printsetPrint(const HPRINT hPrint);
  40. BOOL CALLBACK printsetAbortProc(HDC hdcPrn, INT nCode);
  41. LRESULT CALLBACK printsetDlgProc(HWND hwnd, UINT uMsg, WPARAM wPar, LPARAM lPar);