CanShareFolderW function
[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.
Syntax
STDAPI CanShareFolderW( _In_ LPCWSTR pszPath );
Parameters
- pszPath [in]
-
Type: LPCWSTR
A pointer to a string that specifies the path of the folder to test.
Return value
Type: STDAPI
Return values include the following.
| Return code/value | Description |
|---|---|
|
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. |
Remarks
This function has no associated .lib file. You must use LoadLibrary and GetProcAddress to use it.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
DLL |
|
|
Unicode and ANSI names |
CanShareFolderW (Unicode) |
See also