未分类--Windows API--CanShareFolderW

原文来自MSDN Library for Visual Studio 2008 SP1,翻译部分仅为个人观点,想要看更多信息请看MSDN,如有版权问题请联系QQ 643166601,邮件[email protected]

 

CanShareFolderW Function

--------------------------------------------------------------------------------

Used to determine whether to show the Share this folder option in Web view.
决定使用在Web视图中是否去显示共享这个文件夹选项。
Syntax

STDAPI CanShareFolderW(         
LPCWSTR pszPath
);
Parameters

pszPath
[in] A pointer to a string that specifies the path of the folder to test.
一个指针指向字符串指定文件夹的路径去测试。
Return Value

Return values include the following.
返回值包含以下。
S_OK
The path pointed to by pszPath specifies a folder that can be shared.
通过pszPath指定的文件夹的路径可以被共享。
S_FALSE
The path pointed to by pszPath specifies a folder that cannot be shared.
通过pszPath指定的文件夹的路径不可以被共享。
HRESULT error An error has occurred.
HRESULT错误一个错误发生了。

Remarks

Note  This function is available through Microsoft Windows XP Service Pack 2 (SP2) and Windows Server 2003.
注意 这个函数是在Microsoft Windows XP Service Pack 2 (SP2)和Windows Server 2003中可用。
It might be altered or unavailable in subsequent versions of Windows.
它可能被修改或不可用在随后版本的Windows中。
This function has no associated .lib file.
这个函数没有关联的lib文件。
You must use LoadLibrary and GetProcAddress to use it.
你必须使用LoadLibrary和GetProcAddress去使用它。
Function Information

Minimum DLL Version ntshrui.dll
Custom Implementation No
Import library None
Minimum operating systems Windows XP
Unicode Implemented as Unicode version.

See Also

LoadLibrary, GetProcAddress, ShowShareFolderUI

你可能感兴趣的:(windows,api)