术语 | shcreateshellfolderview |
释义 | SHCreateShellFolderView 语法: HRESULT SHCreateShellFolderView( const SFV_CREATE *pcsfv, IShellView **ppsv ); SHCreateShellFolderView功能 创建一个默认的shell文件夹视图对象的新实例。 参数 pcsfv [in]指向1 SFV_CREATE结构,描述了创造这种壳牌文件夹视图对象实例使用的详情。 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 参见 SFV_CREATE,SHCreateShellFolderViewEx ==英文原文==SHCreateShellFolderView Function Creates a new instance of the default Shell folder view object. Syntax HRESULT SHCreateShellFolderView( const SFV_CREATE *pcsfv, IShellView **ppsv ); Parameters pcsfv [in] Pointer to a SFV_CREATE 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 SFV_CREATE , SHCreateShellFolderViewEx ==原始网址==http://msdn.microsoft.com/en-us/library/bb762141(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。