网站首页  计算机词典

请输入您要查询的字词:

 

字词 shsetlocalizedname
释义 SHSetLocalizedName
语法:
HRESULT SHSetLocalizedName( LPCWSTR pszPath,
LPCWSTR pszResModule,
int idsRes
);
SHSetLocalizedName功能
设置在一个文件夹壳牌本地化的名称。
参数
pszPath
[in]指向一个字符串,指定目标文件的完全限定路径。
pszResModule
[in]指向一个字符串资源,指定文件名的本地化版本。
idsRes
[in]一个整数编号,指定的字符串资源本地化的文件名。
返回值
返回S_OK如果成功,或其他错误值。
备注
当此字符串设置,资源管理器显示该字符串而不是文件名。到文件的路径不变。
应用程序可以得到与SIGDN_NORMALDISPLAY国旗和分析显示(本地化)的IShellFolder名称::GetDisplayNameOf(非本地化)与IShellItem名称::GetDisplayName使用SIGDN_DESKTOPABSOLUTEPARSING标志。
调用SHRemoveLocalizedName使得显示名称相同的解析名称。
功能信息
最低DLL版本 shell32.dll版本5.6或更高版本
自定义ImplementationNo
Headershellapi.h
import libraryshell32.dll
XP的最低经营systemsWindows
==英文原文==SHSetLocalizedName Function
Sets the localized name of a file in a Shell folder.
Syntax
HRESULT SHSetLocalizedName( LPCWSTR pszPath,
LPCWSTR pszResModule,
int idsRes
);
Parameters
pszPath
[in] A pointer to a string that specifies the fully qualified path of the target file.
pszResModule
[in] A pointer to a string resource that specifies the localized version of the file name.
idsRes
[in] An integer ID that specifies the localized file name in the string resource.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
When this string is set, Explorer displays this string instead of the file name. The path to the file is unchanged.
Applications can get the display (localized) name with IShellFolder::GetDisplayNameOf with the SIGDN_NORMALDISPLAY flag and the parsing (non-localized) name with IShellItem::GetDisplayName using the SIGDN_DESKTOPABSOLUTEPARSING flag.
Calling SHRemoveLocalizedName makes the display name identical to the parsing name.
Function Information
Minimum DLL Versionshell32.dll version 5.6 or later
Custom ImplementationNo
Headershellapi.h
Import libraryshell32.dll
Minimum operating systemsWindows XP
==原始网址==http://msdn.microsoft.com/en-us/library/bb762250(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 22:48:01