网站首页  词典首页

请输入您要查询的函数:

 

术语 shparsedisplayname
释义 SHParseDisplayName
语法:
HRESULT SHParseDisplayName( LPCWSTR pszName,
IBindCtx *pbc,
PIDLIST_ABSOLUTE *ppidl,
SFGAOF sfgaoIn,
SFGAOF *psfgaoOut
);
SHParseDisplayName功能
转换壳牌公司命名对象的显示名称为一个项目标识符列表,并返回对象的属性。此功能是首选的方法将字符串转换为一个指向项目标识符列表(的PIDL)。
参数
pszName
[in]指向一个零结尾的字符串,包含广泛的显示名称解析。
中国人民银行
[in]一个绑定情况下,控制分析操作。此参数通常设置为NULL。
ppidl
[指出]指针的地址类型的变量ITEMIDLIST,接收对象的项目标识符列表。如果出现错误,那么这个参数设置为NULL。
sfgaoIn
[in]一个乌龙值,指定的属性查询。要为一个或多个属性查询,初始化这个标志的参数,代表感兴趣的属性。有关可用SFGAO旗帜列表,请参阅IShellFolder::GetAttributesOf。
psfgaoOut
[内]如果一乌龙指针。回港后,这些属性,如此的目标和要求在sfgaoIn设置。一个对象的属性标志可以是零或SFGAO标志的组合。有关可用SFGAO旗帜列表,请参阅IShellFolder::GetAttributesOf。
返回值
返回S_OK如果成功,或其他错误值。
备注
您应该调用后台线程此功能。不这样做,可能会导致用户界面(UI)停止响应。
功能信息
最低DLL版本 shell32.dll 6.0或更高版本
自定义ImplementationNo
Headershlobj.h
import libraryshell32.lib
XP的最低经营systemsWindows
参见
IShellFolder::GetAttributesOf,IShellFolder::ParseDisplayName,ITEMIDLIST,IBindCtx,SHGetPathFromIDList
==英文原文==SHParseDisplayName Function
Translates a Shell namespace object's display name into an item identifier list and returns the attributes of the object. This function is the preferred method to convert a string to a pointer to an item identifier list (PIDL).
Syntax
HRESULT SHParseDisplayName( LPCWSTR pszName,
IBindCtx *pbc,
PIDLIST_ABSOLUTE *ppidl,
SFGAOF sfgaoIn,
SFGAOF *psfgaoOut
);
Parameters
pszName
[in] A pointer to a zero-terminated wide string that contains the display name to parse.
pbc
[in] A bind context that controls the parsing operation. This parameter is normally set to NULL.
ppidl
[out] The address of a pointer to a variable of type ITEMIDLIST that receives the item identifier list for the object. If an error occurs, then this parameter is set to NULL.
sfgaoIn
[in] A ULONG value that specifies the attributes to query. To query for one or more attributes, initialize this parameter with the flags that represent the attributes of interest. For a list of available SFGAO flags, see IShellFolder::GetAttributesOf .
psfgaoOut
[out] A pointer to a ULONG. On return, those attributes that are true for the object and were requested in sfgaoIn are set. An object's attribute flags can be zero or a combination of SFGAO flags. For a list of available SFGAO flags, see IShellFolder::GetAttributesOf.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
You should call this function from a background thread. Failure to do so could cause the user interface (UI) to stop responding.
Function Information
Minimum DLL Versionshell32.dll version 6.0 or later
Custom ImplementationNo
Headershlobj.h
Import libraryshell32.lib
Minimum operating systemsWindows XP
See Also
IShellFolder::GetAttributesOf , IShellFolder::ParseDisplayName , ITEMIDLIST , IBindCtx , SHGetPathFromIDList
==原始网址==http://msdn.microsoft.com/en-us/library/bb762236(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:24:28