网站首页  词典首页

请输入您要查询的函数:

 

术语 shcreateshellfolderviewex
释义 SHCreateShellFolderViewEx
语法:
HRESULT SHCreateShellFolderViewEx( LPCSFV pcsfv,
IShellView **ppsv
);
SHCreateShellFolderViewEx功能
创建一个默认的shell文件夹视图对象的新实例。我们建议您使用SHCreateShellFolderView而不是这样的功能。
参数
pcsfv
[in]指向1猪瘟病毒结构,描述了创造这种壳牌文件夹视图对象实例使用的详情。
ppsv
[内]当此函数返回成功,包含一个接口指针到新的IShellView对象。失败,此值为NULL。
返回值
返回S_OK如果成功,或其他错误值。
备注
SHCreateShellFolderView建议,因为它的元素更大的灵活性,对SHCreateShellFolderViewEx参加各种方案,提供新功能的看法,并与其他物体相互作用。
当与IShellView几个实例时,您可能要验证这是默认的shell文件夹的视图对象。为此,调用QueryInterface的使用IID_CDefView IID的对象。仅此调用成功时,默认的shell文件夹的视图对象的。
功能信息
最低DLL版本 shell32.dll 5.0或更新版本
自定义ImplementationNo
Headershlobj.h
import libraryshell32.lib
2000年最低经营systemsWindows
参见
SHCreateShellFolderView
==英文原文==SHCreateShellFolderViewEx Function
Creates a new instance of the default Shell folder view object. It is recommended that you use SHCreateShellFolderView rather than this function.
Syntax
HRESULT SHCreateShellFolderViewEx( LPCSFV pcsfv,
IShellView **ppsv
);
Parameters
pcsfv
[in] Pointer to a CSFV structure that describes the particulars used in creating this instance of the Shell folder view object.
ppsv
[out] When this function returns successfully, contains an interface pointer to the new IShellView object. On failure, this value is NULL.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
SHCreateShellFolderView is recommended over SHCreateShellFolderViewEx because of the greater flexibility of its elements to participate in various scenarios, provide new functionality to the view, and interact with other objects.
When dealing with several instances of IShellView, you might want to verify which is the default Shell folder view object. To do so, call QueryInterface on the object using the IID_CDefView IID. This call succeeds only when made on the default Shell folder view object.
Function Information
Minimum DLL Versionshell32.dll version 5.0 or later
Custom ImplementationNo
Headershlobj.h
Import libraryshell32.lib
Minimum operating systemsWindows 2000
See Also
SHCreateShellFolderView
==原始网址==http://msdn.microsoft.com/en-us/library/bb762142(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 11:27:31