home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / sdk / mapi / win16 / dev / smh / smh.rc < prev    next >
Encoding:
Text File  |  1995-07-11  |  3.6 KB  |  111 lines

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