网站首页  计算机词典

请输入您要查询的字词:

 

字词 shgetspecialfolderlocation
释义 SHGetSpecialFolderLocation
语法:
HRESULT SHGetSpecialFolderLocation( HWND hwndOwner,
int nFolder,
PIDLIST_ABSOLUTE *ppidl
);
SHGetSpecialFolderLocation函数
检索到一个特殊的文件夹ITEMIDLIST结构的指针。
参数
hwndOwner
[in]保留。
nFolder
[in]阿CSIDL值标识文件夹的利益。
ppidl
[内]对一个项目标识符列表(的PIDL)指定文件夹的位置相对于命名空间(桌面)的根指针。这是调用应用程序的责任,免费使用CoTaskMemFree返回IDList。
返回值
返回S_OK如果成功,或其他错误值。
备注
与Microsoft Windows 2000,这个功能被取代SHGetFolderLocation。
功能信息
最低DLL版本 shell32.dll 4.0或更高版本
自定义ImplementationNo
Headershlobj.h
import libraryshell32.lib
最低经营systemsWindows NT 4.0中,Windows 95中
参见
SHGetSpecialFolderPath
==英文原文==SHGetSpecialFolderLocation Function
Retrieves a pointer to the ITEMIDLIST structure of a special folder.
Syntax
HRESULT SHGetSpecialFolderLocation( HWND hwndOwner,
int nFolder,
PIDLIST_ABSOLUTE *ppidl
);
Parameters
hwndOwner
[in] Reserved.
nFolder
[in] A CSIDL value that identifies the folder of interest.
ppidl
[out] A pointer to an item identifier list (PIDL) specifying the folder's location relative to the root of the namespace (the desktop). It is the responsibility of the calling application to free the returned IDList by using CoTaskMemFree .
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
With Microsoft Windows 2000, this function is superseded by SHGetFolderLocation .
Function Information
Minimum DLL Versionshell32.dll version 4.0 or later
Custom ImplementationNo
Headershlobj.h
Import libraryshell32.lib
Minimum operating systemsWindows NT 4.0, Windows 95
See Also
SHGetSpecialFolderPath
==原始网址==http://msdn.microsoft.com/en-us/library/bb762203(VS.85).aspx\n
随便看

 

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

 

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