[This function is available through Windows XP with Service Pack 2 (SP2) and Windows Server 2003. It might be altered or unavailable in subsequent versions of Windows.]
Used to determine whether to show the Share this folder option in web view.
STDAPI CanShareFolderW( _In_ LPCWSTR pszPath );
A pointer to a string that specifies the path of the folder to test.
Return values include the following.
||The path pointed to by pszPath specifies a folder that can be shared.
||The path pointed to by pszPath specifies a folder that cannot be shared.
||An error has occurred.
|Minimum supported client
||Windows XP [desktop apps only]
|Minimum supported server
||Windows Server 2003 [desktop apps only]
|Unicode and ANSI names