Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Exposes methods that set and retrieve information about a computer's default sharing settings for the Users (C:\Users) or Public (C:\Users\Public) folder. Also exposes a set of methods that allow control of printer sharing.
Inheritance
The ISharingConfigurationManager interface inherits from the IUnknown interface. ISharingConfigurationManager also has these types of members:
Methods
The ISharingConfigurationManager interface has these methods.
| ISharingConfigurationManager::ArePrintersShared Determines whether any printers connected to this computer are shared. |
| ISharingConfigurationManager::CreateShare Shares the Users or Public folder. If the folder is already shared, this method updates its sharing status. |
| ISharingConfigurationManager::DeleteShare Removes sharing from either the Users or Public folder. |
| ISharingConfigurationManager::GetSharePermissions Gets the access permissions currently associated with the User or Public folder for the Everyone access control entry (ACE). |
| ISharingConfigurationManager::ShareExists Queries whether the Users or Public folder is shared. |
| ISharingConfigurationManager::SharePrinters Shares all local printers connected to a computer, enabling them to be discovered by other computers on the network. |
| ISharingConfigurationManager::StopSharingPrinters Stops sharing all local, shared printers connected to a computer. |
Remarks
When to Implement
An implementation of this interface is included in the CSharingConfiguration class. Third parties do not provide their own implementation.Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | shobjidl_core.h (include Shobjidl.h) |