IWSDiscoveredService::GetScopes (Compact 2013)
3/26/2014
This method retrieves a list of WS-Discovery Scopes.
Syntax
HRESULT GetScopes(
WSD_URI_LIST** ppScopesList
);
Parameters
- ppScopesList
[out] 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
The following table shows the possible error code return values.
Error code |
Description |
---|---|
S_OK |
This method completed successfully. |
E_POINTER |
ppScopesList is NULL. |
Remarks
The resulting pointer value is only valid for the lifetime of the IWSDiscoveredService object.
Requirements
Header |
wsdapi.h |
Library |
wsdapi.lib |