home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / icm20 / icmview / print.h < prev    next >
Text File  |  1997-09-07  |  990b  |  35 lines

  1. //THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  2. //ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  3. //THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  4. // PARTICULAR PURPOSE.
  5. //
  6. // Copyright  1994-1997  Microsoft Corporation.  All Rights Reserved.
  7. //
  8. //  FILE:
  9. //    PRINT.H
  10. //
  11. //  PURPOSE:
  12. //    Include file for PRINT.C
  13. //
  14. //  PLATFORMS:
  15. //    Windows 95, Windows NT
  16. //
  17. //  SPECIAL INSTRUCTIONS: N/A
  18. //
  19.  
  20. // General pre-processor macros
  21. #define ENUM_ERROR         0x80000000
  22. #define ERROR_ENUMPRINTERS 0x80000001
  23.  
  24. // General STRUCTS && TYPEDEFS
  25.  
  26. // Function prototypes
  27. HDC   SelectPrinter(HWND hWnd);
  28. LPTSTR GetDefaultPrinterName(void);
  29. DWORD PopulatePrinterCombobox(HWND hDlg, int iControlId, LPTSTR lpszCurrentPrinter);
  30. HDC   GetPrinterDC(LPTSTR lpszFriendlyName, PDEVMODE pDevMode);
  31. BOOL  PrintImage(HWND HWnd);
  32. HDC   GetDefaultPrinterDC();
  33. PDEVMODE GetDefaultPrinterDevMode(LPTSTR lpszPrinterName);
  34.  
  35.