未分类--Windows API--CanShareFolderW

150 篇文章 0 订阅
31 篇文章 0 订阅

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

 

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值