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 / appinit.h < prev    next >
Text File  |  1997-09-07  |  927b  |  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. //    INIT.H
  10. //
  11. //  PURPOSE:
  12. //    Header file for INIT.C.
  13. //
  14. //  PLATFORMS:
  15. //    Windows 95, Windows NT
  16. //
  17. //  SPECIAL INSTRUCTIONS: N/A
  18. //
  19.  
  20. // String literals and defines for Registry and most Recent files.
  21. #define APP_REG     __TEXT("Software\\Microsoft\\ICMView")
  22. #define APP_COORD   __TEXT("WinCoord")
  23. #define APP_FLAGS   __TEXT("Flags")
  24. #define APP_RECENT  __TEXT("RecentFile")
  25.  
  26. #define MAX_RECENT  4
  27.  
  28. //
  29. // Function prototypes
  30. //
  31. BOOL InitApplication(HINSTANCE);
  32. BOOL InitInstance(HINSTANCE, int);
  33. BOOL SetSettings(LPRECT, DWORD, HANDLE);
  34. BOOL AddRecentFile(HWND, LPTSTR);
  35.