MSP.RC
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:6k
源码类别:

Windows编程

开发平台:

Visual C++

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