UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:shobjidl_core.ISharingConfigurationManager.ShareExists |
ISharingConfigurationManager::ShareExists (shobjidl_core.h) |
Queries whether the Users or Public folder is shared. |
|
shell\ISharingConfigurationManager_ShareExists.htm |
shell |
d15d40a1-fdde-430a-bb8c-537ce58536dd |
12/05/2018 |
ISharingConfigurationManager interface [Windows Shell],ShareExists method, ISharingConfigurationManager.ShareExists, ISharingConfigurationManager::ShareExists, ShareExists, ShareExists method [Windows Shell], ShareExists method [Windows Shell],ISharingConfigurationManager interface, _shell_ISharingConfigurationManager_ShareExists, shell.ISharingConfigurationManager_ShareExists, shobjidl_core/ISharingConfigurationManager::ShareExists |
shobjidl_core.h |
Shobjidl.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
Shobjidl.idl |
Windows |
19H1 |
|
|
|
|
|
|
Queries whether the Users or Public folder is shared.
Type: DEF_SHARE_ID
One of the DEF_SHARE_ID values that indicates the folder whose sharing state is being checked.
Type: HRESULT
S_OK if the folder is shared; otherwise, S_FALSE.
Because as of Windows 7 Public is shared in-place through Users, callers should always check for the Users share first. If a share is found to exist on Users, then it follows that a share exists on Public as well.