IWSDiscoveredService::GetScopes method (wsddisco.h)
Retrieves a list of WS-Discovery Scopes.
Syntax
HRESULT GetScopes(
[out] WSD_URI_LIST **ppScopesList
);
Parameters
[out] ppScopesList
List of WS-Discovery Scopes provided in the Hello, ProbeMatch, or ResolveMatch message sent by the remote device. For details, see WSD_URI_LIST. Do not deallocate the output structure.
Return value
This method can return one of these values.
Possible return values include, but are not limited to, the following.
Return code | Description |
---|---|
|
Method completed successfully. |
|
ppScopesList is NULL. |
Remarks
The resulting pointer value is only valid for the lifetime of the IWSDiscoveredService object.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wsddisco.h (include Wsdapi.h) |
DLL | Wsdapi.dll |