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 / docfile.ms / msp.rc < prev    next >
Encoding:
Text File  |  1996-04-11  |  6.2 KB  |  152 lines

  1. /*
  2.  *  M S P . R C
  3.  *
  4.  *  Resource definitions for the Sample Message Store Provider.
  5.  *
  6.  *  Copyright 1992-1995 Microsoft Corporation.  All Rights Reserved.
  7.  */
  8.  
  9.  
  10. #include <windows.h>
  11. #ifdef WIN32
  12. #include <winver.h>
  13. #else
  14. #include <ver.h>
  15. #endif
  16.  
  17. #define WINDOWS_INCLUDED
  18.  
  19. #include <pdkver.h>
  20.  
  21. #include "msprc.h"
  22.  
  23. /*
  24.  *  Dialogs
  25.  */
  26.  
  27. #include "msp.dlg"
  28.  
  29.  
  30. #ifdef DEBUG                    
  31. #   define VER_FILEFLAGS                VS_FF_DEBUG | VS_FF_PRERELEASE
  32. #else
  33. #   define VER_FILEFLAGS                VS_FF_PRERELEASE
  34. #endif
  35.     
  36. #if (rmm < 10)
  37. #define rmmpad "0"
  38. #else
  39. #define rmmpad
  40. #endif
  41.  
  42. #if defined(DEBUG) || defined(TEST)
  43. #define SzVer(a,b,c)                #a ".00." rmmpad #b "." #c
  44. #else
  45. #define SzVer(a,b,c)                #a ".0"
  46. #endif
  47. #define VERSTR(a,b,c)               SzVer(a,b,c)
  48.  
  49. #define VER_FILEVERSION_STR         VERSTR(rmj, rmm, rup) "\0"
  50. #define VER_PRODUCTVERSION_STR          VERSTR(rmj, rmm, rup) "\0"
  51.  
  52. /* Windows 95 definitions are currently the same as NT, but may change */
  53.  
  54. #if defined(_WIN95)
  55. #   define VER_FILE_OS                  VOS_NT_WINDOWS32
  56. #   define VER_INTERNALNAME_STR         "SMPMS32\0"
  57. #   define VER_ORIGINALFILENAME_STR     "SMPMS32.DLL\0"
  58. #elif defined(WIN32)
  59. #   define VER_FILE_OS                  VOS_NT_WINDOWS32
  60. #   define VER_INTERNALNAME_STR         "SMPMS32\0"
  61. #   define VER_ORIGINALFILENAME_STR     "SMPMS32.DLL\0"
  62. #elif defined(WIN16)
  63. #   define VER_FILE_OS                  VOS__WINDOWS16
  64. #   define VER_INTERNALNAME_STR         "SMPMS\0"
  65. #   define VER_ORIGINALFILENAME_STR     "SMPMS.DLL\0"
  66. #endif
  67.  
  68.  
  69. /*
  70.  *  Version Stamp
  71.  */
  72.  
  73. VS_VERSION_INFO VERSIONINFO
  74.     FILEVERSION             rmj,0,rmm,rup
  75.     PRODUCTVERSION          rmj,0,rmm,rup
  76.     FILEFLAGSMASK           0x3FL               /* This should not be changed */
  77.     FILEFLAGS               VER_FILEFLAGS
  78.     FILEOS                  VER_FILE_OS
  79.     FILETYPE                VFT_DLL             /* Look at the list of VFT_* values */
  80.     FILESUBTYPE             VFT2_UNKNOWN        /* Look at the list of VFT2_* values */
  81.     {
  82.         BLOCK "StringFileInfo"
  83.         {
  84.             BLOCK "040904E4" /* US English, Windows 3.10 ANSI */
  85.             {
  86.                 VALUE "ProductName",        "Microsoft Messaging API for Windows(TM)\0"
  87.                 VALUE "Comments",           "Sample Message Store Service Provider\0"
  88.                 VALUE "CompanyName",        "Microsoft Corporation\0"
  89.                 VALUE "FileDescription",    "Sample Message Store Service Provider\0"
  90.                 VALUE "LegalCopyright",     "Copyright \251 Microsoft Corp. 1992-1995\0"
  91.                 VALUE "InternalName",       VER_INTERNALNAME_STR
  92.                 VALUE "OriginalFilename",   VER_ORIGINALFILENAME_STR
  93.                 VALUE "ProductVersion",     VER_PRODUCTVERSION_STR
  94.                 VALUE "FileVersion",        VER_FILEVERSION_STR
  95.             }
  96.         }
  97.  
  98.         BLOCK "VarFileInfo"
  99.         {
  100.             VALUE "Translation", 0x0409, 0x04E4
  101.         }
  102.     }
  103.  
  104.  
  105. /*
  106.  *  Strings
  107.  */
  108.  
  109. STRINGTABLE DISCARDABLE
  110. BEGIN
  111.     IDS_SUCCESS,                    "Success"
  112.     IDS_NO_ACCESS,                  "A resource is busy or you lack sufficient permissions"
  113.     IDS_NOINTERFACE,                "Interface not supported"
  114.     IDS_INVALIDARG,                 "One or more parameters passed by the calling application were not valid"
  115.     IDS_CALL_FAILED,                "An unexpected error occurred"
  116.     IDS_NOT_FOUND,                  "The requested object does not exist"
  117.     IDS_NO_SUPPORT,                 "Call not supported in this implementation"
  118.     IDS_ERRORS_RETURNED,            "Call succeeded overall, but some errors were returned"
  119.     IDS_PARTIAL_COMPLETION,         "Some, but not all, the entries were successfully copied"
  120.     IDS_BAD_CHARWIDTH,              "The MAPI_UNICODE flag was set and this implementation does not support UNICODE"
  121.     IDS_BAD_VALUE,                  "Bad value supplied for a property"
  122.     IDS_BUSY,                       "The file being accessed was already in use"
  123.     IDS_COLLISION,                  "The folder name being moved is the same as a sub-folder name in the destination"
  124.     IDS_COMPUTED,                   "The property cannot be written because it is computed by the destination provider"
  125.     IDS_CORRUPT_DATA,               "Some data read from disk is corrupt"
  126.     IDS_CORRUPT_STORE,              "Corrupt message store"
  127.     IDS_DISK_ERROR,                 "A disk error has occurred"
  128.     IDS_HAS_FOLDERS,                "The folder being deleted contains folders"
  129.     IDS_HAS_MESSAGES,               "The folder being deleted contains messages"
  130.     IDS_INVALID_ENTRYID,            "Invalid EntryID"
  131.     IDS_INVALID_OBJECT,             "Invalid object"
  132.     IDS_LOGON_FAILED,               "Logon failed due to bad credentials"
  133.     IDS_NETWORK_ERROR,              "A network error prevented successful completion of the operation"
  134.     IDS_NON_STANDARD,               "It will take longer than expected to submit the message"
  135.     IDS_NOT_ENOUGH_DISK,            "Not enough space on disk to complete"
  136.     IDS_NOT_ENOUGH_MEMORY,          "Insufficient memory to complete operation"
  137.     IDS_NOT_ENOUGH_RESOURCES,       "Insufficient resources to complete operation"
  138.     IDS_NOT_IN_QUEUE,               "The message was not in the outgoing queue"
  139.     IDS_OBJECT_CHANGED,             "The message has changed since it was opened"
  140.     IDS_OBJECT_DELETED,             "The folder was deleted since it was opened"
  141.     IDS_STRING_TOO_LONG,            "The string is longer than the maximum allowable length"
  142.     IDS_SUBMITTED,                  "The message has already been submitted"
  143.     IDS_TOO_BIG,                    "There are more than 15000 property names"
  144.     IDS_UNABLE_TO_ABORT,            "Unable to abort the submission"
  145.     IDS_UNCONFIGURED,               "The service provider has not been configured"
  146.     IDS_UNEXPECTED_TYPE,            "Unexpected property type given to GetProps or SetProps"
  147.     IDS_UNKNOWN_FLAGS,              "Unknown flags given to the method"
  148.     IDS_USER_CANCEL,                "The user cancelled the operation"
  149.     IDS_VERSION,                    "The provider version will not work with the MAPI version"
  150. END
  151.  
  152.