网站首页  计算机词典

请输入您要查询的字词:

 

字词 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
随便看

 

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

 

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