ISharingConfigurationManager::ArePrintersShared method (shobjidl_core.h)
Determines whether any printers connected to this computer are shared.
Syntax
HRESULT ArePrintersShared();
Return value
Type: HRESULT
Returns standard HRESULT values, including the following:
Return code | Description |
---|---|
|
Shared printers were detected. |
|
No shared printers were found. |
|
No printers capable of being shared were found. |
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) |