ISharingConfigurationManager::ArePrintersShared method
Determines whether any printers connected to this computer are shared.
Syntax
HRESULT ArePrintersShared();
Parameters
This method has no parameters.
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
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
Show: