网站首页  词典首页

请输入您要查询的函数:

 

术语 shgetnamefromidlist
释义 SHGetNameFromIDList
语法:
HRESULT SHGetNameFromIDList( PCIDLIST_ABSOLUTE pidl,
SIGDN sigdnName,
PWSTR *ppszName
);
SHGetNameFromIDList功能
检索发现其IDList项目的显示名称。
参数
的PIDL
[in]一个指向项目标识符列表(的PIDL)标识的项目。
sigdnName
[in]从SIGDN枚举指定的显示类型的名称来检索值。
ppszName
[out] A值,当这个函数返回成功,接收指针的地址检索到的显示名称。
返回值
返回S_OK如果成功,或其他错误值。
备注
这是调用者的责任,自由的字符串指出ppszName何时不再需要。呼叫CoTaskMemFree在* ppszName以释放内存。
功能信息
最低DLL版本 Shell32.dll
自定义ImplementationNo
Headershobjidl.h
import libraryNone
最低支持操作系统 Vista
==英文原文==SHGetNameFromIDList Function
Retrieves the display name of an item identified by its IDList.
Syntax
HRESULT SHGetNameFromIDList( PCIDLIST_ABSOLUTE pidl,
SIGDN sigdnName,
PWSTR *ppszName
);
Parameters
pidl
[in] A pointer to an item identifier list (PIDL) that identifies the item.
sigdnName
[in] A value from the SIGDN enumeration that specifies the type of display name to retrieve.
ppszName
[out] A value that, when this function returns successfully, receives the address of a pointer to the retrieved display name.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
It is the responsibility of the caller to free the string pointed to by ppszName when it is no longer needed. Call CoTaskMemFree on *ppszName to free the memory.
Function Information
Minimum DLL VersionShell32.dll
Custom ImplementationNo
Headershobjidl.h
Import libraryNone
Minimum operating systemsWindows Vista
==原始网址==http://msdn.microsoft.com/en-us/library/bb762191(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 13:24:03