Windows Mobile 6.5
A version of this page is also available for

This function finds the localized name for the specified name, such as the localized name of the "Root" system store. This function can be used before displaying any UI that includes a name that might have a localized form.

LPCWSTR WINAPI CryptFindLocalizedName(
  LPCWSTR pwszCryptName


[in] A pointer to a specified name. An internal table is searched to compare a predefined localized name to the specified name. The search matches the localized name by using a case insensitive string comparison.

Localized names for the predefined system stores ("Root", "My") and predefined physical stores (".Default", ".LocalMachine") are preinstalled as resource strings in Crypt32.dll.

If the specified name is found, a pointer to the localized name is returned. The returned pointer must not be freed.

If the specified name is not found, NULL is returned.

Windows Embedded CEWindows CE 2.10 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions