Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.75 KB

nf-shobjidl_core-isharingconfigurationmanager-shareexists.md

File metadata and controls

71 lines (58 loc) · 2.75 KB
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.
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
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
ISharingConfigurationManager::ShareExists
shobjidl_core/ISharingConfigurationManager::ShareExists
c++
APIRef
kbSyntax
COM
shobjidl_core.h
ISharingConfigurationManager.ShareExists

ISharingConfigurationManager::ShareExists

-description

Queries whether the Users or Public folder is shared.

-parameters

-param dsid [in]

Type: DEF_SHARE_ID

One of the DEF_SHARE_ID values that indicates the folder whose sharing state is being checked.

-returns

Type: HRESULT

S_OK if the folder is shared; otherwise, S_FALSE.

-remarks

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.