网站首页  词典首页

请输入您要查询的函数:

 

术语 shremovelocalizedname
释义 SHRemoveLocalizedName
语法:
HRESULT SHRemoveLocalizedName( LPCWSTR pszPath
);
SHRemoveLocalizedName功能
消除了壳牌在一个文件夹中本地化的名称。
参数
pszPath
一个空指针,终止,Unicode字符串,指定目标文件的完全限定路径。
返回值
返回S_OK如果成功,或其他错误值。
备注
当一个显示名称字符串是由SHSetLocalizedName设置,Windows资源管理器使用的,而不是文件名显示字符串。到文件的路径不变。
应用程序可以使用IShellFolder::GetDisplayNameOf方法得到的SIGDN_NORMALDISPLAY国旗和分析显示(本地化)的名称,通过(非SIGDN_DESKTOPABSOLUTEPARSING本地化)的名称。
调用SHRemoveLocalizedName使得显示名称相同的解析名称。
功能信息
最低DLL版本 Shell32.dll
自定义ImplementationNo
Headershellapi.h
import libraryNone
最低支持操作系统 Vista
==英文原文==SHRemoveLocalizedName Function
Removes the localized name of a file in a Shell folder.
Syntax
HRESULT SHRemoveLocalizedName( LPCWSTR pszPath
);
Parameters
pszPath
A pointer to a null-terminated, Unicode string that specifies the fully qualified path of the target file.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
When a display name string is set by SHSetLocalizedName , Windows Explorer uses that string for display instead of the file name. The path to the file is unchanged.
Applications can use the IShellFolder::GetDisplayNameOf method to get the display (localized) name through with the SIGDN_NORMALDISPLAY flag and the parsing (non-localized) name with SIGDN_DESKTOPABSOLUTEPARSING.
Calling SHRemoveLocalizedName makes the display name identical to the parsing name.
Function Information
Minimum DLL VersionShell32.dll
Custom ImplementationNo
Headershellapi.h
Import libraryNone
Minimum operating systemsWindows Vista
==原始网址==http://msdn.microsoft.com/en-us/library/bb762243(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:30:12