crypt32: Add "Disallowed" to CryptFindLocalizedName.

This commit is contained in:
Aurimas Fišeras 2009-07-05 13:52:35 +03:00 committed by Alexandre Julliard
parent 71f7da2d3e
commit 958899393d
3 changed files with 4 additions and 1 deletions

View File

@ -174,6 +174,7 @@ STRINGTABLE DISCARDABLE
IDS_LOCALIZEDNAME_CA "Intermediate Certification Authorities" IDS_LOCALIZEDNAME_CA "Intermediate Certification Authorities"
IDS_LOCALIZEDNAME_ADDRESSBOOK "Other People" IDS_LOCALIZEDNAME_ADDRESSBOOK "Other People"
IDS_LOCALIZEDNAME_TRUSTEDPUBLISHER "Trusted Publishers" IDS_LOCALIZEDNAME_TRUSTEDPUBLISHER "Trusted Publishers"
IDS_LOCALIZEDNAME_DISALLOWED "Disallowed"
} }
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE

View File

@ -167,6 +167,7 @@
#define IDS_LOCALIZEDNAME_CA 1143 #define IDS_LOCALIZEDNAME_CA 1143
#define IDS_LOCALIZEDNAME_ADDRESSBOOK 1144 #define IDS_LOCALIZEDNAME_ADDRESSBOOK 1144
#define IDS_LOCALIZEDNAME_TRUSTEDPUBLISHER 1145 #define IDS_LOCALIZEDNAME_TRUSTEDPUBLISHER 1145
#define IDS_LOCALIZEDNAME_DISALLOWED 1146
#define IDS_KEY_ID 1200 #define IDS_KEY_ID 1200
#define IDS_CERT_ISSUER 1201 #define IDS_CERT_ISSUER 1201

View File

@ -82,7 +82,8 @@ static const WCHAR MY[] = {'M','Y',0};
static const WCHAR CA[] = {'C','A',0}; static const WCHAR CA[] = {'C','A',0};
static const WCHAR ADDRESSBOOK[] = {'A','D','D','R','E','S','S','B','O','O','K',0}; static const WCHAR ADDRESSBOOK[] = {'A','D','D','R','E','S','S','B','O','O','K',0};
static const WCHAR TRUSTEDPUBLISHER[] = {'T','r','u','s','t','e','d','P','u','b','l','i','s','h','e','r',0}; static const WCHAR TRUSTEDPUBLISHER[] = {'T','r','u','s','t','e','d','P','u','b','l','i','s','h','e','r',0};
static const LPCWSTR LocalizedKeys[] = {ROOT,MY,CA,ADDRESSBOOK,TRUSTEDPUBLISHER}; static const WCHAR DISALLOWED[] = {'D','i','s','a','l','l','o','w','e','d',0};
static const LPCWSTR LocalizedKeys[] = {ROOT,MY,CA,ADDRESSBOOK,TRUSTEDPUBLISHER,DISALLOWED};
static WCHAR LocalizedNames[sizeof(LocalizedKeys)/sizeof(LocalizedKeys[0])][256]; static WCHAR LocalizedNames[sizeof(LocalizedKeys)/sizeof(LocalizedKeys[0])][256];
static void free_function_sets(void) static void free_function_sets(void)