Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

424 lines
21 KiB

  1. // --------------------------------------------------------------------------------
  2. // Strconst.h
  3. // Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
  4. // Steven J. Bailey
  5. // --------------------------------------------------------------------------------
  6. #ifndef __STRCONST_H
  7. #define __STRCONST_H
  8. #include "mimeole.h"
  9. #define STR_REG_PATH_FLAT "Software\\Microsoft\\Outlook Express"
  10. #define STR_REG_PATH_ROOT "Software\\Microsoft\\Outlook Express\\5.0"
  11. #define wchCR L'\r'
  12. #define wchLF L'\n'
  13. #define chCR '\r'
  14. #define chLF '\n'
  15. // --------------------------------------------------------------------------------
  16. // Common String Constants
  17. // --------------------------------------------------------------------------------
  18. STRCONSTA(c_szCRLFCRLF, "\r\n\r\n");
  19. STRCONSTA(c_szCRLF, "\r\n");
  20. STRCONSTA(c_szCRLFTab, "\r\n\t");
  21. STRCONSTA(c_szRegRoot, STR_REG_PATH_ROOT);
  22. STRCONSTA(c_szRegFlat, STR_REG_PATH_FLAT);
  23. // --------------------------------------------------------------------------------
  24. // IMNACCT String Constants
  25. // --------------------------------------------------------------------------------
  26. STRCONSTA(g_szSpace, " ");
  27. //STRCONSTA(g_szTab, "\t");
  28. STRCONSTA(g_szNewline, "\n");
  29. //STRCONSTA(g_szCR, "\r");
  30. STRCONSTA(g_szCRLF, "\r\n");
  31. //STRCONSTA(szRasDll, "RASAPI32.DLL");
  32. //STRCONSTA(c_szInetcfgDll, "inetcfg.dll");
  33. STRCONSTA(c_szMLANGDLL, "mlang.dll");
  34. STRCONSTA(c_szDllRegisterServer, "DllRegisterServer");
  35. //STRCONSTA(c_szCreateAcct, "InetCreateMailNewsAccount");
  36. //STRCONSTA(c_szCreateDirServ, "InetCreateDirectoryService");
  37. //STRCONSTA(c_szCtxHelpFile, "inetcomm.hlp");
  38. //STRCONSTA(c_szRegRootNew, "Software\\Microsoft\\Internet Account Manager");
  39. STRCONSTA(c_szCtxHelpFile, "msoe.hlp");
  40. // --------------------------------------------------------------------------------
  41. // WebPage String Constants
  42. // --------------------------------------------------------------------------------
  43. STRCONSTA(STR_METATAG_PREFIX, "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html;charset=");
  44. STRCONSTA(STR_METATAG_POSTFIX, "\">\r\n");
  45. STRCONSTA(STR_SEGMENT_SPLIT, "<P><HR></P>");
  46. STRCONSTA(STR_INLINE_IMAGE1, "<P>\n\r<CENTER><IMG SRC=\"CID:");
  47. STRCONSTA(STR_INLINE_IMAGE2, "\"></CENTER>");
  48. STRCONSTA(STR_ATTACH_TITLE_END, "<UL>");
  49. STRCONSTA(STR_ATTACH_BEGIN, "<LI><A href=\"CID:");
  50. STRCONSTA(STR_ATTACH_MIDDLE, "\">");
  51. STRCONSTA(STR_ATTACH_END, "</A></LI>\r\n");
  52. STRCONSTW(STR_SLIDEIMG_BEGIN, "g_ImageTable[g_imax++] = new Array (\"cid:");
  53. STRCONSTW(STR_QUOTECOMMASPACEQUOTE,"\", \"");
  54. STRCONSTW(STR_QUOTEPARASEMI, "\");\r\n");
  55. // --------------------------------------------------------------------------------
  56. // MIMEOLE String Constants
  57. // --------------------------------------------------------------------------------
  58. STRCONSTW(STR_XRICH, "<x-rich>");
  59. STRCONSTA(c_szXRich, "<x-rich>");
  60. STRCONSTA(STR_ISO88591, "ISO-8859-1");
  61. STRCONSTW(STR_TEXTHTML, "text/html");
  62. STRCONSTA(c_szAddressDelims, "\",<(");
  63. STRCONSTA(c_szMHTMLColon, "mhtml:");
  64. STRCONSTA(c_szMHTMLExt, ".mhtml");
  65. STRCONSTA(c_szFileUrl, "file://");
  66. //STRCONSTA(c_szMHTMLColonWackWack, "mhtml://");
  67. STRCONSTA(c_szCID, "CID:");
  68. //STRCONSTA(c_szNo, "No");
  69. //STRCONSTA(c_szYes, "Yes");
  70. STRCONSTA(c_szISO2022JP, "iso-2022-jp");
  71. STRCONSTA(c_szISO2022JPControl, "JP_ISO_SIO_Control");
  72. STRCONSTA(c_szISO88591, "iso-8859-1");
  73. STRCONSTA(STR_HDR_XMIMEOLE, "X-MimeOLE");
  74. STRCONSTA(STR_HDR_UNKNOWN, "Unknown");
  75. STRCONSTA(STR_PRI_HIGHEST, "Highest");
  76. STRCONSTA(STR_PRI_LOWEST, "Lowest");
  77. STRCONSTA(c_szDescription, "Description");
  78. //STRCONSTA(c_szStoreInetProps, "Store Internet Properties");
  79. //STRCONSTA(c_szType, "Type");
  80. //STRCONSTA(c_szFlags, "Flags");
  81. STRCONSTA(c_szMimeVersion, "1.0");
  82. STRCONSTA(c_szDoubleDash, "--");
  83. //STRCONSTA(c_szRegMimeOLE, "Software\\Microsoft\\MimeOLE Engine");
  84. //STRCONSTA(c_szRegInetProps, "Software\\Microsoft\\MimeOLE Engine\\Internet Properties");
  85. STRCONSTA(c_szCommaSpace, ", ");
  86. STRCONSTW(c_wszCommaSpace, ", ");
  87. STRCONSTA(c_szCommaSpaceDash, ", -");
  88. STRCONSTA(c_szAddressFold, ",\r\n\t");
  89. STRCONSTW(c_wszAddressFold, ",\r\n\t");
  90. STRCONSTA(c_szParamFold, ";\r\n\t");
  91. //STRCONSTA(c_szAddressSep, ", ");
  92. STRCONSTA(c_szEmpty, "");
  93. STRCONSTW(c_szEmptyW, "");
  94. //STRCONSTA(c_szSemiColon, ";");
  95. STRCONSTA(c_szSemiColonSpace, "; ");
  96. STRCONSTW(c_wszSemiColonSpace, "; ");
  97. STRCONSTA(c_szEmailSpaceStart, " <");
  98. STRCONSTW(c_wszEmailSpaceStart, " <");
  99. STRCONSTA(c_szEmailStart, "<");
  100. STRCONSTW(c_wszEmailStart, "<");
  101. STRCONSTA(c_szEmailEnd, ">");
  102. STRCONSTW(c_wszEmailEnd, ">");
  103. STRCONSTA(c_szColonSpace, ": ");
  104. //STRCONSTA(c_szFoldCRLF, "\r\n ");
  105. //STRCONSTA(c_szPeriod, ".");
  106. STRCONSTA(c_szForwardSlash, "/");
  107. STRCONSTA(c_szEqual, "=");
  108. STRCONSTA(c_szDoubleQuote, "\"");
  109. STRCONSTW(c_wszDoubleQuote, "\"");
  110. STRCONSTA(c_szMDBContentType, "MIME\\Database\\Content Type");
  111. //STRCONSTA(c_szMDBCodePage, "MIME\\Database\\CodePage");
  112. //STRCONSTA(c_szMDBCharset, "MIME\\Database\\Charset");
  113. STRCONSTA(c_szExtension, "Extension");
  114. STRCONSTA(c_szCLSID, "CLSID");
  115. //STRCONSTA(c_szFixedWidthFont, "FixedWidthFont");
  116. //STRCONSTA(c_szProportionalFont, "ProportionalFont");
  117. //STRCONSTA(c_szBodyCharset, "BodyCharset");
  118. //STRCONSTA(c_szWebCharset, "WebCharset");
  119. //STRCONSTA(c_szHeaderCharset, "HeaderCharset");
  120. //STRCONSTA(c_szAliasCharset, "AliasForCharset");
  121. //STRCONSTA(c_szCodePage, "CodePage");
  122. //STRCONSTA(c_szInternetEncoding, "InternetEncoding");
  123. //STRCONSTA(c_szMailMimeEncoding, "MailMIMEEncoding");
  124. //STRCONSTA(c_szNewsMimeEncoding, "NewsMIMEEncoding");
  125. //STRCONSTA(c_szFamily, "Family");
  126. STRCONSTA(c_szCharset, "charset");
  127. STRCONSTA(c_szBoundary, "boundary");
  128. STRCONSTA(c_szFileName, "filename");
  129. STRCONSTA(c_szID, "id");
  130. STRCONSTA(c_szName, "name");
  131. STRCONSTA(c_szUUENCODE_END, "end\r\n");
  132. STRCONSTA(c_szUUENCODE_BEGIN, "begin ");
  133. STRCONSTA(c_szUUENCODE_DAT, "uuencode.uue");
  134. STRCONSTA(c_szUUENCODE_666, "666 ");
  135. STRCONSTA(c_szContentType, "Content Type");
  136. STRCONSTW(c_szContentTypeW, "Content Type");
  137. STRCONSTA(c_szDefaultAttach, "attach.dat");
  138. STRCONSTW(c_wszDefaultAttach, "attach.dat");
  139. STRCONSTA(c_szDotDat, ".dat");
  140. STRCONSTW(c_wszDotDat, ".dat");
  141. STRCONSTA(c_szDotTxt, ".txt");
  142. STRCONSTW(c_wszDotTxt, ".txt");
  143. //STRCONSTA(c_szDotUUE, ".uue");
  144. STRCONSTA(c_szDotEml, ".eml");
  145. STRCONSTW(c_wszDotEml, ".eml");
  146. STRCONSTA(c_szDotNws, ".nws");
  147. STRCONSTW(c_wszDotNws, ".nws");
  148. STRCONSTA(c_szWinmailDotDat, "winmail.dat");
  149. STRCONSTA(c_szUUEncodeZeroLength, "`\r\n");
  150. STRCONSTA(c_szRfc822MustQuote, "()<>,;:\\\"[] ");
  151. STRCONSTA(c_szXrefColon, "xref:");
  152. STRCONSTW(REG_BC_ATHENAMESSAGE, "__MimeOle__IMimeMessage");
  153. STRCONSTW(REG_BC_BINDSTATUSCALLBACK, "_BSCB_Holder_");
  154. STRCONSTA(REG_Y2K_THRESHOLD, "Control Panel\\International\\Calendars\\TwoDigitYearMax");
  155. // --------------------------------------------------------------------------------
  156. // SMTP command strings
  157. // --------------------------------------------------------------------------------
  158. STRCONSTA(SMTP_AUTH_CANCEL_STR, "*\r\n");
  159. STRCONSTA(SMTP_AUTH_STR, "AUTH");
  160. STRCONSTA(SMTP_HELO_STR, "HELO");
  161. STRCONSTA(SMTP_EHLO_STR, "EHLO");
  162. STRCONSTA(SMTP_STARTTLS_STR, "STARTTLS\r\n");
  163. STRCONSTA(SMTP_MAIL_STR, "MAIL FROM:");
  164. STRCONSTA(SMTP_RCPT_STR, "RCPT TO:");
  165. STRCONSTA(SMTP_RSET_STR, "RSET\r\n");
  166. //STRCONSTA(SMTP_SEND_STR, "SEND FROM");
  167. //STRCONSTA(SMTP_SOML_STR, "SOML FROM");
  168. //STRCONSTA(SMTP_SAML_STR, "SAML FROM");
  169. //STRCONSTA(SMTP_VRFY_STR, "VRFY");
  170. //STRCONSTA(SMTP_EXPN_STR, "EXPN");
  171. //STRCONSTA(SMTP_HELP_STR, "HELP");
  172. //STRCONSTA(SMTP_NOOP_STR, "NOOP");
  173. STRCONSTA(SMTP_QUIT_STR, "QUIT\r\n");
  174. //STRCONSTA(SMTP_TURN_STR, "TURN");
  175. STRCONSTA(SMTP_DATA_STR, "DATA\r\n");
  176. STRCONSTA(SMTP_END_DATA_STR, "\r\n.\r\n");
  177. // --------------------------------------------------------------------------------
  178. // POP3 command strings
  179. // --------------------------------------------------------------------------------
  180. STRCONSTA(POP3_USER_STR, "USER");
  181. STRCONSTA(POP3_PASS_STR, "PASS");
  182. STRCONSTA(POP3_STAT_STR, "STAT\r\n");
  183. STRCONSTA(POP3_LIST_STR, "LIST");
  184. STRCONSTA(POP3_LIST_ALL_STR, "LIST\r\n");
  185. STRCONSTA(POP3_RETR_STR, "RETR");
  186. STRCONSTA(POP3_DELE_STR, "DELE");
  187. STRCONSTA(POP3_NOOP_STR, "NOOP\r\n");
  188. //STRCONSTA(POP3_LAST_STR, "LAST");
  189. STRCONSTA(POP3_RSET_STR, "RSET");
  190. STRCONSTA(POP3_QUIT_STR, "QUIT\r\n");
  191. //STRCONSTA(POP3_APOP_STR, "APOP");
  192. STRCONSTA(POP3_TOP_STR, "TOP");
  193. STRCONSTA(POP3_UIDL_ALL_STR, "UIDL\r\n");
  194. STRCONSTA(POP3_UIDL_STR, "UIDL");
  195. STRCONSTA(POP3_AUTH_STR, "AUTH");
  196. STRCONSTA(POP3_AUTH_CANCEL_STR, "*\r\n");
  197. //STRCONSTA(POP3_END_DATA_STR, ".");
  198. // --------------------------------------------------------------------------------
  199. // NNTP command strings
  200. // --------------------------------------------------------------------------------
  201. STRCONSTA(NNTP_AUTHINFOUSER, "AUTHINFO USER");
  202. STRCONSTA(NNTP_AUTHINFOPASS, "AUTHINFO PASS");
  203. STRCONSTA(NNTP_TRANSACTTEST_CRLF, "AUTHINFO TRANSACT TWINKIE\r\n");
  204. STRCONSTA(NNTP_TRANSACTCMD, "AUTHINFO TRANSACT");
  205. STRCONSTA(NNTP_AUTHINFOSIMPLE_CRLF, "AUTHINFO SIMPLE\r\n");
  206. STRCONSTA(NNTP_GENERICTEST_CRLF, "AUTHINFO GENERIC\r\n");
  207. STRCONSTA(NNTP_GENERICCMD, "AUTHINFO GENERIC");
  208. STRCONSTA(NNTP_GROUP, "GROUP");
  209. STRCONSTA(NNTP_LAST_CRLF, "LAST\r\n");
  210. STRCONSTA(NNTP_NEXT_CRLF, "NEXT\r\n");
  211. STRCONSTA(NNTP_STAT, "STAT");
  212. STRCONSTA(NNTP_ARTICLE, "ARTICLE");
  213. STRCONSTA(NNTP_HEAD, "HEAD");
  214. STRCONSTA(NNTP_BODY, "BODY");
  215. STRCONSTA(NNTP_POST_CRLF, "POST\r\n");
  216. STRCONSTA(NNTP_LIST, "LIST");
  217. STRCONSTA(NNTP_LISTGROUP, "LISTGROUP");
  218. STRCONSTA(NNTP_NEWGROUPS, "NEWGROUPS");
  219. STRCONSTA(NNTP_DATE_CRLF, "DATE\r\n");
  220. STRCONSTA(NNTP_MODE, "MODE");
  221. STRCONSTA(NNTP_MODE_READER_CRLF, "MODE READER\r\n");
  222. STRCONSTA(NNTP_QUIT_CRLF, "QUIT\r\n");
  223. STRCONSTA(NNTP_XOVER, "XOVER");
  224. //STRCONSTA(NNTP_CRLF_DOT_CRLF, "\r\n.\r\n");
  225. STRCONSTA(NNTP_BASIC, "BASIC");
  226. STRCONSTA(NNTP_XHDR, "XHDR");
  227. //STRCONSTA(NNTP_RANGE, "%lu-%lu");
  228. //STRCONSTA(NNTP_RANGE_OPEN, "%lu-");
  229. STRCONSTA(NNTP_ENDPOST, "\r\n.\r\n");
  230. // --------------------------------------------------------------------------------
  231. // NNTP Header strings
  232. // --------------------------------------------------------------------------------
  233. STRCONSTA(NNTP_HDR_SUBJECT, "subject");
  234. STRCONSTA(NNTP_HDR_FROM, "from");
  235. STRCONSTA(NNTP_HDR_DATE, "date");
  236. STRCONSTA(NNTP_HDR_MESSAGEID, "message-id");
  237. STRCONSTA(NNTP_HDR_REFERENCES, "references");
  238. //STRCONSTA(NNTP_HDR_BYTES, "bytes");
  239. STRCONSTA(NNTP_HDR_LINES, "lines");
  240. STRCONSTA(NNTP_HDR_XREF, "xref");
  241. // --------------------------------------------------------------------------------
  242. // HTTPMAIL command strings
  243. // --------------------------------------------------------------------------------
  244. STRCONSTA(c_szXMLOpenElement, "<");
  245. STRCONSTA(c_szXMLCloseElement, ">");
  246. STRCONSTA(c_szXMLCloseElementCRLF, ">\r\n");
  247. STRCONSTA(c_szTabTabOpenElement, "\t\t<");
  248. STRCONSTA(c_szCRLFTabTabOpenElement, "\r\n\t\t<");
  249. STRCONSTA(c_szCRLFTabTabTabOpenElement, "\r\n\t\t\t<");
  250. STRCONSTA(c_szXMLOpenTermElement, "</");
  251. STRCONSTA(c_szXMLCloseTermElement, "/>");
  252. STRCONSTA(c_szDavNamespacePrefix, "D");
  253. STRCONSTA(c_szHotMailNamespacePrefix, "h");
  254. STRCONSTA(c_szHTTPMailNamespacePrefix, "hm");
  255. STRCONSTA(c_szMailNamespacePrefix, "m");
  256. STRCONSTA(c_szContactsNamespacePrefix, "c");
  257. STRCONSTA(c_szXMLHead, "<?xml version=\"1.0\"?>");
  258. STRCONSTA(c_szXML1252Head, "<?xml version=\"1.0\" encoding=\"windows-1252\"?>");
  259. STRCONSTA(c_szXMLNsColon, "xmlns:");
  260. STRCONSTA(c_szPropFindHead1, "\r\n<D:propfind ");
  261. STRCONSTA(c_szPropFindHead2, ">\r\n\t<D:prop>");
  262. STRCONSTA(c_szPropFindTail, "\r\n\t</D:prop>\r\n</D:propfind>");
  263. STRCONSTA(c_szPropPatchHead, "\r\n<D:propertyupdate ");
  264. STRCONSTA(c_szPropPatchTailCRLF, "\r\n</D:propertyupdate>");
  265. STRCONSTA(c_szPropPatchSetHead, "\r\n\t<D:set>\r\n\t\t<D:prop>");
  266. STRCONSTA(c_szPropPatchSetTail, "\r\n\t\t</D:prop>\r\n\t</D:set>");
  267. STRCONSTA(c_szPropPatchRemoveHead, "\r\n\t<D:remove>\r\n\t\t<D:prop>");
  268. STRCONSTA(c_szPropPatchRemoveTail, "\r\n\t\t</D:prop>\r\n\t</D:remove>");
  269. STRCONSTA(c_szOpenContactNamespace, "\r\n\t<c:");
  270. STRCONSTA(c_szCloseContactNamespace, "</c:");
  271. STRCONSTA(c_szContactHead, "<c:contact ");
  272. STRCONSTA(c_szContactTail, "\r\n</c:contact>");
  273. STRCONSTA(c_szGroupSwitch, "<c:group/>");
  274. STRCONSTA(c_szEscLessThan, "&lt;");
  275. STRCONSTA(c_szEscGreaterThan, "&gt;");
  276. STRCONSTA(c_szEscAmp, "&amp;");
  277. STRCONSTA(c_szDestinationHeader, "Destination: ");
  278. STRCONSTA(c_szTranslateFalseHeader, "Translate: f");
  279. STRCONSTA(c_szTranslateTrueHeader, "Translate: t");
  280. STRCONSTA(c_szAllowRenameHeader, "Allow-Rename: t");
  281. STRCONSTA(c_szContentTypeHeader, "Content-Type: ");
  282. STRCONSTA(c_szBriefHeader, "Brief: t");
  283. STRCONSTA(c_szDepthHeader, "Depth: %d");
  284. STRCONSTA(c_szDepthNoRootHeader, "Depth: %d,noroot");
  285. STRCONSTA(c_szDepthInfinityHeader, "Depth: infinity");
  286. STRCONSTA(c_szDepthInfinityNoRootHeader, "Depth: infinity,noroot");
  287. STRCONSTA(c_szMailContentType, "message/rfc822");
  288. STRCONSTA(c_szXmlContentType, "text/xml");
  289. STRCONSTA(c_szSmtpMessageContentType, "message/rfc821");
  290. STRCONSTA(c_szRootTimeStampHeader, "X-Timestamp: folders=%s,ACTIVE=%s");
  291. STRCONSTA(c_szFolders, "folders");
  292. STRCONSTA(c_szFolderTimeStampHeader, "X-Timestamp: ACTIVE=%s");
  293. STRCONSTA(c_szActive, "ACTIVE");
  294. STRCONSTA(c_szXTimestamp, "X-Timestamp");
  295. STRCONSTA(c_szAcceptCharset, "Accept-CharSet:%s");
  296. // strings used to build batch command xml
  297. STRCONSTA(c_szBatchHead1, "\r\n<D:");
  298. STRCONSTA(c_szBatchHead2, " xmlns:D=\"DAV:\">");
  299. STRCONSTA(c_szBatchTail, "\r\n</D:");
  300. STRCONSTA(c_szTargetHead, "\r\n\t<D:target>");
  301. STRCONSTA(c_szTargetTail, "\r\n\t</D:target>");
  302. STRCONSTA(c_szHrefHead, "\r\n\t\t<D:href>");
  303. STRCONSTA(c_szHrefTail, "</D:href>");
  304. STRCONSTA(c_szDestHead, "\r\n\t\t<D:dest>");
  305. STRCONSTA(c_szDestTail, "</D:dest>");
  306. STRCONSTA(c_szDelete, "delete");
  307. STRCONSTA(c_szCopy, "copy");
  308. STRCONSTA(c_szMove, "move");
  309. // strings used to build rfc821 streams
  310. STRCONSTA(c_szMailFrom, "MAIL FROM:<");
  311. STRCONSTA(c_szRcptTo, "RCPT TO:<");
  312. STRCONSTA(c_szSaveInSentTrue, "SAVEINSENT: t");
  313. STRCONSTA(c_szSaveInSentFalse, "SAVEINSENT: f");
  314. // --------------------------------------------------------------------------------
  315. // RAS function strings
  316. // --------------------------------------------------------------------------------
  317. STRCONSTA(c_szRasDial, "RasDialA");
  318. STRCONSTA(c_szRasEnumConnections, "RasEnumConnectionsA");
  319. STRCONSTA(c_szRasEnumEntries, "RasEnumEntriesA");
  320. STRCONSTA(c_szRasGetConnectStatus, "RasGetConnectStatusA");
  321. STRCONSTA(c_szRasGetErrorString, "RasGetErrorStringA");
  322. STRCONSTA(c_szRasHangup, "RasHangUpA");
  323. STRCONSTA(c_szRasSetEntryDialParams, "RasSetEntryDialParamsA");
  324. STRCONSTA(c_szRasGetEntryDialParams, "RasGetEntryDialParamsA");
  325. //STRCONSTA(c_szRasGetEntryProperties, "RasGetEntryPropertiesA");
  326. //STRCONSTA(c_szRasSetEntryProperties, "RasSetEntryPropertiesA");
  327. STRCONSTA(c_szRasCreatePhonebookEntry, "RasCreatePhonebookEntryA");
  328. STRCONSTA(c_szRasEditPhonebookEntry, "RasEditPhonebookEntryA");
  329. // ********************************************************************************
  330. // MIMEEDIT String Constants
  331. // ********************************************************************************
  332. STRCONSTA(c_szBmpExt, ".bmp");
  333. STRCONSTA(c_szJpgExt, ".jpg");
  334. STRCONSTA(c_szJpegExt, ".jpeg");
  335. STRCONSTA(c_szGifExt, ".gif");
  336. STRCONSTA(c_szIcoExt, ".ico");
  337. STRCONSTA(c_szWmfExt, ".wmf");
  338. STRCONSTA(c_szPngExt, ".png");
  339. STRCONSTA(c_szEmfExt, ".emf");
  340. STRCONSTA(c_szArtExt, ".art");
  341. STRCONSTA(c_szXbmExt, ".xbm");
  342. STRCONSTW(c_szExeExt, ".exe");
  343. STRCONSTW(c_wszDocHostWndClass, "##MimeEdit_Server");
  344. //STRCONSTA(c_szLnkExt, ".lnk");
  345. STRCONSTA(c_szSpace, " ");
  346. STRCONSTA(c_szIexploreExe, "iexplore.exe");
  347. //STRCONSTA(c_szPathFileFmt, "%s\\%s");
  348. //STRCONSTA(c_szEllipsis, "...");
  349. //STRCONSTA(c_szAppPaths, "Software\\Microsoft\\Windows\\CurrentVersion\\App Paths");
  350. STRCONSTA(c_szExplorerRegPath, "Software\\Microsoft\\Internet Explorer");
  351. //STRCONSTA(c_szRegPath, "Path");
  352. //STRCONSTA(c_szRegSpellLangID, "SpellLangID");
  353. STRCONSTA(c_szRegShellFoldersKey, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders");
  354. STRCONSTA(c_szValueAppData, "AppData");
  355. STRCONSTA(c_szRegSpellKeyDef, "Spelling\\%s\\Normal");
  356. STRCONSTA(c_szRegSpellKeyDefRoot, "SOFTWARE\\Microsoft\\Shared Tools\\Proofing Tools\\Spelling");
  357. STRCONSTA(c_szRegSpellKeyCustom, "Custom Dictionaries");
  358. STRCONSTA(c_szRegSpellProfile, "SOFTWARE\\Microsoft\\Shared Tools\\Proofing Tools\\");
  359. STRCONSTA(c_szRegSharedTools, "SOFTWARE\\Microsoft\\Shared Tools\\");
  360. STRCONSTA(c_szRegSharedToolsPath, "SharedFilesDir");
  361. STRCONSTA(c_szSpellCSAPI3T1Path, "Proof\\CSAPI3T1.DLL");
  362. STRCONSTA(c_szCSAPI3T1, "CSAPI3T1.DLL");
  363. STRCONSTA(c_szSpellOffice9ProofPath, "Microsoft\\Proof\\");
  364. STRCONSTA(c_szRegSpellPath, "Engine");
  365. STRCONSTA(c_szRegSpellPathLex, "Dictionary");
  366. STRCONSTA(c_szRegSpellPathDict, "1");
  367. STRCONSTA(c_szRegDefCustomDict, "custom.dic");
  368. STRCONSTA(c_szRegDICHandlerKEY, ".DIC");
  369. STRCONSTA(c_szRegDICHandlerDefault, "txtfile");
  370. STRCONSTA(c_szInstallRoot, "InstallRoot");
  371. #ifdef SMIME_V3
  372. // Security Policy strings.
  373. STRCONSTA(c_szDefaultPolicyOid, "default");
  374. STRCONSTA(c_szSecLabelPoliciesRegKey, "Software\\Microsoft\\Cryptography\\OID\\EncodingType 1\\SMIMESecurityLabel");
  375. STRCONSTA(c_szSecurityPolicyDllPath, "DllPath");
  376. STRCONSTA(c_szSecurityPolicyFuncName, "FuncName");
  377. STRCONSTA(c_szSecLabelAdminRegKey, "Software\\Microsoft\\Cryptography\\OID\\EncodingType 0\\SMIMESecurityLabel");
  378. STRCONSTA(c_szHideMsgWithDifferentLabels,"HideMsgWithDifferentLabels");
  379. STRCONSTA(c_szCertErrorWithLabel, "CertErrorWithLabel");
  380. #endif // SMIME_V3
  381. // --------------------------------------------------------------------------------
  382. // Registry value strings
  383. // --------------------------------------------------------------------------------
  384. STRCONSTA(c_szCertCheckRevocation, "Check Cert Revocation");
  385. STRCONSTA(c_szCertIgnoredErr, "Ignored Cert Errors");
  386. #endif // __STRCONST_H