Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the localized name of a file in a Shell folder.
SHSTDAPI SHGetLocalizedName(
[in] PCWSTR pszPath,
[out] PWSTR pszResModule,
UINT cch,
[out] int *pidsRes
);
[in] pszPath
Type: PCWSTR
A pointer to a string that specifies the fully qualified path of the file.
[out] pszResModule
Type: PWSTR
When this function returns, contains a pointer to a string resource that specifies the localized version of the file name.
cch
Type: UINT
When this function returns, contains the size of the string, in WCHARs, at pszResModule.
[out] pidsRes
Type: int*
When this function returns, contains a pointer to the ID of the localized file name in the resource file.
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | shellapi.h |
DLL | Shell32.dll |
Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!