home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / dbmsg / mapi / manager.sh / smh.rc < prev    next >
Encoding:
Text File  |  1996-04-11  |  3.7 KB  |  108 lines

  1. #include <windows.h>
  2. #ifdef  _WIN32
  3. #include <winver.h>
  4. #else
  5. #include <ver.h>
  6. #endif
  7.  
  8. #define WINDOWS_INCLUDED
  9. #include <pdkver.h>
  10. #include <richedit.h>
  11.  
  12. #include "smhrc.h"
  13. #include "smh.dlg"
  14.  
  15. ID_ICON                                 ICON "smh.ico"
  16. ID_UpArrow                              BITMAP "up.bmp"
  17. ID_UpArrowInv                           BITMAP "upinv.bmp"
  18. ID_UpArrowDis                           BITMAP "updis.bmp"
  19. ID_DownArrow                            BITMAP "down.bmp"
  20. ID_DownArrowInv                         BITMAP "downinv.bmp"
  21. ID_DownArrowDis                         BITMAP "downdis.bmp"
  22. ID_Toolbar                              BITMAP "toolbar.bmp"
  23.  
  24. STRINGTABLE DISCARDABLE
  25. BEGIN
  26.     SMH_ProviderName                    "Simple Mail Handler"
  27.     SMH_GeneralTab                      "General"
  28.     SMH_FilterTab                       "Filters"
  29.     SMH_ExclusionTab                    "Exclusions"
  30.     SMH_OofTab                          "Out-of-Office"
  31.     SMH_ResponsePage                    "Automated Response"
  32.     SMH_SoundsTab                       "New Mail Sounds"
  33.     SMH_FolderComment                   "SMH target folder"
  34. END
  35.  
  36. /* File Version Stamp */
  37.  
  38. #ifdef DEBUG
  39. #   define VER_FILEFLAGS                VS_FF_DEBUG | VS_FF_PRERELEASE
  40. #else
  41. #   define VER_FILEFLAGS                VS_FF_PRERELEASE
  42. #endif
  43.  
  44. #if (rmm < 10)
  45. #define rmmpad "0"
  46. #else
  47. #define rmmpad
  48. #endif
  49.  
  50. #if defined(DEBUG) || defined(TEST)
  51. #define SzVer(a,b,c)                    #a ".00." rmmpad #b "." #c
  52. #else
  53. #define SzVer(a,b,c)                    #a ".0"
  54. #endif
  55. #define VERSTR(a,b,c)                   SzVer(a,b,c)
  56.  
  57. #define VER_FILEVERSION_STR             VERSTR(rmj, rmm, rup) "\0"
  58. #define VER_PRODUCTVERSION_STR          VERSTR(rmj, rmm, rup) "\0"
  59.  
  60. #if defined(WIN95)
  61. #   define VER_FILE_OS                  VOS_DOS_WINDOWS32
  62. #   define VER_INTERNALNAME_STR         "SMH32\0"
  63. #   define VER_ORIGINALFILENAME_STR     "SMH32.DLL\0"
  64. #elif defined(WIN32)
  65. #   define VER_FILE_OS                  VOS_NT_WINDOWS32
  66. #   define VER_INTERNALNAME_STR         "SMH32\0"
  67. #   define VER_ORIGINALFILENAME_STR     "SMH32.DLL\0"
  68. #elif defined(WIN16)
  69. #   define VER_FILE_OS                  VOS_DOS_WINDOWS16
  70. #   define VER_INTERNALNAME_STR         "SMH\0"
  71. #   define VER_ORIGINALFILENAME_STR     "SMH.DLL\0"
  72. #endif
  73.  
  74. /*
  75.  *  Version Stamp
  76.  *
  77.  */
  78.  
  79. VS_VERSION_INFO VERSIONINFO
  80.     FILEVERSION             rmj,0,rmm,rup
  81.     PRODUCTVERSION          rmj,0,rmm,rup
  82.     FILEFLAGSMASK           0x3FL               /* This should not be changed */
  83.     FILEFLAGS               VER_FILEFLAGS
  84.     FILEOS                  VER_FILE_OS
  85.     FILETYPE                VFT_DLL             /* Look at the list of VFT_* values */
  86.     FILESUBTYPE             VFT2_UNKNOWN        /* Look at the list of VFT2_* values */
  87.     {
  88.         BLOCK "StringFileInfo"
  89.         {
  90.             BLOCK "040904E4" /* US English, Windows 3.10 ANSI */
  91.             {
  92.                 VALUE "ProductName",        "Microsoft Messaging API for Windows(TM)\0"
  93.                 VALUE "Comments",           "Sample Mail Handling Hook\0"
  94.                 VALUE "CompanyName",        "Microsoft Corporation\0"
  95.                 VALUE "FileDescription",    "Sample Mail Handling Hook Provider\0"
  96.                 VALUE "LegalCopyright",     "Copyright \251 Microsoft Corp. 1992-1995\0"
  97.                 VALUE "InternalName",       VER_INTERNALNAME_STR
  98.                 VALUE "OriginalFilename",   VER_ORIGINALFILENAME_STR
  99.                 VALUE "ProductVersion",     VER_PRODUCTVERSION_STR
  100.                 VALUE "FileVersion",        VER_FILEVERSION_STR
  101.             }
  102.         }
  103.         BLOCK "VarFileInfo"
  104.         {
  105.             VALUE "Translation", 0x0409, 0x04E4
  106.         }
  107.     }
  108.