网站首页  词典首页

请输入您要查询的函数:

 

术语 shgetspecialfolderpath
释义 SHGetSpecialFolderPath
语法:
BOOL SHGetSpecialFolderPath( HWND hwndOwner,
LPTSTR lpszPath,
int csidl,
BOOL fCreate
);
SHGetSpecialFolderPath函数
检索路径一个特殊的文件夹,它的的CSIDL确定。
参数
hwndOwner
保留。
lpszPath
[out] 一个空指针结尾的字符串,接收驱动器和指定文件夹的路径。这个缓冲区必须至少MAX_PATH字符的大小。
的CSIDL
[in]一个CSIDL标识感兴趣的文件夹。如果一个指定的虚拟文件夹,这个函数将失败。
fCreate
[in]指示是否应建立文件夹,如果它不存在。如果此值为非零值,创建文件夹。如果此值为零,该文件夹不创建。
返回值
TRUE,如果成功,否则为false。
备注
在Microsoft Internet Explorer 4.0桌面更新必须安装此功能可用。
与Microsoft Windows 2000,这个功能被取代的SHGetFolderPath。您可以使用以前的系统,包括可再发行的DLL,Shfolder.dll中的这一功能。
功能信息
最低DLL版本 shell32.dll版本4.71或更高版本
自定义ImplementationNo
Headershlobj.h
import libraryshell32.lib
2000年最低经营systemsWindows时,Windows NT 4.0与Internet Explorer 4.0,视窗98,视窗与Internet Explorer 4.0 95
UnicodeImplemented为ANSI和Unicode版本。
==英文原文==SHGetSpecialFolderPath Function
Retrieves the path of a special folder, identified by its CSIDL .
Syntax
BOOL SHGetSpecialFolderPath( HWND hwndOwner,
LPTSTR lpszPath,
int csidl,
BOOL fCreate
);
Parameters
hwndOwner
Reserved.
lpszPath
[out] A pointer to a null-terminated string that receives the drive and path of the specified folder. This buffer must be at least MAX_PATH characters in size.
csidl
[in] A CSIDL that identifies the folder of interest. If a virtual folder is specified, this function will fail.
fCreate
[in] Indicates whether the folder should be created if it does not already exist. If this value is nonzero, the folder is created. If this value is zero, the folder is not created.
Return Value
TRUE if successful; otherwise, FALSE.
Remarks
The Microsoft Internet Explorer 4.0 Desktop Update must be installed for this function to be available.
With Microsoft Windows 2000, this function is superseded by ShGetFolderPath . You can use this function on earlier systems by including the redistributable DLL, ShFolder.dll.
Function Information
Minimum DLL Versionshell32.dll version 4.71 or later
Custom ImplementationNo
Headershlobj.h
Import libraryshell32.lib
Minimum operating systemsWindows 2000, Windows NT 4.0 with Internet Explorer 4.0, Windows 98, Windows 95 with Internet Explorer 4.0
UnicodeImplemented as ANSI and Unicode versions.
==原始网址==http://msdn.microsoft.com/en-us/library/bb762204(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:25:44