网站首页  词典首页

请输入您要查询的函数:

 

术语 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
随便看

 

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:17:36